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)
PluginComponentinit in interface PluginComponentplugin - 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)
CleanFilterisCleanable in interface CleanFilterentry - the entry to be checkedclazz - the class of which this entry is appliedpublic boolean isCleanable(InnerLogEntry entry)
CleanFilterisCleanable in interface CleanFilterentry - the entry to be checkedpublic void cleanMergeMap(java.util.Map mergeMap)
CleanFiltercleanMergeMap in interface CleanFiltermergeMap - the merge mapCopyright © 2001-2018 Jalios SA. All Rights Reserved.