Class CmsRestrictionAction
java.lang.Object
de.hybris.platform.cockpit.components.listview.AbstractListViewAction
de.hybris.platform.cmscockpit.components.listview.impl.AbstractCmscockpitListViewAction
de.hybris.platform.cmscockpit.components.listview.impl.CmsRestrictionAction
- All Implemented Interfaces:
CmsPageBrowserAction,AdvancedListViewAction,ListViewAction
public class CmsRestrictionAction
extends AbstractCmscockpitListViewAction
implements CmsPageBrowserAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
ListViewAction.Context -
Field Summary
Fields inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
alwaysEnabled, IN_EDITOR_AREA_SECTION_PANELFields inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
AFFECTED_ITEMS_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoCreateContext(ListViewAction.Context context) org.zkoss.zul.MenupopupgetContextPopup(ListViewAction.Context context) Gets the context popup of the action button.org.zkoss.zk.ui.event.EventListenergetEventListener(ListViewAction.Context context) Gets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.getImageURI(ListViewAction.Context context) Gets the image URI which represents the action button.org.zkoss.zul.MenupopupgetPopup(ListViewAction.Context context) Gets the popup of the action button.protected List<TypedObject>getRestrictions(TypedObject component) getTooltip(ListViewAction.Context context) Gets the tooltip of the action button.booleanvoidsetForceDisplay(boolean forceDisplay) Methods inherited from class de.hybris.platform.cmscockpit.components.listview.impl.AbstractCmscockpitListViewAction
getCmsPageLockingService, getCmsPageService, getSystemService, getTypeService, getUIAccessRightService, isComponentLockedForUser, isEnabled, isWritableCatalog, moveMethods inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
createContext, createContext, getItem, getMultiSelectEventListener, getMultiSelectImageURI, getMultiSelectPopup, getSelectedItems, getStatusCode, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabled
-
Constructor Details
-
CmsRestrictionAction
public CmsRestrictionAction()
-
-
Method Details
-
doCreateContext
- Specified by:
doCreateContextin classAbstractListViewAction
-
getContextPopup
Description copied from interface:ListViewActionGets the context popup of the action button.- Specified by:
getContextPopupin interfaceListViewAction- Returns:
- the popup which should appear when the user right-clicks the action button or
nullif no popup is available
-
getEventListener
Description copied from interface:ListViewActionGets theEventListenerwhich is to be registered for theEvents.ON_CLICKevent.- Specified by:
getEventListenerin interfaceListViewAction- Returns:
- the event listener which should be called when user clicks the action button
-
getImageURI
Description copied from interface:ListViewActionGets the image URI which represents the action button.- Specified by:
getImageURIin interfaceListViewAction- Returns:
- URI of the image to represent the action button
-
getRestrictions
-
getPopup
Description copied from interface:ListViewActionGets the popup of the action button.- Specified by:
getPopupin interfaceListViewAction- Returns:
- the popup which should appear when the user clicks the action button or
nullif no popup is available
-
getTooltip
Description copied from interface:ListViewActionGets the tooltip of the action button.- Specified by:
getTooltipin interfaceListViewAction- Returns:
- the tooltip string which should appear when the user hovers over the action button
-
setForceDisplay
public void setForceDisplay(boolean forceDisplay) -
isForceDisplay
public boolean isForceDisplay() -
getPrefixLabel
- Specified by:
getPrefixLabelin interfaceCmsPageBrowserAction
-
getCmsCockpitService
-