public interface MultiCountryCockpitService extends CmsCockpitService
ABSTRACTPAGE_UID_PREFIX, CMSITEM_UID| Modifier and Type | Method and Description |
|---|---|
TypedObject |
createDeepCopyPageFirstLevel(TypedObject page,
java.lang.String name,
CatalogVersionModel version)
Creates a deep copy of a page object
|
TypedObject |
createLocalizedPageFirstLevel(TypedObject page,
java.lang.String name,
CatalogVersionModel version)
Creates localized version of a page obeject
|
java.util.List<TypedObject> |
getPersonalizedPages(TypedObject page,
boolean showOriginalPage,
boolean showLocalizedPages)
Returns all personalized pages including the original and localized pages if their respective parameters are set
|
boolean |
isLocalizationDisabledForPage(AbstractPageModel page)
Determines if localization is disabled for the page
|
clonePageFirstLevel, createRestrictionTooltip, getAllApprovalStatusCodes, getApprovalStatusCode, getApprovalStatusName, getDefaultPage, getPersonalizedPages, getPersonalizedPages, getRecentlyEditedPages, getSites, getWebsites, isPartOfTemplate, isRestricted, setApprovalStatusjava.util.List<TypedObject> getPersonalizedPages(TypedObject page, boolean showOriginalPage, boolean showLocalizedPages)
page - the page objectshowOriginalPage - if true will include the original page to the page if it existsshowLocalizedPages - if true will include all localized pages to the pageTypedObject createLocalizedPageFirstLevel(TypedObject page, java.lang.String name, CatalogVersionModel version)
page - the page object to localizename - the name of the localized pageversion - the catalog version the localized page will exist inTypedObject createDeepCopyPageFirstLevel(TypedObject page, java.lang.String name, CatalogVersionModel version)
page - the page object to deep copyname - the name of the new pageversion - the catalog version the copied page will exist inboolean isLocalizationDisabledForPage(AbstractPageModel page)
page - the page to checkCopyright © 2018 SAP SE. All Rights Reserved.