public class PageLockBrowserAction extends AbstractListViewAction implements CmsPageBrowserAction
ListViewAction.Context| Modifier and Type | Field and Description |
|---|---|
static String |
RED_LOCKED_ICON |
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANELAFFECTED_ITEMS_KEY| Constructor and Description |
|---|
PageLockBrowserAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCreateContext(ListViewAction.Context context) |
CMSPageLockingService |
getCmsPageLockingService() |
protected AbstractPageModel |
getContextPage(ListViewAction.Context context) |
Menupopup |
getContextPopup(ListViewAction.Context context)
Gets the context popup of the action button.
|
protected UserModel |
getCurrentUser() |
EventListener |
getEventListener(ListViewAction.Context context)
Gets the
EventListener which is to be registered for the Events#ON_CLICK event. |
String |
getImageURI(ListViewAction.Context context)
Gets the image URI which represents the action button.
|
Menupopup |
getPopup(ListViewAction.Context context)
Gets the popup of the action button.
|
String |
getPrefixLabel() |
String |
getTooltip(ListViewAction.Context context)
Gets the tooltip of the action button.
|
boolean |
isForceDisplay() |
protected boolean |
isOwnLock(ListViewAction.Context context) |
protected boolean |
isPageLocked(ListViewAction.Context context) |
protected boolean |
isUserAbleToUnlock(ListViewAction.Context context) |
void |
setForceDisplay(boolean forceDisplay) |
createContext, createContext, getItem, getMultiSelectEventListener, getMultiSelectImageURI, getMultiSelectPopup, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabledpublic static final String RED_LOCKED_ICON
public String getImageURI(ListViewAction.Context context)
ListViewActiongetImageURI in interface ListViewActionpublic EventListener getEventListener(ListViewAction.Context context)
ListViewActionEventListener which is to be registered for the Events#ON_CLICK event.getEventListener in interface ListViewActionpublic Menupopup getPopup(ListViewAction.Context context)
ListViewActiongetPopup in interface ListViewActionnull if no popup is availablepublic Menupopup getContextPopup(ListViewAction.Context context)
ListViewActiongetContextPopup in interface ListViewActionnull if no popup is
availablepublic String getTooltip(ListViewAction.Context context)
ListViewActiongetTooltip in interface ListViewActionprotected void doCreateContext(ListViewAction.Context context)
doCreateContext in class AbstractListViewActionpublic String getPrefixLabel()
getPrefixLabel in interface CmsPageBrowserActionprotected boolean isPageLocked(ListViewAction.Context context)
protected boolean isOwnLock(ListViewAction.Context context)
protected boolean isUserAbleToUnlock(ListViewAction.Context context)
public CMSPageLockingService getCmsPageLockingService()
public void setForceDisplay(boolean forceDisplay)
public boolean isForceDisplay()
protected UserModel getCurrentUser()
protected AbstractPageModel getContextPage(ListViewAction.Context context)
Copyright © 2017 SAP SE. All Rights Reserved.