Package com.day.cq.wcm.foundation
Class ParagraphList
- java.lang.Object
 - 
- javax.servlet.GenericServlet
 - 
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
 - 
- com.day.cq.wcm.foundation.ParagraphList
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable,Servlet,ServletConfig
@Service(Servlet.class) @Property(name="sling.servlet.extensions",value={"html","json"}) @Property(name="sling.servlet.resourceTypes",value="cq:Page") @Property(name="sling.servlet.selectors",value="listParagraphs") @Property(name="sling.servlet.methods",value="GET") public class ParagraphList extends SlingSafeMethodsServlet
Exports a list of paragraphs.- See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_LIMITDefault limitstatic java.lang.StringLIMITResult limitstatic java.lang.StringQUERYQuery clausestatic java.lang.StringSTARTStart index 
- 
Constructor Summary
Constructors Constructor Description ParagraphList() 
- 
Method Summary
- 
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
- 
QUERY
public static final java.lang.String QUERY
Query clause- See Also:
 - Constant Field Values
 
 
- 
LIMIT
public static final java.lang.String LIMIT
Result limit- See Also:
 - Constant Field Values
 
 
- 
START
public static final java.lang.String START
Start index- See Also:
 - Constant Field Values
 
 
- 
DEFAULT_LIMIT
public static final int DEFAULT_LIMIT
Default limit- See Also:
 - Constant Field Values
 
 
 - 
 
 -