Class MultiFolderLoadResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.StagingResponse<String>
com.gentics.contentnode.rest.model.response.MultiFolderLoadResponse
- All Implemented Interfaces:
Serializable
Response containing information about multiple folders.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor used by JAXB.MultiFolderLoadResponse
(Message message, ResponseInfo responseInfo) Response with an empty folder list.MultiFolderLoadResponse
(List<Folder> folders) Convenience constructor. -
Method Summary
Modifier and TypeMethodDescriptionThe list of found folders.void
setFolders
(List<Folder> folders) Set the list of folders to send with the response.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
-
MultiFolderLoadResponse
public MultiFolderLoadResponse()Constructor used by JAXB. -
MultiFolderLoadResponse
Convenience constructor. Automatically adds a response info with a response code ofOK
.- Parameters:
folders
- The folders the send with the response.
-
MultiFolderLoadResponse
Response with an empty folder list.- Parameters:
message
- The message that should be displayed to the user.response
- ResponseInfo with the status of the response.
-
-
Method Details
-
getFolders
The list of found folders.- Returns:
- The list of found folders.
-
setFolders
Set the list of folders to send with the response.- Parameters:
pages
- The list of folders to send with the response.
-