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

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.GenericResponse
      extended by com.gentics.contentnode.rest.model.response.FolderListResponse
          extended by com.gentics.contentnode.rest.model.response.FolderUsageListResponse

public class FolderUsageListResponse
extends FolderListResponse

Response for a folder usage request.


Constructor Summary
FolderUsageListResponse()
          Empty constructor
FolderUsageListResponse(Message message, ResponseInfo responseInfo, java.util.List<Folder> folders, int total, int withoutPermission)
          Create a new instance
 
Method Summary
 int getTotal()
          Get the total number of folders
 int getWithoutPermission()
          Get the number of folders without permission
 void setTotal(int total)
          Set the total number of folders
 void setWithoutPermission(int withoutPermission)
          Set the number of folders without permission
 
Methods inherited from class com.gentics.contentnode.rest.model.response.FolderListResponse
getDeleted, getFolders, getNumItems, isHasMoreItems, setDeleted, setFolders, setHasMoreItems, setNumItems
 
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

FolderUsageListResponse

public FolderUsageListResponse()
Empty constructor


FolderUsageListResponse

public FolderUsageListResponse(Message message,
                               ResponseInfo responseInfo,
                               java.util.List<Folder> folders,
                               int total,
                               int withoutPermission)
Create a new instance

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

getWithoutPermission

public int getWithoutPermission()
Get the number of folders without permission

Returns:
number of folders without permission

getTotal

public int getTotal()
Get the total number of folders

Returns:
total number of folders

setWithoutPermission

public void setWithoutPermission(int withoutPermission)
Set the number of folders without permission

Parameters:
withoutPermission - number of folders without permission

setTotal

public void setTotal(int total)
Set the total number of folders

Parameters:
total - total number of folders


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.