org.loom.paged
Class PagedListCriteriaFactory
java.lang.Object
   org.loom.paged.PagedListCriteriaFactory
org.loom.paged.PagedListCriteriaFactory
- public class PagedListCriteriaFactory 
- extends java.lang.Object
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PagedListCriteriaFactory
public PagedListCriteriaFactory()
create
public static PagedListCriteria create(LoomServletRequest request)
- Create a criteria instance for the current request
 
- 
- Parameters:
- request- the current request object
 
create
public static PagedListCriteria create(java.lang.String id,
                                       java.lang.Integer pagedIndex,
                                       java.lang.String pagedSortProperty,
                                       java.lang.String pagedSortOrder)
- Create a criteria instance
 
- 
- Parameters:
- id- the id of the paged container. This value will be used to disambiguate if more than one container is used on the same page
- pagedIndex- the index of the current page, starts with 0
- pagedSortProperty- sort property name
- pagedSortOrder- sort direction
 
create
public static PagedListCriteria create(LoomServletRequest request,
                                       java.lang.String id)
- Create a criteria instance for the current request, with disambiguation
 
- 
- Parameters:
- request- the current request object
- id- the paged container id. Null if there is only one paged container in this page.