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<info.magnolia.ui.framework.action.DeleteItemActionDefinition>
          extended by info.magnolia.ui.framework.action.DeleteItemAction
              extended by info.magnolia.pages.app.action.DeleteComponentAction
All Implemented Interfaces:
info.magnolia.ui.api.action.Action

public class DeleteComponentAction
extends info.magnolia.ui.framework.action.DeleteItemAction

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


Constructor Summary
DeleteComponentAction(info.magnolia.ui.framework.action.DeleteItemActionDefinition definition, info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item, info.magnolia.event.EventBus eventBus, info.magnolia.ui.api.app.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(info.magnolia.ui.framework.action.DeleteItemActionDefinition definition,
                                    info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item,
                                    @Named(value="subapp")
                                    info.magnolia.event.EventBus eventBus,
                                    info.magnolia.ui.api.app.SubAppContext subAppContext,
                                    info.magnolia.i18nsystem.SimpleTranslator i18n)


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