org.alfresco.repo.forms.processor
Class FilterRegistry

java.lang.Object
  extended by org.alfresco.repo.forms.processor.FilterRegistry

public class FilterRegistry
extends java.lang.Object

Holds a list of filters for a type of form processor.

Each filter is called before and after the processor generates and persists the form, thus allowing the form and the effected objects to be manipulated prior to generation or persistence or after the fact.

Each filter is responsible for determing whether it applies to the item being processed.

See Also:
Filter

Field Summary
protected  java.util.List filters
           
 
Constructor Summary
FilterRegistry()
          Constructs the registry
 
Method Summary
 void addFilter(Filter filter)
          Registers a filter
 java.util.List getFilters()
          Returns a list of active filters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filters

protected java.util.List filters
Constructor Detail

FilterRegistry

public FilterRegistry()
Constructs the registry

Method Detail

addFilter

public void addFilter(Filter filter)
Registers a filter

Parameters:
filter - The Filter to regsiter

getFilters

public java.util.List getFilters()
Returns a list of active filters

Returns:
List of active Filter objects


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