Class PageUsageListResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.AbstractStagingResponse<String>
com.gentics.contentnode.rest.model.response.LegacyPageListResponse
com.gentics.contentnode.rest.model.response.PageUsageListResponse
- All Implemented Interfaces:
StagingResponse<String>,Serializable
Response for a page usage request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorPageUsageListResponse(Message message, ResponseInfo responseInfo, List<Page> pages, int total, int withoutPermission) Create a new instance -
Method Summary
Modifier and TypeMethodDescriptionintgetTotal()Get the total number of pagesintGet the number of pages without permissionvoidsetTotal(int total) Set the total number of pagesvoidsetWithoutPermission(int withoutPermission) Set the number of pages without permissionMethods inherited from class com.gentics.contentnode.rest.model.response.LegacyPageListResponse
getNumItems, getPages, isHasMoreItems, setHasMoreItems, setNumItems, setPagesMethods inherited from class com.gentics.contentnode.rest.model.response.AbstractStagingResponse
getStagingStatus, setStagingStatusMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
PageUsageListResponse
public PageUsageListResponse()Empty constructor -
PageUsageListResponse
public PageUsageListResponse(Message message, ResponseInfo responseInfo, List<Page> pages, int total, int withoutPermission) Create a new instance- Parameters:
message- messageresponseInfo- response infopages- pagestotal- total number of pageswithoutPermission- number of pages without permission
-
-
Method Details
-
getWithoutPermission
public int getWithoutPermission()Get the number of pages without permission- Returns:
- number of pages without permission
-
getTotal
public int getTotal()Get the 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
-