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