org.alfresco.web.bean.wcm
Class UnlockFileDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.wcm.UnlockFileDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean

public class UnlockFileDialog
extends BaseDialogBean

Bean implementation for the AVM "Unlock File" dialog

See Also:
Serialized Form

Field Summary
protected  AVMBrowseBean avmBrowseBean
           
protected  org.alfresco.service.cmr.avm.AVMService avmService
           
protected  org.alfresco.service.cmr.avm.locking.AVMLockingService lockingService
           
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
UnlockFileDialog()
           
 
Method Summary
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
protected  org.alfresco.service.cmr.avm.locking.AVMLockingService getAvmLockingService()
           
protected  org.alfresco.service.cmr.avm.AVMService getAvmService()
           
 java.lang.String getConfirmMessage()
          Returns the confirmation to display to the user before deleting the content.
 boolean getFinishButtonDisabled()
          Determines whether the finish button on the dialog should be disabled
 void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
           
 void setAvmLockingService(org.alfresco.service.cmr.avm.locking.AVMLockingService lockingService)
           
 void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
           
 
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
 

Field Detail

avmService

protected org.alfresco.service.cmr.avm.AVMService avmService

lockingService

protected org.alfresco.service.cmr.avm.locking.AVMLockingService lockingService

avmBrowseBean

protected AVMBrowseBean avmBrowseBean
Constructor Detail

UnlockFileDialog

public UnlockFileDialog()
Method Detail

setAvmBrowseBean

public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
Parameters:
avmBrowseBean - The avmBrowseBean to set.

setAvmService

public void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
Parameters:
avmService - The avmService to set.

getAvmService

protected org.alfresco.service.cmr.avm.AVMService getAvmService()

setAvmLockingService

public void setAvmLockingService(org.alfresco.service.cmr.avm.locking.AVMLockingService lockingService)
Parameters:
lockingService - The avmLockingService to set.

getAvmLockingService

protected org.alfresco.service.cmr.avm.locking.AVMLockingService getAvmLockingService()

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 - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception

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

getConfirmMessage

public java.lang.String getConfirmMessage()
Returns the confirmation to display to the user before deleting the content.

Returns:
The formatted message to display


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.