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