Package com.day.cq.commons.servlets
Class AbstractReplicableListServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- org.apache.sling.api.servlets.SlingAllMethodsServlet
-
- com.day.cq.commons.servlets.AbstractPredicateServlet
-
- com.day.cq.commons.servlets.AbstractListServlet
-
- com.day.cq.commons.servlets.AbstractReplicableListServlet
-
- All Implemented Interfaces:
java.io.Serializable
,Servlet
,ServletConfig
public class AbstractReplicableListServlet extends AbstractListServlet
TheAbstractReplicableListServlet
provides base functionality such as sorting and paging for servlets that feed Ext grids (like in the SiteAdmin) with JSON. In contrast toAbstractListServlet
sorting byReplicationStatus
is supported. Normally, the list of children of the addressed resource are returned. Alternatively, the paging index of an item can be requested.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AbstractReplicableListServlet.ListItem
class
AbstractReplicableListServlet.ListItemComparator
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SORT_REPLICATION
Value of the sort paramter to indicate to sort the results by replication date.-
Fields inherited from class com.day.cq.commons.servlets.AbstractListServlet
PAGE_INDEX, PAGE_LIMIT, PAGE_START, PATH, PROP, SORT_ASCENDING, SORT_DESCENDING, SORT_DIR, SORT_KEY, TIDY
-
Fields inherited from class com.day.cq.commons.servlets.AbstractPredicateServlet
FILTER_PARAM, PATH_PARAM, PREDICATE_PARAM
-
-
Constructor Summary
Constructors Constructor Description AbstractReplicableListServlet()
-
Method Summary
-
Methods inherited from class com.day.cq.commons.servlets.AbstractPredicateServlet
getPredicate
-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
getServletInfo, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
-
-
-
-
Field Detail
-
SORT_REPLICATION
public static final java.lang.String SORT_REPLICATION
Value of the sort paramter to indicate to sort the results by replication date.- See Also:
- Constant Field Values
-
-