org.alfresco.web.bean.spaces
Class EditSpaceDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.wizard.BaseWizardBean
          extended by org.alfresco.web.bean.spaces.CreateSpaceWizard
              extended by org.alfresco.web.bean.spaces.CreateSpaceDialog
                  extended by org.alfresco.web.bean.spaces.EditSpaceDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean, IWizardBean
Direct Known Subclasses:
EditFolderPropertiesDialog

public class EditSpaceDialog
extends CreateSpaceDialog

Dialog bean to edit an existing space.

See Also:
Serialized Form

Field Summary
protected  Node editableNode
           
 
Fields inherited from class org.alfresco.web.bean.spaces.CreateSpaceWizard
copyPolicy, createdNode, createFrom, CREATEFROM_EXISTING, CREATEFROM_SCRATCH, CREATEFROM_TEMPLATE, DEFAULT_SPACE_ICON_NAME, DEFAULT_SPACE_ICON_PATH, DEFAULT_SPACE_TYPE_ICON_PATH, description, existingSpaceId, folderTypeDescriptions, folderTypes, icon, name, saveAsTemplate, spaceType, templateName, templates, templateSpaceId, title
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
EditSpaceDialog()
           
 
Method Summary
protected  java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs any post commit processing subclasses may want to provide
protected  java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome)
          Performs the actual processing for the wizard.
 Node getEditableNode()
          Returns the node being edited
 boolean getFinishButtonDisabled()
          Determines whether the finish button on the dialog should be disabled
 java.lang.String getFinishButtonLabel()
          Returns the label to use for the finish button
 void init(java.util.Map parameters)
          Initialises the wizard
protected  Node initEditableNode()
          Init the editable Node
 
Methods inherited from class org.alfresco.web.bean.spaces.CreateSpaceDialog
getDefaultCancelOutcome, getDefaultFinishOutcome
 
Methods inherited from class org.alfresco.web.bean.spaces.CreateSpaceWizard
formatErrorMessage, getCopyPolicy, getCreateFrom, getDescription, getExistingSpaceId, getFolderTypeDescriptions, getFolderTypes, getIcon, getIcons, getName, getSpaceType, getSummary, getTemplateName, getTemplateSpaceId, getTemplateSpaces, getTitle, isSaveAsTemplate, next, setCopyPolicy, setCreateFrom, setDescription, setExistingSpaceId, setIcon, setName, setSaveAsTemplate, setSpaceType, setTemplateName, setTemplateSpaceId, setTitle
 
Methods inherited from class org.alfresco.web.bean.wizard.BaseWizardBean
back, buildSummary, getBackButtonLabel, getNextButtonDisabled, getNextButtonLabel, getStepDescription, getStepTitle
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, 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
 
Methods inherited from interface org.alfresco.web.bean.dialog.IDialogBean
cancel, finish, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getContainerDescription, getContainerSubTitle, getContainerTitle, getMoreActionsConfigId, isFinished, restored
 

Field Detail

editableNode

protected Node editableNode
Constructor Detail

EditSpaceDialog

public EditSpaceDialog()
Method Detail

init

public void init(java.util.Map parameters)
Description copied from class: CreateSpaceWizard
Initialises the wizard

Specified by:
init in interface IDialogBean
Overrides:
init in class CreateSpaceWizard
Parameters:
parameters - Map of parameters for the dialog

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

initEditableNode

protected Node initEditableNode()
Init the editable Node


getFinishButtonLabel

public java.lang.String getFinishButtonLabel()
Description copied from interface: IDialogBean
Returns the label to use for the finish button

Specified by:
getFinishButtonLabel in interface IDialogBean
Overrides:
getFinishButtonLabel in class CreateSpaceDialog
Returns:
The finish button label

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

Overrides:
finishImpl in class CreateSpaceWizard
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome
Throws:
java.lang.Exception

doPostCommitProcessing

protected java.lang.String doPostCommitProcessing(javax.faces.context.FacesContext context,
                                                  java.lang.String outcome)
Description copied from class: BaseDialogBean
Performs any post commit processing subclasses may want to provide

Overrides:
doPostCommitProcessing in class BaseDialogBean
Parameters:
context - FacesContext
outcome - The default outcome
Returns:
The outcome

getEditableNode

public Node getEditableNode()
Returns the node being edited

Returns:
The node being edited


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