public class DefaultCMSLockingService extends Object implements CMSLockingService
CMSLockingService interface.| Constructor and Description |
|---|
DefaultCMSLockingService(ModelService modelService,
CatalogVersionService catalogVersionService,
SessionService sessionService,
CMSContentSlotService cmsContentSlotService,
CMSAdminContentSlotService cmsAdminContentSlotService) |
| Modifier and Type | Method and Description |
|---|---|
protected ContentSlotModel |
getContentSlotForPreviewCatalogVersions(String slotUid,
LiveEditView view) |
protected boolean |
isLockable(ContentSlotModel contentSlot) |
boolean |
isSectionLocked(LiveEditView view,
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)
public boolean isSectionLocked(LiveEditView view, String slotId) throws InterruptedException
CMSLockingServiceisSectionLocked in interface CMSLockingServiceInterruptedExceptionprotected ContentSlotModel getContentSlotForPreviewCatalogVersions(String slotUid, LiveEditView view)
protected boolean isLockable(ContentSlotModel contentSlot)
protected int showMessageBox(ContentSlotModel contentSlot) throws InterruptedException
InterruptedExceptionCopyright © 2017 SAP SE. All Rights Reserved.