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:
  • Constructor Details

    • MultiPageLoadResponse

      public MultiPageLoadResponse()
      Constructor used by JAXB.
    • MultiPageLoadResponse

      public MultiPageLoadResponse(List<Page> pages)
      Convenience constructor. Automatically adds a response info with a response code of OK.
      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.
  • Method Details

    • getPages

      public List<Page> getPages()
      The list of found pages.
      Returns:
      The list of found pages.
    • setPages

      public void setPages(List<Page> pages)
      Set the list of pages to send with the response.
      Parameters:
      pages - The list of pages to send with the response.