|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.CustomCleanFilter
public abstract class CustomCleanFilter
| Field Summary | |
|---|---|
static String |
REVISION
|
| Constructor Summary | |
|---|---|
CustomCleanFilter()
|
|
| Method Summary | |
|---|---|
void |
cleanMergeMap(Map mergeMap)
This method is called to clean the merge map. |
abstract String |
getLabel(String userLang)
Returns the label of the filter |
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,
Class clazz)
Returns true if the entry can be cleaned or false otherwise. |
boolean |
isEnabled()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REVISION
| Constructor Detail |
|---|
public CustomCleanFilter()
| Method Detail |
|---|
public void init(JcmsContext context)
context - the JCMS contextpublic boolean init(Plugin plugin)
PluginComponent
init in interface PluginComponentplugin - the calling plugin
PluginComponent.init(Plugin)public boolean isEnabled()
public String getParameterName()
public abstract String getLabel(String userLang)
userLang - the user language
public boolean isChecked()
public boolean isCleanable(StorableLogEntry entry,
Class clazz)
CleanFilter
isCleanable in interface CleanFilterentry - the entry to be checkedclazz - the class of which this entry is applied
public boolean isCleanable(InnerLogEntry entry)
CleanFilter
isCleanable in interface CleanFilterentry - the entry to be checked
public void cleanMergeMap(Map mergeMap)
CleanFilter
cleanMergeMap in interface CleanFiltermergeMap - the merge map
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||