com.gentics.contentnode.rest.model.response
Class PageUsageListResponse

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.GenericResponse
      extended by com.gentics.contentnode.rest.model.response.PageListResponse
          extended by com.gentics.contentnode.rest.model.response.PageUsageListResponse

public class PageUsageListResponse
extends PageListResponse

Response for a page usage request.


Constructor Summary
PageUsageListResponse()
          Empty constructor
PageUsageListResponse(Message message, ResponseInfo responseInfo, java.util.List<Page> pages, int total, int withoutPermission)
          Create a new instance
 
Method Summary
 int getTotal()
          Get the total number of pages
 int getWithoutPermission()
          Get the number of pages without permission
 void setTotal(int total)
          Set the total number of pages
 void setWithoutPermission(int withoutPermission)
          Set the number of pages without permission
 
Methods inherited from class com.gentics.contentnode.rest.model.response.PageListResponse
getNumItems, getPages, isHasMoreItems, setHasMoreItems, setNumItems, setPages
 
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageUsageListResponse

public PageUsageListResponse()
Empty constructor


PageUsageListResponse

public PageUsageListResponse(Message message,
                             ResponseInfo responseInfo,
                             java.util.List<Page> pages,
                             int total,
                             int withoutPermission)
Create a new instance

Parameters:
message - message
responseInfo - response info
pages - pages
total - total number of pages
withoutPermission - number of pages without permission
Method Detail

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


Copyright © 2015 Gentics Software GmbH. All Rights Reserved.