Class FileUsageListResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.StagingResponse<String>
com.gentics.contentnode.rest.model.response.LegacyFileListResponse
com.gentics.contentnode.rest.model.response.FileUsageListResponse
- All Implemented Interfaces:
Serializable
Response for a file/image usage request.
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructorFileUsageListResponse
(Message message, ResponseInfo responseInfo, List<File> files, int total, int withoutPermission) Create a new instance -
Method Summary
Modifier and TypeMethodDescriptionint
getTotal()
Get the total number of filesint
Get the number of files without permissionvoid
setTotal
(int total) Set the total number of filesvoid
setWithoutPermission
(int withoutPermission) Set the number of files without permissionMethods inherited from class com.gentics.contentnode.rest.model.response.LegacyFileListResponse
getFiles, getNumItems, isHasMoreItems, setFiles, 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
-
FileUsageListResponse
public FileUsageListResponse()Empty constructor -
FileUsageListResponse
public FileUsageListResponse(Message message, ResponseInfo responseInfo, List<File> files, int total, int withoutPermission) Create a new instance- Parameters:
message
- messageresponseInfo
- response infofiles
- filestotal
- total number of fileswithoutPermission
- number of files without permission
-
-
Method Details
-
getWithoutPermission
public int getWithoutPermission()Get the number of files without permission- Returns:
- number of files without permission
-
getTotal
public int getTotal()Get the total number of files- Returns:
- total number of files
-
setWithoutPermission
public void setWithoutPermission(int withoutPermission) Set the number of files without permission- Parameters:
withoutPermission
- number of files without permission
-
setTotal
public void setTotal(int total) Set the total number of files- Parameters:
total
- total number of files
-