public class ItemCopyAction extends ItemAction
| Constructor and Description |
|---|
ItemCopyAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfirmationMessage()
This default implementation returns
null (It means the standard confirmation message will be used if
confirmation is on). |
boolean |
isActive(ActionEvent event)
Returns true if the AccessManager allows Itemcreation.
|
boolean |
needConfirmation()
This default implementation returns
false. |
boolean |
needSaveBeforePerform()
The item will be saved before performing action if this option is set to
true. |
ActionResult |
perform(ActionEvent actionEvent)
This action requires the Item in ActionEvent data.
|
canChange, canRead, canRemove, createDialogChip, getEditorContext, getHMCContext, getItem, getNodeParams, hasDialogChip, initialize, isAutoSave, isVisible, setAutoSavepublic ActionResult perform(ActionEvent actionEvent) throws JaloBusinessException
ItemActionperform in interface HMCActionperform in class ItemActionactionEvent - ActionEvent contains input data for the actionJaloBusinessExceptionpublic boolean isActive(ActionEvent event)
isActive in interface HMCStatefulActionisActive in class ItemActionHMCStatefulAction.isActive(de.hybris.platform.hmc.util.action.ActionEvent)public String getConfirmationMessage()
ItemActionnull (It means the standard confirmation message will be used if
confirmation is on). Overwrite this method if you want your own confirmation message for this action.getConfirmationMessage in interface HMCActiongetConfirmationMessage in class ItemActionpublic boolean needConfirmation()
ItemActionfalse. Overwrite this method if you want confirmation for this
action.needConfirmation in interface HMCActionneedConfirmation in class ItemActionpublic boolean needSaveBeforePerform()
ItemActiontrue. This default
implementation returns true.needSaveBeforePerform in class ItemActionCopyright © 2017 SAP SE. All Rights Reserved.