Class FolderUsageListResponse
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.GenericResponse
-
- com.gentics.contentnode.rest.model.response.StagingResponse<String>
-
- com.gentics.contentnode.rest.model.response.LegacyFolderListResponse
-
- com.gentics.contentnode.rest.model.response.FolderUsageListResponse
-
- All Implemented Interfaces:
Serializable
public class FolderUsageListResponse extends LegacyFolderListResponse
Response for a folder usage request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FolderUsageListResponse()
Empty constructorFolderUsageListResponse(Message message, ResponseInfo responseInfo, List<Folder> folders, int total, int withoutPermission)
Create a new instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTotal()
Get the total number of foldersint
getWithoutPermission()
Get the number of folders without permissionvoid
setTotal(int total)
Set the total number of foldersvoid
setWithoutPermission(int withoutPermission)
Set the number of folders without permission-
Methods inherited from class com.gentics.contentnode.rest.model.response.LegacyFolderListResponse
getDeleted, getFolders, getNumItems, isHasMoreItems, setDeleted, setFolders, setHasMoreItems, setNumItems
-
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 Detail
-
FolderUsageListResponse
public FolderUsageListResponse()
Empty constructor
-
FolderUsageListResponse
public FolderUsageListResponse(Message message, ResponseInfo responseInfo, List<Folder> folders, int total, int withoutPermission)
Create a new instance- Parameters:
message
- messageresponseInfo
- response infofolders
- folderstotal
- total number of folderswithoutPermission
- 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
-
-