public abstract class AbstractFilter<ItemType,PersistType> extends Object implements Filter<ItemType,PersistType>
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected FilterRegistry |
filterRegistry |
Constructor and Description |
---|
AbstractFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
isActive()
Determines whether the filter is active
|
void |
register()
Registers this filter with the filter registry
|
void |
setActive(boolean active)
Sets whether this filter is active
|
void |
setFilterRegistry(FilterRegistry filterRegistry)
Sets the filter registry
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
afterGenerate, afterPersist, beforeGenerate, beforePersist
protected FilterRegistry filterRegistry
protected boolean active
public void setFilterRegistry(FilterRegistry filterRegistry)
filterRegistry
- The FilterRegistry instancepublic void setActive(boolean active)
active
- true if the filter should be activepublic void register()
public boolean isActive()
Filter
isActive
in interface Filter<ItemType,PersistType>
Copyright © 2005–2017 Alfresco Software. All rights reserved.