com.jalios.jcms.media
Class TreeCatMediaProxy
java.lang.Object
com.jalios.jcms.widget.TreeCatProxy
com.jalios.jcms.media.TreeCatMediaProxy
public class TreeCatMediaProxy
- extends TreeCatProxy
This class is a TreeCatProxy implementation to controle
link generated by MediaBrowser TreeCat.
- Since:
- jcms-5.5.0
- Author:
- Olivier Jaquemet, Jean-Philippe Encausse
Methods inherited from class com.jalios.jcms.widget.TreeCatProxy |
getBranch, getEdit, getHelp, getNodeIcon, getNodeName, getPortals, getPubCount, getReadablePub, getRights, getWidget, getWorkspaces, initRoot, resetRoots |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeCatMediaProxy
public TreeCatMediaProxy(MediaBrowserHandler handler)
getNodeLink
public String getNodeLink(TreeCat treecat,
String computedValue,
String name,
Category cat,
int pubCount)
- Overrides:
getNodeLink
in class TreeCatProxy
- 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
getCidsKeyArray
protected static String[] getCidsKeyArray(int size)
dataCollectionToArrayList
protected static String[] dataCollectionToArrayList(Collection<? extends Data> dataColl,
Data removeData,
Data addData)
- Convert a collection of Data into an array of String, after adding or removing given Data.
- Parameters:
dataColl
- the collection to convertremoveData
- the data to remove prior to convertionaddData
- the data to add prior to convertion
- Returns:
- an array of String containing Data's id
Copyright © 2001-2010 Jalios SA. All Rights Reserved.