org.alfresco.web.bean.categories
Class CreateCategoryDialog
java.lang.Object
org.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.categories.CreateCategoryDialog
- All Implemented Interfaces:
- java.io.Serializable, IDialogBean
public class CreateCategoryDialog
- extends BaseDialogBean
- See Also:
- Serialized Form
Field Summary |
protected org.alfresco.service.cmr.search.CategoryService |
categoryService
|
Method Summary |
java.lang.String |
finishCreate()
|
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 |
getCategoryRef()
|
java.lang.String |
getDescription()
|
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled |
java.lang.String |
getFinishButtonLabel()
Returns the label to use for the finish button |
java.lang.String |
getName()
|
void |
init(java.util.Map parameters)
Initialises the dialog bean |
void |
setCategoryRef(org.alfresco.service.cmr.repository.NodeRef categoryRef)
|
void |
setCategoryService(org.alfresco.service.cmr.search.CategoryService categoryService)
|
void |
setDescription(java.lang.String description)
|
void |
setName(java.lang.String name)
|
Methods inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
cancel, doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getContainerTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
categoryService
protected transient org.alfresco.service.cmr.search.CategoryService categoryService
CreateCategoryDialog
public CreateCategoryDialog()
init
public void init(java.util.Map parameters)
- Description copied from interface:
IDialogBean
- Initialises the dialog bean
- Specified by:
init
in interface IDialogBean
- Overrides:
init
in class BaseDialogBean
- Parameters:
parameters
- Map of parameters for the dialog
setCategoryService
public void setCategoryService(org.alfresco.service.cmr.search.CategoryService categoryService)
getCategoryRef
public org.alfresco.service.cmr.repository.NodeRef getCategoryRef()
setCategoryRef
public void setCategoryRef(org.alfresco.service.cmr.repository.NodeRef categoryRef)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getFinishButtonDisabled
public boolean getFinishButtonDisabled()
- Description copied from interface:
IDialogBean
- Determines whether the finish button on the dialog should be disabled
- Specified by:
getFinishButtonDisabled
in interface IDialogBean
- Overrides:
getFinishButtonDisabled
in class BaseDialogBean
- Returns:
- true if the button should be disabled
finishImpl
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
- Description copied from class:
BaseDialogBean
- Performs the actual processing for the wizard.
NOTE: This method is called within the context of a transaction
so no transaction handling is required
- Specified by:
finishImpl
in class BaseDialogBean
- Parameters:
context
- FacesContextoutcome
- The default outcome
- Returns:
- The outcome
- Throws:
java.lang.Exception
getFinishButtonLabel
public java.lang.String getFinishButtonLabel()
- Description copied from interface:
IDialogBean
- Returns the label to use for the finish button
- Specified by:
getFinishButtonLabel
in interface IDialogBean
- Overrides:
getFinishButtonLabel
in class BaseDialogBean
- Returns:
- The finish button label
finishCreate
public java.lang.String finishCreate()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.