org.alfresco.repo.forms.processor
Class AbstractFilter

java.lang.Object
  extended by org.alfresco.repo.forms.processor.AbstractFilter
All Implemented Interfaces:
Filter

public abstract class AbstractFilter
extends java.lang.Object
implements Filter

Abstract base class for all Filter implementations.


Field Summary
protected  boolean active
           
protected  FilterRegistry filterRegistry
           
 
Constructor Summary
AbstractFilter()
           
 
Method Summary
 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
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.alfresco.repo.forms.processor.Filter
afterGenerate, afterPersist, beforeGenerate, beforePersist
 

Field Detail

filterRegistry

protected FilterRegistry filterRegistry

active

protected boolean active
Constructor Detail

AbstractFilter

public AbstractFilter()
Method Detail

setFilterRegistry

public void setFilterRegistry(FilterRegistry filterRegistry)
Sets the filter registry

Parameters:
filterRegistry - The FilterRegistry instance

setActive

public void setActive(boolean active)
Sets whether this filter is active

Parameters:
active - true if the filter should be active

register

public void register()
Registers this filter with the filter registry


isActive

public boolean isActive()
Description copied from interface: Filter
Determines whether the filter is active

Specified by:
isActive in interface Filter
Returns:
true if the filter is active

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.