public class CategoryBrowserPluginBean extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static 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
|
List<UITree.TreeNode> |
getCategoryRootNodes() |
protected Map<String,UITree.TreeNode> |
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,
String area) |
void |
setCategoryService(org.alfresco.service.cmr.search.CategoryService categoryService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
public static final 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 List<UITree.TreeNode> getCategoryRootNodes()
protected Map<String,UITree.TreeNode> getNodesMap()
public void retrieveChildren()
throws IOException
IOExceptionpublic void nodeCollapsed()
throws IOException
IOExceptionpublic void selectNode(org.alfresco.service.cmr.repository.NodeRef selectedNode,
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–2018 Alfresco Software. All rights reserved.