Class MultiPageLoadResponse
- java.lang.Object
-
- com.gentics.contentnode.rest.model.response.GenericResponse
-
- com.gentics.contentnode.rest.model.response.MultiPageLoadResponse
-
- All Implemented Interfaces:
Serializable
public class MultiPageLoadResponse extends GenericResponse
Response containing information about multiple pages.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MultiPageLoadResponse()
Constructor used by JAXB.MultiPageLoadResponse(Message message, ResponseInfo responseInfo)
Response with an empty page list.MultiPageLoadResponse(List<Page> pages)
Convenience constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Page>
getPages()
The list of found pages.void
setPages(List<Page> pages)
Set the list of pages to send with the response.-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
Constructor Detail
-
MultiPageLoadResponse
public MultiPageLoadResponse()
Constructor used by JAXB.
-
MultiPageLoadResponse
public MultiPageLoadResponse(List<Page> pages)
Convenience constructor. Automatically adds a response info with a response code ofOK
.- Parameters:
pages
- The pages the send with the response.
-
MultiPageLoadResponse
public MultiPageLoadResponse(Message message, ResponseInfo responseInfo)
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.
-
-