Class PageCopyResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.page.PageCopyResponse
- All Implemented Interfaces:
Serializable
Response for a page copy request
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructor needed by JAXBPageCopyResponse
(Message message, ResponseInfo responseInfo) Create a copy responsePageCopyResponse
(Message message, ResponseInfo responseInfo, List<Page> copiedPages) Build response -
Method Summary
Modifier and TypeMethodDescriptionReturn the mappings for copied pages.getPages()
Return the list of copied pagesvoid
setPageCopyMappings
(List<PageCopyResultInfo> pageCopyMappings) Set the list of page copy mappings.void
Set the list of copied pagesMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
PageCopyResponse
public PageCopyResponse()Empty constructor needed by JAXB -
PageCopyResponse
Create a copy response- Parameters:
message
-responseInfo
-
-
PageCopyResponse
Build response- Parameters:
message
-responseInfo
-copiedPages
-
-
-
Method Details
-
getPages
Return the list of copied pages- Returns:
-
setPages
Set the list of copied pages -
getPageCopyMappings
Return the mappings for copied pages. The mapping contains information which source page was copied to which folders.- Returns:
-
setPageCopyMappings
Set the list of page copy mappings.- Parameters:
pageCopyMappings
-
-