com.jalios.jcms
Class JcmsCleanFilter
java.lang.Object
com.jalios.jcms.JcmsCleanFilter
- All Implemented Interfaces:
- CleanFilter, StoreConstants
public class JcmsCleanFilter
- extends Object
- implements CleanFilter, StoreConstants
Fields inherited from interface com.jalios.jstore.StoreConstants |
ARRAY_FLAG, CLEANING_STATE, COLLECTION_FLAG, CREATE_OP, DELETE_OP, IDLE_STATE, INNER_LOGS, INNER_MILESTONE, INNER_PREFIX, INNER_SYNC, ITEM_ESCAPE_CHAR, ITEM_SEPARATOR, LOADING_STATE, MAP_ASSIGN, MAP_CHARS_TO_ESCAPE, MAP_CLASS_SEPARATOR, MAP_FLAG, NAMESPACE, SH_SUFFIX, STORING_STATE, UPDATE_OP |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
channel
protected Channel channel
beginTime
protected long beginTime
endTime
protected long endTime
beginStamp
protected Stamp beginStamp
endStamp
protected Stamp endStamp
removeDeleted
protected boolean removeDeleted
mergeMinorUpdate
protected boolean mergeMinorUpdate
mergeMetadataUpdate
protected boolean mergeMetadataUpdate
mergeMajorUpdate
protected boolean mergeMajorUpdate
uridSet
protected Set uridSet
removeMilestone
protected boolean removeMilestone
wsSet
protected Set wsSet
wsMap
protected HashMap wsMap
metadataAttributeSet
public static final HashSet metadataAttributeSet
JcmsCleanFilter
public JcmsCleanFilter()
isCleanable
public boolean isCleanable(StorableLogEntry entry,
Class clazz)
- Description copied from interface:
CleanFilter
- Returns true if the entry can be cleaned or false otherwise.
- Specified by:
isCleanable
in interface CleanFilter
- 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
cleanMergeMap
public void cleanMergeMap(Map mergeMap)
- Description copied from interface:
CleanFilter
- This method is called to clean the merge map.
- Specified by:
cleanMergeMap
in interface CleanFilter
- Parameters:
mergeMap
- the merge map
isCleanable
public boolean isCleanable(InnerLogEntry entry)
- Description copied from interface:
CleanFilter
- Returns true if the entry can be cleaned or false otherwise.
- Specified by:
isCleanable
in interface CleanFilter
- Parameters:
entry
- the entry to be checked
- Returns:
- true if the entry can be cleaned or false otherwise
toString
public String toString()
- Overrides:
toString
in class Object
setBeginStamp
public void setBeginStamp(Stamp startStamp)
setBeginTime
public void setBeginTime(long startTime)
setEndStamp
public void setEndStamp(Stamp endStamp)
setEndTime
public void setEndTime(long endTime)
setRemoveDeleted
public void setRemoveDeleted(boolean v)
setMergeMinorUpdate
public void setMergeMinorUpdate(boolean v)
setMergeMetadataUpdate
public void setMergeMetadataUpdate(boolean v)
setMergeMajorUpdate
public void setMergeMajorUpdate(boolean v)
setUridSet
public void setUridSet(Set uridSet)
setRemoveMilestone
public void setRemoveMilestone(boolean v)
setWorkspaceSet
public void setWorkspaceSet(Set wsSet)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.