Class PageCopyResponse

java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.page.PageCopyResponse
All Implemented Interfaces:
Serializable

public class PageCopyResponse extends GenericResponse
Response for a page copy request
See Also:
  • Constructor Details

    • PageCopyResponse

      public PageCopyResponse()
      Empty constructor needed by JAXB
    • PageCopyResponse

      public PageCopyResponse(Message message, ResponseInfo responseInfo)
      Create a copy response
      Parameters:
      message -
      responseInfo -
    • PageCopyResponse

      public PageCopyResponse(Message message, ResponseInfo responseInfo, List<Page> copiedPages)
      Build response
      Parameters:
      message -
      responseInfo -
      copiedPages -
  • Method Details

    • getPages

      public List<Page> getPages()
      Return the list of copied pages
      Returns:
    • setPages

      public void setPages(List<Page> pages)
      Set the list of copied pages
    • getPageCopyMappings

      public List<PageCopyResultInfo> getPageCopyMappings()
      Return the mappings for copied pages. The mapping contains information which source page was copied to which folders.
      Returns:
    • setPageCopyMappings

      public void setPageCopyMappings(List<PageCopyResultInfo> pageCopyMappings)
      Set the list of page copy mappings.
      Parameters:
      pageCopyMappings -