|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.categories.EditNodeCategoriesDialog
public class EditNodeCategoriesDialog
Implementation for the edit node categories dialog.
Field Summary | |
---|---|
protected org.alfresco.service.cmr.repository.NodeRef |
addedCategory
|
protected java.util.List |
categories
|
protected java.lang.String |
description
|
protected Node |
node
|
Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
---|
browseBean, isFinished, navigator, parameters |
Constructor Summary | |
---|---|
EditNodeCategoriesDialog()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Node node
protected org.alfresco.service.cmr.repository.NodeRef addedCategory
protected java.util.List categories
protected java.lang.String description
Constructor Detail |
---|
public EditNodeCategoriesDialog()
Method Detail |
---|
public void init(java.util.Map parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogprotected java.lang.String finishImpl(javax.faces.context.FacesContext context, java.lang.String outcome) throws java.lang.Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcome
java.lang.Exception
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
public java.lang.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 java.lang.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 java.lang.String getErrorMessageId()
BaseDialogBean
getErrorMessageId
in class BaseDialogBean
public 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 category
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |