info.magnolia.ui.contentapp.browser.action
Class ShowVersionsAction

java.lang.Object
  extended by info.magnolia.ui.api.action.AbstractAction<D>
      extended by info.magnolia.ui.framework.action.AbstractVersionAction<ShowVersionsActionDefinition>
          extended by info.magnolia.ui.contentapp.browser.action.ShowVersionsAction
All Implemented Interfaces:
Action

public class ShowVersionsAction
extends AbstractVersionAction<ShowVersionsActionDefinition>

Opens a dialog with list of versions.

See Also:
ShowVersionsActionDefinition

Field Summary
 
Fields inherited from class info.magnolia.ui.framework.action.AbstractVersionAction
formDialogPresenter, locationController, MESSAGE_FORMAT_VERSION_OPTION_LABEL, MESSAGE_FORMAT_VERSION_OPTION_LABEL_NO_COMMENT, nodeAdapter, uiContext
 
Constructor Summary
ShowVersionsAction(ShowVersionsActionDefinition definition, AppContext appContext, LocationController locationController, UiContext uiContext, FormDialogPresenter formDialogPresenter, AbstractJcrNodeAdapter nodeAdapter, info.magnolia.i18nsystem.SimpleTranslator i18n)
           
 
Method Summary
protected  FormDialogDefinition buildNewComponentDialog()
           
protected  Class getBeanItemClass()
           
protected  Location getLocation()
           
protected  javax.jcr.Node getNode()
           
 
Methods inherited from class info.magnolia.ui.framework.action.AbstractVersionAction
execute, getAvailableVersionInfoList, getEditorCallback, getItem, getVersionLabel
 
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

ShowVersionsAction

@Inject
public ShowVersionsAction(ShowVersionsActionDefinition definition,
                                 AppContext appContext,
                                 LocationController locationController,
                                 UiContext uiContext,
                                 FormDialogPresenter formDialogPresenter,
                                 AbstractJcrNodeAdapter nodeAdapter,
                                 info.magnolia.i18nsystem.SimpleTranslator i18n)
Method Detail

getBeanItemClass

protected Class getBeanItemClass()
Specified by:
getBeanItemClass in class AbstractVersionAction<ShowVersionsActionDefinition>

buildNewComponentDialog

protected FormDialogDefinition buildNewComponentDialog()
                                                throws ActionExecutionException,
                                                       javax.jcr.RepositoryException
Specified by:
buildNewComponentDialog in class AbstractVersionAction<ShowVersionsActionDefinition>
Throws:
ActionExecutionException
javax.jcr.RepositoryException

getNode

protected javax.jcr.Node getNode()
                          throws javax.jcr.RepositoryException
Specified by:
getNode in class AbstractVersionAction<ShowVersionsActionDefinition>
Throws:
javax.jcr.RepositoryException

getLocation

protected Location getLocation()
                        throws ActionExecutionException
Specified by:
getLocation in class AbstractVersionAction<ShowVersionsActionDefinition>
Throws:
ActionExecutionException


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