Class FilterRegistry<ItemType,PersistType>
java.lang.Object
org.alfresco.repo.forms.processor.FilterRegistry<ItemType,PersistType>
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.
- Author:
- Gavin Cornwell
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilter(Filter<ItemType, PersistType> filter) Registers a filterReturns a list of active filters
-
Field Details
-
filters
-
-
Constructor Details
-
FilterRegistry
public FilterRegistry()Constructs the registry
-
-
Method Details
-
addFilter
Registers a filter- Parameters:
filter- The Filter to regsiter
-
getFilters
Returns a list of active filters- Returns:
- List of active Filter objects
-