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(javax.faces.context.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, setSearchServiceprotected Node node
protected org.alfresco.service.cmr.repository.NodeRef addedCategory
protected List categories
protected String description
public void init(Map<String,String> parameters)
IDialogBeaninit in interface IDialogBeaninit in class BaseDialogBeanparameters - Map of parameters for the dialogprotected String finishImpl(javax.faces.context.FacesContext context, String outcome) throws Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomeExceptionpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class BaseDialogBeanpublic String getContainerDescription()
IDialogBeanIf this returns null the DialogManager will lookup the description via the dialog configuration
getContainerDescription in interface IDialogBeangetContainerDescription in class BaseDialogBeanprotected String getErrorMessageId()
BaseDialogBeangetErrorMessageId in class BaseDialogBeanpublic 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–2018 Alfresco Software. All rights reserved.