public class EditNodeCategoriesDialog extends BaseDialogBean
| Modifier and Type | Field and Description |
|---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
addedCategory |
protected java.util.List |
categories |
protected java.lang.String |
description |
protected Node |
node |
browseBean, isFinished, navigator, parameters| Constructor and Description |
|---|
EditNodeCategoriesDialog() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.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
|
java.util.List |
getCategories()
Returns a Map of the initial categories on the node keyed by the NodeRef
|
java.lang.String |
getContainerDescription()
Returns the description to be used for the dialog
|
java.lang.String |
getContainerTitle()
Returns the title to be used for the dialog
|
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
|
void |
init(java.util.Map 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(java.util.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 java.util.List categories
protected java.lang.String description
public void init(java.util.Map parameters)
IDialogBeaninit in interface IDialogBeaninit in class BaseDialogBeanparameters - Map of parameters for the dialogprotected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomejava.lang.Exceptionpublic boolean getFinishButtonDisabled()
IDialogBeangetFinishButtonDisabled in interface IDialogBeangetFinishButtonDisabled in class BaseDialogBeanpublic java.lang.String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class BaseDialogBeanpublic java.lang.String getContainerDescription()
IDialogBeanIf this returns null the DialogManager will lookup the description via the dialog configuration
getContainerDescription in interface IDialogBeangetContainerDescription in class BaseDialogBeanprotected java.lang.String getErrorMessageId()
BaseDialogBeangetErrorMessageId in class BaseDialogBeanpublic java.util.List getCategories()
public void setCategories(java.util.List categories)
categories - public org.alfresco.service.cmr.repository.NodeRef getAddedCategory()
public void setAddedCategory(org.alfresco.service.cmr.repository.NodeRef addedCategory)
addedCategory - The added categoryCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.