Class LegacyPageListResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.StagingResponse<String>
com.gentics.contentnode.rest.model.response.LegacyPageListResponse
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PageUsageListResponse
,ReferencedPagesListResponse
Response for a page list request
- Author:
- Clemens
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructor needed by JAXBLegacyPageListResponse
(Message message, ResponseInfo responseInfo) -
Method Summary
Modifier and TypeMethodDescriptionGet total number of items presentgetPages()
True if more items are available (paging)void
setHasMoreItems
(Boolean hasMoreItems) Set true when more items are availablevoid
setNumItems
(Integer numItems) Set the total number of items presentvoid
NOTE: pages won't be listed correctly until a setter is definedMethods inherited from class com.gentics.contentnode.rest.model.response.StagingResponse
getStagingStatus, setStagingStatus
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
LegacyPageListResponse
public LegacyPageListResponse()Empty constructor needed by JAXB -
LegacyPageListResponse
-
-
Method Details
-
getPages
-
isHasMoreItems
True if more items are available (paging)- Returns:
- true if more items are present
-
getNumItems
Get total number of items present- Returns:
- total number of items present
-
setPages
NOTE: pages won't be listed correctly until a setter is defined- Parameters:
pages
-
-
setHasMoreItems
Set true when more items are available- Parameters:
hasMoreItems
- true if more items are available
-
setNumItems
Set the total number of items present- Parameters:
numItems
- total number of items present
-