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 int
DEFAULT_LIMIT
Default limitstatic java.lang.String
LIMIT
Result limitstatic java.lang.String
QUERY
Query clausestatic java.lang.String
START
Start 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
-
-