Package com.jalios.jcms
Class CustomCleanFilter
java.lang.Object
com.jalios.jcms.CustomCleanFilter
- All Implemented Interfaces:
PluginComponent,CleanFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanMergeMap(Map mergeMap) This method is called to clean the merge map.abstract StringReturns the label of the filterReturns the name of the request parameter.voidinit(JcmsContext context) This method is called before a store cleaning.booleanInitialize the component with the given plugin configurationbooleanReturns true if this filter must be checked by default.booleanisCleanable(InnerLogEntry entry) Returns true if the entry can be cleaned or false otherwise.booleanisCleanable(StorableLogEntry entry, Class clazz) Returns true if the entry can be cleaned or false otherwise.booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jalios.jstore.CleanFilter
getStartLine
-
Constructor Details
-
CustomCleanFilter
public CustomCleanFilter()
-
-
Method Details
-
init
This method is called before a store cleaning.- Parameters:
context- the JCMS context- Since:
- jcms-5.5.0
-
init
Description copied from interface:PluginComponentInitialize the component with the given plugin configuration- Specified by:
initin interfacePluginComponent- Parameters:
plugin- the calling plugin- Returns:
- true if the component has been correctly initialized.
- Since:
- jcms-5.7.1
- See Also:
-
isEnabled
public boolean isEnabled() -
getParameterName
Returns the name of the request parameter.- Returns:
- the name of the request parameter.
- Since:
- jcms-5.5.0
-
getLabel
Returns the label of the filter- Parameters:
userLang- the user language- Returns:
- the label of the filter.
- Since:
- jcms-5.5.0
-
isChecked
public boolean isChecked()Returns true if this filter must be checked by default. False otherwise.- Returns:
- true if this filter must be checked by default. False otherwise.
- Since:
- jcms-5.5.0
-
isCleanable
Description copied from interface:CleanFilterReturns true if the entry can be cleaned or false otherwise.- Specified by:
isCleanablein interfaceCleanFilter- Parameters:
entry- the entry to be checkedclazz- the class of which this entry is applied- Returns:
- true if the entry can be cleaned or false otherwise
-
isCleanable
Description copied from interface:CleanFilterReturns true if the entry can be cleaned or false otherwise.- Specified by:
isCleanablein interfaceCleanFilter- Parameters:
entry- the entry to be checked- Returns:
- true if the entry can be cleaned or false otherwise
-
cleanMergeMap
Description copied from interface:CleanFilterThis method is called to clean the merge map.- Specified by:
cleanMergeMapin interfaceCleanFilter- Parameters:
mergeMap- the merge map
-