Skip navigation links
oracle.stellent.wcm.client.filter
Class FilterManager
java.lang.Object
oracle.stellent.wcm.client.filter.FilterManager
-
public class FilterManager
- extends java.lang.Object
Manage the invocation of the client filters
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXTENSION_PREFIX
public static final java.lang.String EXTENSION_PREFIX
-
- See Also:
- Constant Field Values
FilterManager
public FilterManager(ClientApplication clientApplication)
throws ApplicationException
-
- Throws:
ApplicationException
getFilterHandlers
public java.util.List<FilterHandler> getFilterHandlers()
-
- Returns:
- the list of client filter handlers
invokeFilter
public <T> T invokeFilter(java.lang.String filter,
FilterContext fc)
- Run the filter through all registered extensions
-
- Type Parameters:
T
- the type of object to retrieve from the filter
- Parameters:
filter
- the filter to invoke
fc
- the filter context
- Returns:
- the return value of the filter or null if no return value
invokeFilter
public <T> T invokeFilter(java.lang.String filter,
FilterContext fc,
T defaultValue)
- Run the filter through all registered extensions
-
- Type Parameters:
T
- the type of object to retrieve from the filter
- Parameters:
filter
- the filter to invoke
fc
- the filter context
defaultValue
- the default value to return if no return value is set
- Returns:
- the return value of the filter
loadExtensions
protected java.util.List<FilterHandler> loadExtensions()
throws ApplicationException
- Load the extensions from the configuration
-
- Returns:
- the extensions
- Throws:
ApplicationException
Skip navigation links
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.