PAGETYPE - the page type that extends AbstractPageModelpublic abstract class AbstractPageModelVisitor<PAGETYPE extends AbstractPageModel> extends java.lang.Object implements ItemVisitor<PAGETYPE>
AbstractPageModel models for the cms synchronization service to work properly.
In this implementation, it is responsible for collecting all content slots and the page's restrictions.| Constructor and Description |
|---|
AbstractPageModelVisitor() |
| Modifier and Type | Method and Description |
|---|---|
protected CMSAdminContentSlotService |
getCmsAdminContentSlotService() |
protected SessionSearchRestrictionsDisabler |
getCmsSessionSearchRestrictionsDisabler() |
void |
setCmsAdminContentSlotService(CMSAdminContentSlotService cmsAdminContentSlotService) |
void |
setCmsSessionSearchRestrictionsDisabler(SessionSearchRestrictionsDisabler cmsSessionSearchRestrictionsDisabler) |
java.util.List<ItemModel> |
visit(PAGETYPE source,
java.util.List<ItemModel> path,
java.util.Map<java.lang.String,java.lang.Object> ctx)
Returns visited items for a given
theSource item within given contest ctx |
public java.util.List<ItemModel> visit(PAGETYPE source, java.util.List<ItemModel> path, java.util.Map<java.lang.String,java.lang.Object> ctx)
ItemVisitortheSource item within given contest ctxvisit in interface ItemVisitor<PAGETYPE extends AbstractPageModel>source - given itempath - path to given itemctx - visitor contexttheSource itemprotected CMSAdminContentSlotService getCmsAdminContentSlotService()
public void setCmsAdminContentSlotService(CMSAdminContentSlotService cmsAdminContentSlotService)
protected SessionSearchRestrictionsDisabler getCmsSessionSearchRestrictionsDisabler()
public void setCmsSessionSearchRestrictionsDisabler(SessionSearchRestrictionsDisabler cmsSessionSearchRestrictionsDisabler)
Copyright © 2018 SAP SE. All Rights Reserved.