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, setOrder
public static final java.lang.String REVISION
public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling pluginPluginComponent.init(Plugin)
public java.lang.String updateHiddenActions(java.lang.String hiddenActions, AbstractWidget widget)
WidgetPolicyFilter
updateHiddenActions
in interface WidgetPolicyFilter
hiddenActions
- the action set to the widgetwidget
- the calling widgetAbstractWidget.setHiddenActions(String)
public java.lang.String updateCSS(java.lang.String css, AbstractWidget widget)
WidgetPolicyFilter
updateCSS
in interface WidgetPolicyFilter
css
- 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)
WidgetPolicyFilter
getTreeCatNodeExtraContent
in interface WidgetPolicyFilter
treecat
- 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.