Class ReferencedPagesListResponse
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
com.gentics.contentnode.rest.model.response.ReferencedPagesListResponse
- All Implemented Interfaces:
Serializable
Response for a list of referenced pages
- See Also:
-
Constructor Summary
ConstructorDescriptionReferencedPagesListResponse
(Message message, ResponseInfo responseInfo, List<Page> pages, int total, int withoutPermission) Create an instance -
Method Summary
Modifier and TypeMethodDescriptionint
getTotal()
Total number of pagesint
Number of pages without permissionvoid
setTotal
(int total) Set the total number of pagesvoid
setWithoutPermission
(int withoutPermission) Set the number of pages without permissionMethods inherited from class com.gentics.contentnode.rest.model.response.LegacyPageListResponse
getNumItems, getPages, isHasMoreItems, setHasMoreItems, setNumItems, setPages
Methods 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
-
ReferencedPagesListResponse
public ReferencedPagesListResponse(Message message, ResponseInfo responseInfo, List<Page> pages, int total, int withoutPermission) Create an instance- Parameters:
message
-responseInfo
-pages
-total
-withoutPermission
-
-
-
Method Details
-
getWithoutPermission
public int getWithoutPermission()Number of pages without permission- Returns:
- number of pages without permission
-
getTotal
public int getTotal()Total number of pages- Returns:
- total number of pages
-
setWithoutPermission
public void setWithoutPermission(int withoutPermission) Set the number of pages without permission- Parameters:
withoutPermission
- number of pages without permission
-
setTotal
public void setTotal(int total) Set the total number of pages- Parameters:
total
- total number of pages
-