Class LegacyFolderListResponse
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FolderUsageListResponse
- Author:
- norbert
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructorLegacyFolderListResponse
(Message message, ResponseInfo responseInfo) -
Method Summary
Modifier and TypeMethodDescriptionList of folderIds (or [nodeId/folderId]s), which were requested to be opened (when getting folder structures), but do not exist in the backend (at least not visible for the user)Get the list of foldersGet total number of items presentTrue if more items are available (paging)void
setDeleted
(List<String> deleted) Set the list of folder ids, that do not exist in the backendvoid
setFolders
(List<Folder> folders) Set the list of foldersvoid
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
-
LegacyFolderListResponse
public LegacyFolderListResponse()Empty constructor -
LegacyFolderListResponse
-
-
Method Details
-
getFolders
Get the list of folders- Returns:
- list of folders
-
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
-
setFolders
Set the list of folders- Parameters:
folders
- list of folders
-
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
-
getDeleted
List of folderIds (or [nodeId/folderId]s), which were requested to be opened (when getting folder structures), but do not exist in the backend (at least not visible for the user)- Returns:
- list of folder ids
-
setDeleted
Set the list of folder ids, that do not exist in the backend- Parameters:
deleted
- list of folder ids
-