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
public class MultiImageLoadResponse extends StagingResponse<String>
Response containing information about multiple images.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiImageLoadResponse()
Constructor used by JAXB.MultiImageLoadResponse(Message message, ResponseInfo responseInfo)
Response with an empty image list.MultiImageLoadResponse(List<Image> images)
Convenience constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Image>
getImages()
The list of found images.void
setImages(List<Image> images)
Set the list of images 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 Detail
-
MultiImageLoadResponse
public MultiImageLoadResponse()
Constructor used by JAXB.
-
MultiImageLoadResponse
public MultiImageLoadResponse(List<Image> images)
Convenience constructor. Automatically adds a response info with a response code ofOK
.- Parameters:
images
- The images the send with the response.
-
MultiImageLoadResponse
public MultiImageLoadResponse(Message message, ResponseInfo responseInfo)
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.
-
-