org.alfresco.web.bean.wcm
Class DeleteWebsiteDialog
java.lang.Object
org.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.spaces.DeleteSpaceDialog
org.alfresco.web.bean.wcm.DeleteWebsiteDialog
- All Implemented Interfaces:
- java.io.Serializable, IDialogBean
public class DeleteWebsiteDialog
- extends DeleteSpaceDialog
Bean implementation for the "Delete Website" dialog. Removes all user stores and the main staging and preview stores.
- See Also:
- Serialized Form
Method Summary |
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
protected java.lang.String |
getConfirmMessageId()
Returns the message bundle id of the confirmation message to display to the user before deleting the website. |
protected org.alfresco.wcm.webproject.WebProjectService |
getWebProjectService()
|
void |
setWebProjectService(org.alfresco.wcm.webproject.WebProjectService wpService)
|
Methods inherited from class org.alfresco.web.bean.spaces.DeleteSpaceDialog |
doPostCommitProcessing, getArchiveNodes, getConfirmMessage, getDeleteMode, getErrorMessageId, getExecuteRules, getFinishButtonDisabled, getHasMultipleParents, init, setArchiveNodes, setDeleteMode, setExecuteRules |
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 |
DeleteWebsiteDialog
public DeleteWebsiteDialog()
setWebProjectService
public void setWebProjectService(org.alfresco.wcm.webproject.WebProjectService wpService)
getWebProjectService
protected org.alfresco.wcm.webproject.WebProjectService getWebProjectService()
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 DeleteSpaceDialog
- Parameters:
context
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
- Throws:
java.lang.Exception
- See Also:
BaseDialogBean.finishImpl(javax.faces.context.FacesContext, java.lang.String)
getConfirmMessageId
protected java.lang.String getConfirmMessageId()
- Returns the message bundle id of the confirmation message to display to the user before deleting the website.
- Overrides:
getConfirmMessageId
in class DeleteSpaceDialog
- Returns:
- The message bundle id
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.