public class DeleteCategoryDialog extends BaseDialogBean
Modifier and Type | Field and Description |
---|---|
protected UIRichList |
categoriesRichList
Component references
|
protected CategoryService |
categoryService |
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
DeleteCategoryDialog() |
Modifier and Type | Method and Description |
---|---|
void |
contextUpdated() |
protected String |
doPostCommitProcessing(FacesContext context,
String outcome)
Performs any post commit processing subclasses may want to provide
|
String |
finishDelete() |
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
Node |
getActionCategory() |
UIRichList |
getCategoriesRichList() |
Node |
getCategory() |
Boolean |
getCategoryFlag() |
org.alfresco.service.cmr.repository.NodeRef |
getCategoryRef() |
String |
getContainerTitle()
Returns the title to be used for the dialog
|
String |
getCurrentCategoryId() |
String |
getDescription() |
boolean |
getFinishButtonDisabled()
Determines whether the finish button on the dialog should be disabled
|
String |
getFinishButtonLabel()
Returns the label to use for the finish button
|
List<IBreadcrumbHandler> |
getLocation() |
Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> |
getMembers() |
int |
getMembersSize() |
String |
getName() |
void |
init(Map<String,String> parameters)
Initialises the dialog bean
|
void |
setActionCategory(Node node) |
void |
setCategoriesRichList(UIRichList categoriesRichList) |
void |
setCategory(Node category) |
void |
setCategoryFlag(Boolean categoryFlag) |
void |
setCategoryRef(org.alfresco.service.cmr.repository.NodeRef categoryRef) |
void |
setCategoryService(CategoryService categoryService) |
void |
setCurrentCategory(org.alfresco.service.cmr.repository.NodeRef ref)
Set the current category node.
|
void |
setDescription(String description) |
void |
setLocation(List<IBreadcrumbHandler> location) |
void |
setMembers(Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> members) |
void |
setName(String name) |
cancel, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCancelButtonLabel, getCheckOutCheckInService, getContainerDescription, getContainerSubTitle, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
protected transient CategoryService categoryService
protected UIRichList categoriesRichList
public void init(Map<String,String> parameters)
IDialogBean
init
in interface IDialogBean
init
in class BaseDialogBean
parameters
- Map of parameters for the dialogprotected String doPostCommitProcessing(FacesContext context, String outcome)
BaseDialogBean
doPostCommitProcessing
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomepublic Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> getMembers()
public void setMembers(Collection<org.alfresco.service.cmr.repository.ChildAssociationRef> members)
public int getMembersSize()
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public void setCategoryService(CategoryService categoryService)
public org.alfresco.service.cmr.repository.NodeRef getCategoryRef()
public void setCategoryRef(org.alfresco.service.cmr.repository.NodeRef categoryRef)
public Node getCategory()
public void setCategory(Node category)
public Boolean getCategoryFlag()
public void setCategoryFlag(Boolean categoryFlag)
public void setActionCategory(Node node)
node
- Set the Node to be used for the current category screen action.public Node getActionCategory()
public void setLocation(List<IBreadcrumbHandler> location)
public List<IBreadcrumbHandler> getLocation()
public boolean getFinishButtonDisabled()
IDialogBean
getFinishButtonDisabled
in interface IDialogBean
getFinishButtonDisabled
in class BaseDialogBean
protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
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 getFinishButtonLabel()
IDialogBean
getFinishButtonLabel
in interface IDialogBean
getFinishButtonLabel
in class BaseDialogBean
public UIRichList getCategoriesRichList()
public void setCategoriesRichList(UIRichList categoriesRichList)
public void contextUpdated()
IContextListener.contextUpdated()
public String getCurrentCategoryId()
public void setCurrentCategory(org.alfresco.service.cmr.repository.NodeRef ref)
Setting this value causes the UI to update and display the specified node as current.
ref
- The current category node.public String finishDelete()
Copyright © 2005–2017 Alfresco Software. All rights reserved.