public class DefaultCMSLockingService extends java.lang.Object implements CMSLockingService
CMSLockingService interface.| Constructor and Description |
|---|
DefaultCMSLockingService(ModelService modelService,
CatalogVersionService catalogVersionService,
SessionService sessionService,
CMSContentSlotService cmsContentSlotService,
CMSAdminContentSlotService cmsAdminContentSlotService)
Constructor for
DefaultCMSLockingService |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
getContentSlotForPreviewCatalogVersions(java.lang.String slotUid,
LiveEditView view) |
protected boolean |
isLockable(ContentSlotModel contentSlot) |
boolean |
isSectionLocked(LiveEditView view,
java.lang.String slotId)
Determine if a session is locked or not
|
protected int |
showMessageBox(ContentSlotModel contentSlot) |
public DefaultCMSLockingService(ModelService modelService, CatalogVersionService catalogVersionService, SessionService sessionService, CMSContentSlotService cmsContentSlotService, CMSAdminContentSlotService cmsAdminContentSlotService)
DefaultCMSLockingServicemodelService - the ModelServicecatalogVersionService - the CatalogVersionServicesessionService - the SessionServicecmsContentSlotService - the CMSContentSlotServicecmsAdminContentSlotService - the CMSAdminContentSlotServicepublic boolean isSectionLocked(LiveEditView view, java.lang.String slotId) throws java.lang.InterruptedException
CMSLockingServiceisSectionLocked in interface CMSLockingServicejava.lang.InterruptedExceptionprotected ContentSlotModel getContentSlotForPreviewCatalogVersions(java.lang.String slotUid, LiveEditView view)
protected boolean isLockable(ContentSlotModel contentSlot)
protected int showMessageBox(ContentSlotModel contentSlot) throws java.lang.InterruptedException
java.lang.InterruptedExceptionCopyright © 2018 SAP SE. All Rights Reserved.