public interface PublicationCloningService
| Modifier and Type | Method and Description |
|---|---|
ChapterModel |
getChapterCopy(ChapterModel original,
PublicationModel targetPublication)
Clones given chapter and attaches it to the given target publication.
|
PageModel |
getPageCopy(PageModel original,
ChapterModel targetChapter)
Clones given page and attaches it to the given target chapter.
|
PlacementModel |
getPlacementCopy(PlacementModel original,
PageModel targetPage)
Clones given placement and attaches it to the given target page.
|
PublicationModel |
getPublicationCopy(PublicationModel publication)
Clones given publication, adds '_copy' suffix to the publication code.
|
PublicationModel getPublicationCopy(PublicationModel publication) throws ValueHandlerPermissionException, ValueHandlerException
publication - publication to be clonedValueHandlerExceptionValueHandlerPermissionExceptionChapterModel getChapterCopy(ChapterModel original, PublicationModel targetPublication)
original - the chapter to be clonedtargetPublication - the publication the cloned chapter will be attached toPageModel getPageCopy(PageModel original, ChapterModel targetChapter)
original - the page to be clonedtargetChapter - the chapter the cloned page will be attached toPlacementModel getPlacementCopy(PlacementModel original, PageModel targetPage)
original - the placement to be clonedtargetPage - the page the cloned placement will be attached toCopyright © 2017 SAP SE. All Rights Reserved.