|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UITree
org.exoplatform.wcm.webui.category.UICategoryNavigationTreeBase
public class UICategoryNavigationTreeBase
Created by The eXo Platform SAS Author : eXoPlatform chuong.phan@exoplatform.com, phan.le.thanh.chuong@gmail.com Comment: Change objId from node's path to category's path Jun 30, 2009
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UITree |
|---|
org.exoplatform.webui.core.UITree.ChangeNodeActionListener |
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
|---|
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Constructor Summary | |
|---|---|
UICategoryNavigationTreeBase()
|
|
| Method Summary | |
|---|---|
String |
getActionLink()
|
List<String> |
getCategoriesByUri(String categoryUri)
Gets the categories by uri. |
List<javax.jcr.Node> |
getSubcategories(String categoryPath)
Gets the subcategories. |
String |
getTemplate()
|
org.exoplatform.resolver.ResourceResolver |
getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template)
|
String |
getTitle(javax.jcr.Node node)
get content's title if exists (from exo:title property) |
String |
getTreeTitle()
|
boolean |
isMovedTreeToTrash(String rootCategory)
|
boolean |
isSelected(Object obj)
|
String |
renderCategoryLink(javax.jcr.Node node)
Render category link. |
String |
renderNode(Object obj)
|
String |
resolveCategoryPathByUri(org.exoplatform.webui.application.WebuiRequestContext context)
Resolve category path by uri. |
| Methods inherited from class org.exoplatform.webui.core.UITree |
|---|
event, findComponentById, findComponentOfType, findFirstComponentOfType, getBeanChildCountField, getBeanIconField, getBeanIdField, getBeanLabelField, getChildren, getColapseIcon, getEscapeHTML, getExpandIcon, getFieldValue, getIcon, getId, getMaxTitleCharacter, getParentSelected, getSelected, getSelectedIcon, getSibbling, getUiPopupMenu, getUIRightClickPopupMenu, renderUIComponent, setBeanChildCountField, setBeanIconField, setBeanIdField, setBeanLabelField, setChildren, setColapseIcon, setCollapseIcon, setEscapeHTML, setExpandIcon, setIcon, setMaxTitleCharacter, setParentSelected, setSelected, setSelectedIcon, setSibbling, setUiPopupMenu, setUIRightClickPopupMenu |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
|---|
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UICategoryNavigationTreeBase()
| Method Detail |
|---|
public String renderNode(Object obj)
throws Exception
renderNode in class org.exoplatform.webui.core.UITreeExceptionpublic String getTemplate()
getTemplate in class org.exoplatform.webui.core.UIComponent
public org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponent
public String getActionLink()
throws Exception
getActionLink in class org.exoplatform.webui.core.UITreeException
public boolean isSelected(Object obj)
throws Exception
isSelected in class org.exoplatform.webui.core.UITreeException
public boolean isMovedTreeToTrash(String rootCategory)
throws Exception
Exception
public List<javax.jcr.Node> getSubcategories(String categoryPath)
throws Exception
categoryPath - the category path
Exception - the exception
public String resolveCategoryPathByUri(org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
context - the context
Exception
public List<String> getCategoriesByUri(String categoryUri)
throws Exception
categoryUri - the category uri
Exception - the exception
public String renderCategoryLink(javax.jcr.Node node)
throws Exception
node - the node
Exception - the exception
public String getTitle(javax.jcr.Node node)
throws Exception
node - The node
Exceptionpublic String getTreeTitle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||