org.alfresco.web.bean.spaces
Class DeleteSpaceDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.spaces.DeleteSpaceDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean
Direct Known Subclasses:
DeleteForumDialog, DeleteForumsDialog, DeleteSpaceAssociationDialog, DeleteTopicDialog, DeleteWebsiteDialog

public class DeleteSpaceDialog
extends BaseDialogBean

Bean implementation for the "Delete Space" dialog

See Also:
Serialized Form

Field Summary
protected  boolean hasMultipleParents
           
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
DeleteSpaceDialog()
           
 
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.
 boolean getArchiveNodes()
           
 java.lang.String getConfirmMessage()
          Returns the confirmation to display to the user before deleting the content.
protected  java.lang.String getConfirmMessageId()
           
 java.lang.String getDeleteMode()
           
protected  java.lang.String getErrorMessageId()
          The default message id to use in error messages
 boolean getExecuteRules()
           
 boolean getFinishButtonDisabled()
          Determines whether the finish button on the dialog should be disabled
 boolean getHasMultipleParents()
           
 void init(java.util.Map parameters)
          Initialises the dialog bean
 void setArchiveNodes(boolean archiveNodes)
           
 void setDeleteMode(java.lang.String deleteMode)
           
 void setExecuteRules(boolean executeRules)
           
 
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
cancel, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorOutcome, getFileFolderService, 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

hasMultipleParents

protected boolean hasMultipleParents
Constructor Detail

DeleteSpaceDialog

public DeleteSpaceDialog()
Method Detail

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

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

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

getErrorMessageId

protected java.lang.String getErrorMessageId()
Description copied from class: BaseDialogBean
The default message id to use in error messages

Overrides:
getErrorMessageId in class BaseDialogBean
Returns:
The error message lookup id

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

getConfirmMessageId

protected java.lang.String getConfirmMessageId()

getConfirmMessage

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

Returns:
The formatted message to display

getDeleteMode

public java.lang.String getDeleteMode()
Returns:
Returns the delete operation mode.

setDeleteMode

public void setDeleteMode(java.lang.String deleteMode)
Parameters:
deleteMode - The delete operation mode to set.

getHasMultipleParents

public boolean getHasMultipleParents()
Returns:
true if the space has multiple parents

getExecuteRules

public boolean getExecuteRules()
Returns:
true to execute rules during delete

setExecuteRules

public void setExecuteRules(boolean executeRules)
Parameters:
executeRules - execute rules during delete

getArchiveNodes

public boolean getArchiveNodes()
Returns:
true to archive nodes during delete

setArchiveNodes

public void setArchiveNodes(boolean archiveNodes)
Parameters:
archiveNodes - archive nodes during delete


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