org.alfresco.web.bean.content
Class DeleteContentDialog

java.lang.Object
  extended by org.alfresco.web.bean.dialog.BaseDialogBean
      extended by org.alfresco.web.bean.content.DeleteContentDialog
All Implemented Interfaces:
java.io.Serializable, IDialogBean
Direct Known Subclasses:
DeleteContentAssociationDialog, DeletePostDialog

public class DeleteContentDialog
extends BaseDialogBean

Bean implementation for the "Delete Content" dialog

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean
browseBean, isFinished, navigator, parameters
 
Constructor Summary
DeleteContentDialog()
           
 
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.
 java.lang.String getConfirmMessage()
          Returns the confirmation to display to the user before deleting the content.
protected  java.lang.String getErrorMessageId()
          The default message id to use in error messages
 boolean getFinishButtonDisabled()
          Determines whether the finish button on the dialog should be disabled
protected  org.alfresco.service.cmr.ml.MultilingualContentService getMultilingualContentService()
           
 void setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
           
 
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, 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
 

Constructor Detail

DeleteContentDialog

public DeleteContentDialog()
Method Detail

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

getConfirmMessage

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

Returns:
The formatted message to display

setMultilingualContentService

public void setMultilingualContentService(org.alfresco.service.cmr.ml.MultilingualContentService multilingualContentService)
Parameters:
multilingualContentService - the Multilingual Content Service to set

getMultilingualContentService

protected org.alfresco.service.cmr.ml.MultilingualContentService getMultilingualContentService()


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