public abstract class CustomCleanFilter extends java.lang.Object implements CleanFilter, PluginComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
CustomCleanFilter() |
Modifier and Type | Method and Description |
---|---|
void |
cleanMergeMap(java.util.Map mergeMap)
This method is called to clean the merge map.
|
abstract java.lang.String |
getLabel(java.lang.String userLang)
Returns the label of the filter
|
java.lang.String |
getParameterName()
Returns the name of the request parameter.
|
void |
init(JcmsContext context)
This method is called before a store cleaning.
|
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
boolean |
isChecked()
Returns true if this filter must be checked by default.
|
boolean |
isCleanable(InnerLogEntry entry)
Returns true if the entry can be cleaned or false otherwise.
|
boolean |
isCleanable(StorableLogEntry entry,
java.lang.Class clazz)
Returns true if the entry can be cleaned or false otherwise.
|
boolean |
isEnabled() |
public static final java.lang.String REVISION
public void init(JcmsContext context)
context
- the JCMS contextpublic boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling pluginPluginComponent.init(Plugin)
public boolean isEnabled()
public java.lang.String getParameterName()
public abstract java.lang.String getLabel(java.lang.String userLang)
userLang
- the user languagepublic boolean isChecked()
public boolean isCleanable(StorableLogEntry entry, java.lang.Class clazz)
CleanFilter
isCleanable
in interface CleanFilter
entry
- the entry to be checkedclazz
- the class of which this entry is appliedpublic boolean isCleanable(InnerLogEntry entry)
CleanFilter
isCleanable
in interface CleanFilter
entry
- the entry to be checkedpublic void cleanMergeMap(java.util.Map mergeMap)
CleanFilter
cleanMergeMap
in interface CleanFilter
mergeMap
- the merge mapCopyright © 2001-2010 Jalios SA. All Rights Reserved.