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
Response for a folder usage request.
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructorFolderUsageListResponse
(Message message, ResponseInfo responseInfo, List<Folder> folders, int total, int withoutPermission) Create a new instance -
Method Summary
Modifier and TypeMethodDescriptionint
getTotal()
Get the total number of foldersint
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 permissionMethods 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 Details
-
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 Details
-
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
-