com.jalios.jstore
Interface CleanFilter

All Known Implementing Classes:
CustomCleanFilter, JcmsCleanFilter

public interface CleanFilter

This interface must be implemented to define cleaning rules.

Since:
jcms-5.5.0
Version:
$Revision: 21412 $
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Method Summary
 void cleanMergeMap(Map<String,TreeSet<Stamp>> mergeMap)
          This method is called to clean the merge map.
 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.
 

Field Detail

REVISION

static final String REVISION
See Also:
Constant Field Values
Method Detail

isCleanable

boolean isCleanable(StorableLogEntry entry,
                    Class<?> clazz)
Returns true if the entry can be cleaned or false otherwise.

Parameters:
entry - the entry to be checked
clazz - the class of which this entry is applied
Returns:
true if the entry can be cleaned or false otherwise
Since:
jcms-5.5.0

isCleanable

boolean isCleanable(InnerLogEntry entry)
Returns true if the entry can be cleaned or false otherwise.

Parameters:
entry - the entry to be checked
Returns:
true if the entry can be cleaned or false otherwise
Since:
jcms-5.5.0

cleanMergeMap

void cleanMergeMap(Map<String,TreeSet<Stamp>> mergeMap)
This method is called to clean the merge map.

Parameters:
mergeMap - the merge map
Since:
jcms-5.5.0


Copyright © 2001-2010 Jalios SA. All Rights Reserved.