Class MultiPageLoadResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.MultiPageLoadResponse
- All Implemented Interfaces:
Serializable
Response containing information about multiple pages.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor used by JAXB.MultiPageLoadResponse
(Message message, ResponseInfo responseInfo) Response with an empty page list.MultiPageLoadResponse
(List<Page> pages) Convenience constructor. -
Method Summary
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
MultiPageLoadResponse
public MultiPageLoadResponse()Constructor used by JAXB. -
MultiPageLoadResponse
Convenience constructor. Automatically adds a response info with a response code ofOK
.- Parameters:
pages
- The pages the send with the response.
-
MultiPageLoadResponse
Response with an empty page list.- Parameters:
message
- The message that should be displayed to the user.response
- ResponseInfo with the status of the response.
-
-
Method Details
-
getPages
The list of found pages.- Returns:
- The list of found pages.
-
setPages
Set the list of pages to send with the response.- Parameters:
pages
- The list of pages to send with the response.
-