public class CategoryBrowserPluginBean
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BEAN_NAME |
protected org.alfresco.service.cmr.repository.NodeRef |
previouslySelectedNode |
| Constructor and Description |
|---|
CategoryBrowserPluginBean() |
| Modifier and Type | Method and Description |
|---|---|
protected UITree.TreeNode |
createTreeNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Creates a TreeNode object from the given NodeRef
|
java.util.List |
getCategoryRootNodes() |
protected java.util.Map |
getNodesMap() |
void |
nodeCollapsed()
Sets the state of the node given in the 'nodeRef' parameter to collapsed
|
void |
reset()
Resets all the caches held by the bean.
|
void |
resetSelectedNode()
Resets the selected node
|
void |
retrieveChildren()
Retrieves the child folders for the noderef given in the 'noderef' parameter and caches the nodes against the area
in the 'area' parameter.
|
void |
selectNode(org.alfresco.service.cmr.repository.NodeRef selectedNode,
java.lang.String area) |
void |
setCategoryService(org.alfresco.service.cmr.search.CategoryService categoryService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
public static final java.lang.String BEAN_NAME
protected org.alfresco.service.cmr.repository.NodeRef previouslySelectedNode
public void setCategoryService(org.alfresco.service.cmr.search.CategoryService categoryService)
categoryService - the categoryService to setpublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the nodeService to setpublic java.util.List getCategoryRootNodes()
protected java.util.Map getNodesMap()
public void retrieveChildren()
throws java.io.IOException
java.io.IOExceptionpublic void nodeCollapsed()
throws java.io.IOException
java.io.IOExceptionpublic void selectNode(org.alfresco.service.cmr.repository.NodeRef selectedNode,
java.lang.String area)
public void resetSelectedNode()
public void reset()
protected UITree.TreeNode createTreeNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
nodeRef - The NodeRef to create the TreeNode fromCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.