Class ReferencedFilesListResponse
- 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.ReferencedFilesListResponse
-
- All Implemented Interfaces:
Serializable
public class ReferencedFilesListResponse extends LegacyFileListResponse
Response for a list of referenced files or images- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReferencedFilesListResponse(Message message, ResponseInfo responseInfo, List<File> files, int total, int withoutPermission)
Create an instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTotal()
Total number of filesint
getWithoutPermission()
Number of files without permissionvoid
setTotal(int total)
Set the total number of filesvoid
setWithoutPermission(int withoutPermission)
Set the number of files without permission-
Methods 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 Detail
-
ReferencedFilesListResponse
public ReferencedFilesListResponse(Message message, ResponseInfo responseInfo, List<File> files, int total, int withoutPermission)
Create an instance- Parameters:
message
-responseInfo
-files
-total
-withoutPermission
-
-
-
Method Detail
-
getWithoutPermission
public int getWithoutPermission()
Number of files without permission- Returns:
- number of files without permission
-
getTotal
public int getTotal()
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
-
-