Class LegacyFileListResponse
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FileUsageListResponse
,ReferencedFilesListResponse
Response for a page list request
- Author:
- Clemens
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructor needed by JAXBLegacyFileListResponse
(Message message, ResponseInfo responseInfo) Create an instance with given message and response info -
Method Summary
Modifier and TypeMethodDescriptiongetFiles()
Get the filesGet total number of items presentTrue if more items are available (paging)void
Set the filesvoid
setHasMoreItems
(Boolean hasMoreItems) Set true when more items are availablevoid
setNumItems
(Integer numItems) Set the total number of items presentMethods 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
-
LegacyFileListResponse
public LegacyFileListResponse()Empty constructor needed by JAXB -
LegacyFileListResponse
Create an instance with given message and response info- Parameters:
message
- messageresponseInfo
- response info
-
-
Method Details
-
getFiles
Get the files- Returns:
- files
-
isHasMoreItems
True if more items are available (paging)- Returns:
- true if more items are present
-
getNumItems
Get total number of items present- Returns:
- total number of items present
-
setFiles
Set the files- Parameters:
files
-
-
setHasMoreItems
Set true when more items are available- Parameters:
hasMoreItems
- true if more items are available
-
setNumItems
Set the total number of items present- Parameters:
numItems
- total number of items present
-