public class BasicWidgetPolicyFilter extends AbstractPolicyFilter implements WidgetPolicyFilter, PluginComponent
WidgetPolicyFilter| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REVISION |
order| Constructor and Description |
|---|
BasicWidgetPolicyFilter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTreeCatNodeExtraContent(TreeCat treecat,
java.lang.String extraContent,
Category cat,
int level,
int pubcount)
This method is called by TreeCat to append some specific content
for each category node or leaf.
|
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
java.lang.String |
updateCSS(java.lang.String css,
AbstractWidget widget)
This method is called by all widget to update the css configuration.
|
java.lang.String |
updateHiddenActions(java.lang.String hiddenActions,
AbstractWidget widget)
This method is called by all widget to update the hidden actions configuration.
|
compareTo, equals, getOrder, setOrderpublic static final java.lang.String REVISION
public boolean init(Plugin plugin)
PluginComponentinit in interface PluginComponentplugin - the calling pluginPluginComponent.init(Plugin)public java.lang.String updateHiddenActions(java.lang.String hiddenActions,
AbstractWidget widget)
WidgetPolicyFilterupdateHiddenActions in interface WidgetPolicyFilterhiddenActions - the action set to the widgetwidget - the calling widgetAbstractWidget.setHiddenActions(String)public java.lang.String updateCSS(java.lang.String css,
AbstractWidget widget)
WidgetPolicyFilterupdateCSS in interface WidgetPolicyFiltercss - the current csswidget - the calling widgetWidgetPolicyFilter.updateCSS(String, AbstractWidget)public java.lang.String getTreeCatNodeExtraContent(TreeCat treecat, java.lang.String extraContent, Category cat, int level, int pubcount)
WidgetPolicyFiltergetTreeCatNodeExtraContent in interface WidgetPolicyFiltertreecat - the TreeCat calling this methodextraContent - the previous extraContentcat - the current categorylevel - the level asked to be displayedpubcount - the count of publication if it has been calculatedWidgetPolicyFilter.getTreeCatNodeExtraContent(TreeCat, String, Category, int, int)Copyright © 2001-2010 Jalios SA. All Rights Reserved.