public class EditNodeCategoriesDialog extends BaseDialogBean
Modifier and Type | Field and Description |
---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
addedCategory |
protected List |
categories |
protected String |
description |
protected Node |
node |
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
EditNodeCategoriesDialog() |
Modifier and Type | Method and Description |
---|---|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
org.alfresco.service.cmr.repository.NodeRef |
getAddedCategory()
Returns the last category added from the multi value editor
|
List |
getCategories()
Returns a Map of the initial categories on the node keyed by the NodeRef
|
String |
getContainerDescription()
Returns the description to be used for the dialog
|
String |
getContainerTitle()
Returns the title to be used for the dialog
|
protected String |
getErrorMessageId()
The default message id to use in error messages
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
void |
init(Map<String,String> parameters)
Initialises the dialog bean
|
void |
setAddedCategory(org.alfresco.service.cmr.repository.NodeRef addedCategory)
Sets the category added from the multi value editor
|
void |
setCategories(List categories)
Sets the categories Map
|
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorOutcome, getFileFolderService, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
protected Node node
protected org.alfresco.service.cmr.repository.NodeRef addedCategory
protected List categories
protected String description
public void init(Map<String,String> parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogprotected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
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 getContainerDescription()
IDialogBean
If this returns null the DialogManager will lookup the description via the dialog configuration
getContainerDescription
in interface IDialogBean
getContainerDescription
in class BaseDialogBean
protected String getErrorMessageId()
BaseDialogBean
getErrorMessageId
in class BaseDialogBean
public List getCategories()
public void setCategories(List categories)
categories
- Listpublic org.alfresco.service.cmr.repository.NodeRef getAddedCategory()
public void setAddedCategory(org.alfresco.service.cmr.repository.NodeRef addedCategory)
addedCategory
- The added categoryCopyright © 2005–2017 Alfresco Software. All rights reserved.