[Cosmo-dev] Re: [commits-sandbox] [sandbox] (travis) [1119] PageCriteria now uses the enum UserSortType for its sort type variable.

Brian Moseley bcm at osafoundation.org
Wed Oct 11 05:45:36 PDT 2006


On 10/11/06, Brian Moseley <bcm at osafoundation.org> wrote:

> the problem with this approach is that it introduces a dependency on
> the model package, which is not appropriate for a utility class.
>
> you should instead provide a subclass of PageCriteria in the dao
> package that uses this enum (moved into the same package, or even into
> the PageCriteria subclass itself), or come up with some other
> strategy.

using the enum is pretty cool tho - that's one of the 1.5 features i
hadn't looked at yet.


More information about the cosmo-dev mailing list