public class DeleteRuleDialog extends BaseDialogBean
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
DeleteRuleDialog() |
Modifier and Type | Method and Description |
---|---|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
String |
getCancelButtonLabel()
Returns the label to use for the cancel button
|
String |
getContainerTitle()
Returns the title to be used for the dialog
|
Rule |
getCurrentRule()
Returns the current rule
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
String |
getFinishButtonLabel()
Returns the label to use for the finish button
|
protected RuleService |
getRuleService()
Get the rule service
|
Node |
getSpace() |
void |
init(Map<String,String> parameters)
Initialises the dialog bean
|
void |
setRuleService(RuleService ruleService) |
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
public void init(Map<String,String> parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogpublic void setRuleService(RuleService ruleService)
ruleService
- Sets the rule service to useprotected RuleService getRuleService()
BaseDialogBean
getRuleService
in class BaseDialogBean
public Rule getCurrentRule()
public Node getSpace()
protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
public String getContainerTitle()
IDialogBean
If this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle
in interface IDialogBean
getContainerTitle
in class BaseDialogBean
public String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public String getFinishButtonLabel()
IDialogBean
getFinishButtonLabel
in interface IDialogBean
getFinishButtonLabel
in class BaseDialogBean
Copyright © 2005–2017 Alfresco Software. All rights reserved.