org.alfresco.web.bean.wcm
Class SnapshotSandboxDialog

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

public class SnapshotSandboxDialog
extends BaseDialogBean

Backing bean for the Snaphost Sandbox dialog.

See Also:
Serialized Form

Field Summary
protected  AVMBrowseBean avmBrowseBean
           
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
SnapshotSandboxDialog()
           
 
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.AVMService getAvmService()
           
 java.lang.String getDescription()
           
 java.lang.String getLabel()
           
 void init(java.util.Map parameters)
          Initialises the dialog bean
 void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
           
 void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
           
 void setDescription(java.lang.String description)
           
 void setLabel(java.lang.String label)
           
 
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, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, 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

avmBrowseBean

protected AVMBrowseBean avmBrowseBean
Constructor Detail

SnapshotSandboxDialog

public SnapshotSandboxDialog()
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()

getDescription

public java.lang.String getDescription()
Returns:
Returns the snapshot description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The snapshot description to set.

getLabel

public java.lang.String getLabel()
Returns:
Returns the snaphost label.

setLabel

public void setLabel(java.lang.String label)
Parameters:
label - The snapshot label to set.

init

public void init(java.util.Map parameters)
Description copied from interface: IDialogBean
Initialises the dialog bean

Specified by:
init in interface IDialogBean
Overrides:
init in class BaseDialogBean
Parameters:
parameters - Map of parameters for the dialog
See Also:
BaseDialogBean.init(java.util.Map)

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
See Also:
BaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)


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