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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PageCopyResponse()
Empty constructor needed by JAXBPageCopyResponse(Message message, ResponseInfo responseInfo)
Create a copy responsePageCopyResponse(Message message, ResponseInfo responseInfo, List<Page> copiedPages)
Build response
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PageCopyResultInfo>
getPageCopyMappings()
Return the mappings for copied pages.List<Page>
getPages()
Return the list of copied pagesvoid
setPageCopyMappings(List<PageCopyResultInfo> pageCopyMappings)
Set the list of page copy mappings.void
setPages(List<Page> pages)
Set the list of copied pages-
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
-
-
-
Constructor Detail
-
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 Detail
-
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
-
-
-