|
||||||||||
| 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 | |
|---|---|
java.lang.String |
getActionLink()
|
java.util.List<java.lang.String> |
getCategoriesByUri(java.lang.String categoryUri)
Gets the categories by uri. |
java.util.List<javax.jcr.Node> |
getSubcategories(java.lang.String categoryPath)
Gets the subcategories. |
java.lang.String |
getTemplate()
|
org.exoplatform.resolver.ResourceResolver |
getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
java.lang.String template)
|
java.lang.String |
getTitle(javax.jcr.Node node)
get content's title if exists (from exo:title property) |
java.lang.String |
getTreeTitle()
|
boolean |
isMovedTreeToTrash(java.lang.String rootCategory)
|
boolean |
isSelected(java.lang.Object obj)
|
java.lang.String |
renderCategoryLink(javax.jcr.Node node)
Render category link. |
java.lang.String |
renderNode(java.lang.Object obj)
|
java.lang.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 java.lang.String renderNode(java.lang.Object obj)
throws java.lang.Exception
renderNode in class org.exoplatform.webui.core.UITreejava.lang.Exceptionpublic java.lang.String getTemplate()
getTemplate in class org.exoplatform.webui.core.UIComponent
public org.exoplatform.resolver.ResourceResolver getTemplateResourceResolver(org.exoplatform.webui.application.WebuiRequestContext context,
java.lang.String template)
getTemplateResourceResolver in class org.exoplatform.webui.core.UIComponent
public java.lang.String getActionLink()
throws java.lang.Exception
getActionLink in class org.exoplatform.webui.core.UITreejava.lang.Exception
public boolean isSelected(java.lang.Object obj)
throws java.lang.Exception
isSelected in class org.exoplatform.webui.core.UITreejava.lang.Exception
public boolean isMovedTreeToTrash(java.lang.String rootCategory)
throws java.lang.Exception
java.lang.Exception
public java.util.List<javax.jcr.Node> getSubcategories(java.lang.String categoryPath)
throws java.lang.Exception
categoryPath - the category path
java.lang.Exception - the exception
public java.lang.String resolveCategoryPathByUri(org.exoplatform.webui.application.WebuiRequestContext context)
throws java.lang.Exception
context - the context
java.lang.Exception
public java.util.List<java.lang.String> getCategoriesByUri(java.lang.String categoryUri)
throws java.lang.Exception
categoryUri - the category uri
java.lang.Exception - the exception
public java.lang.String renderCategoryLink(javax.jcr.Node node)
throws java.lang.Exception
node - the node
java.lang.Exception - the exception
public java.lang.String getTitle(javax.jcr.Node node)
throws java.lang.Exception
node -
java.lang.Exceptionpublic java.lang.String getTreeTitle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||