com.jalios.jcms.widget
Class TreeCatProxy
java.lang.Object
com.jalios.jcms.widget.TreeCatProxy
- Direct Known Subclasses:
- TreeCatMediaProxy
public class TreeCatProxy
- extends Object
This class is a proxy for TreeCat. It is used to filter and update
standard TreeCat behaviour.
- Since:
- jcms-5.5.0
- Author:
- Jean-Philippe Encausse
|
Method Summary |
String |
getBranch(TreeCat treecat,
String computedValue,
Category cat,
int level)
|
String |
getEdit(TreeCat treecat,
String computedValue,
Category cat)
|
String |
getHelp(TreeCat treecat,
String computedValue,
Category cat)
|
String |
getNodeIcon(TreeCat treecat,
String computedValue,
Category cat,
int level)
|
String |
getNodeLink(TreeCat treecat,
String computedValue,
String name,
Category cat,
int pubCount)
|
String |
getNodeName(TreeCat treecat,
String computedValue,
Category cat)
|
String |
getPortals(TreeCat treecat,
String computedValue,
Category cat)
|
String |
getPubCount(TreeCat treecat,
String computedValue,
Category cat,
int pubCount)
|
String |
getReadablePub(TreeCat treecat,
String computedValue,
Category cat)
|
String |
getRights(TreeCat treecat,
String computedValue,
Category cat)
|
String |
getWidget(TreeCat treecat,
String computedValue,
Category cat,
int pubCount)
|
String |
getWorkspaces(TreeCat treecat,
String computedValue,
Category cat)
|
void |
initRoot(TreeCat treecat,
Category cat)
|
void |
resetRoots(TreeCat treecat)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeCatProxy
public TreeCatProxy()
initRoot
public void initRoot(TreeCat treecat,
Category cat)
- Parameters:
treecat - the TreeCat calling this methodcat - the Category to display- See Also:
TreeCat.initRoot(Category)
resetRoots
public void resetRoots(TreeCat treecat)
- Parameters:
treecat - the TreeCat calling this method- See Also:
TreeCat.initRoot(Category)
getBranch
public String getBranch(TreeCat treecat,
String computedValue,
Category cat,
int level)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to displaylevel - the children level to display
- Returns:
- String displaying the category without <li></li>
- See Also:
TreeCat.getBranch(Category, int)
getNodeIcon
public String getNodeIcon(TreeCat treecat,
String computedValue,
Category cat,
int level)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to displaylevel - the children level to display
- Returns:
- String the updated value
- See Also:
TreeCat.getNodeIcon(Category, int)
getWidget
public String getWidget(TreeCat treecat,
String computedValue,
Category cat,
int pubCount)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to displaypubCount - the pre computed publication count or 1
- Returns:
- String the updated value
- See Also:
TreeCat.getWidget(Category, int)
getNodeLink
public String getNodeLink(TreeCat treecat,
String computedValue,
String name,
Category cat,
int pubCount)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatname - the node namecat - the Category to displaypubCount - the pre computed publication count or 1
- Returns:
- String the updated value
- See Also:
TreeCat.getNodeLink(Category, int)
getNodeName
public String getNodeName(TreeCat treecat,
String computedValue,
Category cat)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to display
- Returns:
- String the updated value
- See Also:
TreeCat.getNodeName(Category, String)
getReadablePub
public String getReadablePub(TreeCat treecat,
String computedValue,
Category cat)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to display
- Returns:
- String the updated value
- See Also:
TreeCat.getReadablePub(Category)
getPubCount
public String getPubCount(TreeCat treecat,
String computedValue,
Category cat,
int pubCount)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to displaypubCount - the pre computed publication count or 1
- Returns:
- String the updated value
- See Also:
TreeCat.getPubCount(Category, int)
getRights
public String getRights(TreeCat treecat,
String computedValue,
Category cat)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to display
- Returns:
- String the updated value
- See Also:
TreeCat.getRights(Category)
getHelp
public String getHelp(TreeCat treecat,
String computedValue,
Category cat)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to display
- Returns:
- String the updated value
- See Also:
TreeCat.getHelp(Category)
getPortals
public String getPortals(TreeCat treecat,
String computedValue,
Category cat)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to display
- Returns:
- String the updated value
- See Also:
TreeCat.getPortals(Category)
getWorkspaces
public String getWorkspaces(TreeCat treecat,
String computedValue,
Category cat)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to display
- Returns:
- String the updated value
- See Also:
TreeCat.getWorkspaces(Category)
getEdit
public String getEdit(TreeCat treecat,
String computedValue,
Category cat)
- Parameters:
treecat - the TreeCat calling this methodcomputedValue - the value already computed by tha TreeCatcat - the Category to display
- Returns:
- String the updated value
- See Also:
TreeCat.getEdit(Category)
Copyright © 2001-2007 Jalios SA. All Rights Reserved.