Class PasteElementsIntoCollectionAction

All Implemented Interfaces:
IAction, IAvailableAction, IChangeModeAction, IModuleContextAction, IRequestAction

public class PasteElementsIntoCollectionAction extends SaveElementInCollectionAction implements IAvailableAction
Since:
5.9
Author:
Javier Paniza
  • Constructor Details

    • PasteElementsIntoCollectionAction

      public PasteElementsIntoCollectionAction()
  • Method Details

    • execute

      public void execute() throws Exception
      Specified by:
      execute in interface IAction
      Overrides:
      execute in class SaveElementInCollectionAction
      Throws:
      Exception
    • isAvailable

      public boolean isAvailable()
      Description copied from interface: IAvailableAction
      If true the action will be available for the user, otherwise it will be hidden.
      This method is executed before determine if the action has to be shown, so before execute(). The action is configured completely (injecting all needed objects and properties) before calling isAvailable().
      Specified by:
      isAvailable in interface IAvailableAction