org.alfresco.web.bean.wcm
Class RevertSelectedDialog
java.lang.Object
org.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.wcm.RevertSelectedDialog
- All Implemented Interfaces:
- java.io.Serializable, IDialogBean
public class RevertSelectedDialog
- extends BaseDialogBean
Revert (undo) the selected files in the current user sandbox.
- See Also:
- Serialized Form
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
avmBrowseBean
protected AVMBrowseBean avmBrowseBean
RevertSelectedDialog
public RevertSelectedDialog()
setAvmBrowseBean
public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
- Parameters:
avmBrowseBean
- The AVM BrowseBean to set
setSandboxService
public void setSandboxService(org.alfresco.wcm.sandbox.SandboxService sbService)
getSandboxService
protected org.alfresco.wcm.sandbox.SandboxService getSandboxService()
finishImpl
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
- Description copied from class:
BaseDialogBean
- Performs the actual processing for the wizard.
NOTE: This method is called within the context of a transaction
so no transaction handling is required
- Specified by:
finishImpl
in class BaseDialogBean
- Parameters:
context
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
- Throws:
java.lang.Exception
- See Also:
BaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)
getConfirmMessage
public java.lang.String getConfirmMessage()
- Returns:
- the confirmation to display to the user
getFinishButtonDisabled
public boolean getFinishButtonDisabled()
- Description copied from interface:
IDialogBean
- Determines whether the finish button on the dialog should be disabled
- Specified by:
getFinishButtonDisabled
in interface IDialogBean
- Overrides:
getFinishButtonDisabled
in class BaseDialogBean
- Returns:
- true if the button should be disabled
- See Also:
BaseDialogBean.getFinishButtonDisabled()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.