info.magnolia.pages.app.action
Class DeleteComponentAction

java.lang.Object
  extended by info.magnolia.ui.api.action.AbstractAction<D>
      extended by info.magnolia.ui.framework.action.AbstractMultiItemAction<DeleteItemActionDefinition>
          extended by info.magnolia.ui.framework.action.DeleteItemAction
              extended by info.magnolia.pages.app.action.DeleteComponentAction
All Implemented Interfaces:
Action

public class DeleteComponentAction
extends DeleteItemAction

Action for deleting components. Overrides the default behaviour by sending the ContentChangedEvent on the SubAppEventBus.


Constructor Summary
DeleteComponentAction(DeleteItemActionDefinition definition, JcrItemAdapter item, info.magnolia.event.EventBus eventBus, SubAppContext subAppContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
           
 
Method Summary
 
Methods inherited from class info.magnolia.ui.framework.action.DeleteItemAction
execute, executeAfterConfirmation, executeOnItem, getFailureMessage, getSuccessMessage
 
Methods inherited from class info.magnolia.ui.framework.action.AbstractMultiItemAction
getCurrentItem, getErrorNotification, getFailedItems, getItemComparator, getItems, getSortedItems, getUiContext, setCurrentItem
 
Methods inherited from class info.magnolia.ui.api.action.AbstractAction
getDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteComponentAction

@Inject
public DeleteComponentAction(DeleteItemActionDefinition definition,
                                    JcrItemAdapter item,
                                    @Named(value="subapp")
                                    info.magnolia.event.EventBus eventBus,
                                    SubAppContext subAppContext,
                                    info.magnolia.i18nsystem.SimpleTranslator i18n)


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.