Class ApprovalAction
java.lang.Object
de.hybris.platform.cockpit.components.listview.AbstractListViewAction
de.hybris.platform.productcockpit.components.listview.impl.AbstractProductAction
de.hybris.platform.productcockpit.components.listview.impl.ApprovalStatus
de.hybris.platform.productcockpit.components.listview.impl.ApprovalAction
- All Implemented Interfaces:
AdvancedListViewAction,ListViewAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.components.listview.ListViewAction
ListViewAction.Context -
Field Summary
FieldsFields inherited from class de.hybris.platform.productcockpit.components.listview.impl.ApprovalStatus
APPROVED_STATE_ICON, UNAPPROVED_STATE_ICON, UNKNOWN_STATE_ICONFields 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 voiddoChangeStatus(TypedObject selectedItem, String approvalStatusCode) getImageURI(ListViewAction.Context context) Gets the image URI which represents the action button.Gets the image URI for selection operation which represents the action button.org.zkoss.zul.MenupopupGets the popup of the action button for selection operation.org.zkoss.zul.MenupopupgetPopup(ListViewAction.Context context) Gets the popup of the action button.getTooltip(ListViewAction.Context context) Gets the tooltip of the action button.voidsetModelHelper(ModelHelper modelHelper) Methods inherited from class de.hybris.platform.productcockpit.components.listview.impl.ApprovalStatus
doCreateContext, getContextPopup, getEventListener, getStatusCode, getTypeServiceMethods inherited from class de.hybris.platform.productcockpit.components.listview.impl.AbstractProductAction
getProductCockpitProductServiceMethods inherited from class de.hybris.platform.cockpit.components.listview.AbstractListViewAction
createContext, createContext, getItem, getMultiSelectEventListener, getSelectedItems, isAlwaysEnabled, sendEvent, sendUpdateItemsEvent, setAlwaysEnabled
-
Field Details
-
ICON_FUNC_APPROVAL_ACTION_AVAILABLE
-
ICON_FUNC_APPROVAL_ACTION_UNAVAILABLE
-
-
Constructor Details
-
ApprovalAction
public ApprovalAction()
-
-
Method Details
-
getMultiSelectPopup
Description copied from interface:ListViewActionGets the popup of the action button for selection operation.- Specified by:
getMultiSelectPopupin interfaceListViewAction- Overrides:
getMultiSelectPopupin classApprovalStatus- Returns:
- the popup which should appear when the user clicks the action button or
nullif no popup is available
-
getPopup
Description copied from interface:ListViewActionGets the popup of the action button.- Specified by:
getPopupin interfaceListViewAction- Overrides:
getPopupin classApprovalStatus- Returns:
- the popup which should appear when the user clicks the action button or
nullif no popup is available
-
doChangeStatus
-
getImageURI
Description copied from interface:ListViewActionGets the image URI which represents the action button.- Specified by:
getImageURIin interfaceListViewAction- Overrides:
getImageURIin classApprovalStatus- Returns:
- URI of the image to represent the action button
-
getMultiSelectImageURI
Description copied from interface:ListViewActionGets the image URI for selection operation which represents the action button.- Specified by:
getMultiSelectImageURIin interfaceListViewAction- Overrides:
getMultiSelectImageURIin classApprovalStatus- Returns:
- URI of the image to represent the action button or null, if action doesn't support multi select operation
-
getTooltip
Description copied from interface:ListViewActionGets the tooltip of the action button.- Specified by:
getTooltipin interfaceListViewAction- Overrides:
getTooltipin classApprovalStatus- Returns:
- the tooltip string which should appear when the user hovers over the action button
-
setModelHelper
-