Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.client.filter
Class FilterManager

java.lang.Object
  extended by oracle.stellent.wcm.client.filter.FilterManager


public class FilterManager
extends java.lang.Object

Manage the invocation of the client filters


Field Summary
static java.lang.String EXTENSION_PREFIX
           

 

Constructor Summary
FilterManager(ClientApplication clientApplication)
           

 

Method Summary
 java.util.List<FilterHandler> getFilterHandlers()
           
<T> T
invokeFilter(java.lang.String filter, FilterContext fc)
          Run the filter through all registered extensions
<T> T
invokeFilter(java.lang.String filter, FilterContext context, T defaultValue)
          Run the filter through all registered extensions
protected  java.util.List<FilterHandler> loadExtensions(ClientApplication clientApplication)
          Load the extensions from the configuration

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

EXTENSION_PREFIX

public static final java.lang.String EXTENSION_PREFIX
See Also:
Constant Field Values

Constructor Detail

FilterManager

public FilterManager(ClientApplication clientApplication)
              throws ApplicationException
Throws:
ApplicationException

Method Detail

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 context,
                          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
context - 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(ClientApplication clientApplication)
                                                throws ApplicationException
Load the extensions from the configuration
Returns:
the extensions
Throws:
ApplicationException

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.