|
|||||||||
| 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.CategoriesDialog
public class CategoriesDialog
Backing Bean for the Category Management pages.
| Nested Class Summary | |
|---|---|
class |
CategoriesDialog.CategoryBreadcrumbHandler
Class to handle breadcrumb interaction for Categories pages |
| Field Summary | |
|---|---|
protected UIRichList |
categoriesRichList
Component references |
static java.lang.String |
KEY_CATEGORY
|
static java.lang.String |
PARAM_CATEGORY_REF
|
| Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
|---|
browseBean, isFinished, navigator, parameters |
| Constructor Summary | |
|---|---|
CategoriesDialog()
Default Constructor |
|
| Method Summary | |
|---|---|
void |
areaChanged()
Method called by UIContextService.areaChanged() to inform all registered beans that the user has changed area i.e. |
void |
clearCategoryAction(javax.faces.event.ActionEvent event)
Clear the category action context - e.g. |
void |
clickCategory(javax.faces.event.ActionEvent event)
Action called when a category folder is clicked. |
void |
contextUpdated()
Method called by UIContextService.notifyBeans() to inform all registered beans that all UI Beans should refresh dump all cached data and settings. |
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
Node |
getActionCategory()
|
java.lang.Object |
getActionsContext()
Returns the object to use as the context for the main and more actions that may be configured by the dialog |
java.lang.String |
getCancelButtonLabel()
Returns the label to use for the cancel button |
java.util.List |
getCategories()
|
UIRichList |
getCategoriesRichList()
|
Node |
getCategory()
|
org.alfresco.service.cmr.repository.NodeRef |
getCategoryRef()
|
org.alfresco.service.cmr.search.CategoryService |
getCategoryService()
|
java.lang.String |
getContainerSubTitle()
Returns the subtitle to be used for the dialog |
Node |
getCurrentCategory()
|
java.lang.String |
getCurrentCategoryId()
|
java.lang.String |
getDescription()
|
java.lang.String |
getId()
|
java.util.List |
getLocation()
|
java.util.Collection |
getMembers()
|
int |
getMembersCount()
|
java.lang.String |
getMoreActionsConfigId()
Returns the id of an action group to use for the more actions |
java.lang.String |
getName()
|
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
|
java.util.List |
getViewItems()
|
java.lang.String |
getViewMode()
|
protected void |
removeFromBreadcrumb(java.lang.String category)
|
void |
resetCategoryNavigation(javax.faces.event.ActionEvent event)
Reset the current category navigation point - e.g. |
void |
restored()
Called when the dialog is restored after a nested dialog is closed |
void |
setActionCategory(Node node)
|
void |
setCategoriesRichList(UIRichList categoriesRichList)
|
void |
setCategory(Node category)
|
void |
setCategoryRef(org.alfresco.service.cmr.repository.NodeRef categoryRef)
|
void |
setCategoryService(org.alfresco.service.cmr.search.CategoryService categoryService)
|
void |
setCurrentCategory(org.alfresco.service.cmr.repository.NodeRef ref)
Set the current category node. |
void |
setDescription(java.lang.String description)
|
void |
setLocation(java.util.List location)
|
void |
setMembers(java.util.Collection members)
|
void |
setName(java.lang.String name)
|
void |
setupCategoryAction(javax.faces.event.ActionEvent event)
Set the Category to be used for next action dialog |
void |
setViewMode(java.lang.String viewMode)
|
void |
spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that the current space has changed. |
void |
viewModeChanged(javax.faces.event.ActionEvent event)
Change the current view mode based on user selection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String KEY_CATEGORY
public static final java.lang.String PARAM_CATEGORY_REF
protected UIRichList categoriesRichList
| Constructor Detail |
|---|
public CategoriesDialog()
| Method Detail |
|---|
public int getMembersCount()
public java.util.Collection getMembers()
public void setMembers(java.util.Collection members)
public Node getActionCategory()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getId()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public org.alfresco.service.cmr.search.CategoryService getCategoryService()
public void setCategoryService(org.alfresco.service.cmr.search.CategoryService categoryService)
public Node getCategory()
public void setCategory(Node category)
public org.alfresco.service.cmr.repository.NodeRef getCategoryRef()
public void setCategoryRef(org.alfresco.service.cmr.repository.NodeRef categoryRef)
public UIRichList getCategoriesRichList()
public void setCategoriesRichList(UIRichList categoriesRichList)
public java.lang.Object getActionsContext()
IDialogBean
getActionsContext in interface IDialogBeangetActionsContext in class BaseDialogBeanpublic void setActionCategory(Node node)
node - Set the Node to be used for the current category screen action.public Node getCurrentCategory()
public java.lang.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 void setLocation(java.util.List location)
public java.util.List getLocation()
public java.util.List getCategories()
public void setupCategoryAction(javax.faces.event.ActionEvent event)
public void clearCategoryAction(javax.faces.event.ActionEvent event)
public void resetCategoryNavigation(javax.faces.event.ActionEvent event)
public void clickCategory(javax.faces.event.ActionEvent event)
protected void removeFromBreadcrumb(java.lang.String category)
protected java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBean
finishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcome
java.lang.Exceptionpublic java.lang.String getContainerSubTitle()
IDialogBeanIf this returns null the DialogManager will lookup the subtitle via the dialog configuration
getContainerSubTitle in interface IDialogBeangetContainerSubTitle in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic void contextUpdated()
IContextListener
contextUpdated in interface IContextListenerIContextListener.contextUpdated()public void areaChanged()
IContextListener
areaChanged in interface IContextListenerIContextListener.areaChanged()public void spaceChanged()
IContextListener
spaceChanged in interface IContextListenerIContextListener.spaceChanged()public java.util.List getViewItems()
getViewItems in interface ChangeViewSupportpublic void restored()
IDialogBean
restored in interface IDialogBeanrestored in class BaseDialogBeanpublic java.lang.String getViewMode()
getViewMode in interface ChangeViewSupportpublic void setViewMode(java.lang.String viewMode)
setViewMode in interface ChangeViewSupportpublic void viewModeChanged(javax.faces.event.ActionEvent event)
viewModeChanged in interface ChangeViewSupportevent - ActionEventpublic java.lang.String getMoreActionsConfigId()
IDialogBean
getMoreActionsConfigId in interface IDialogBeangetMoreActionsConfigId in class BaseDialogBeanpublic org.alfresco.service.cmr.repository.NodeRef getNodeRef()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||