|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.comarquage.util.cache.genericimpl.AbstractChainNode
fr.paris.lutece.plugins.comarquage.util.cache.genericimpl.AbstractFilter
public abstract class AbstractFilter
Common abstract filter
No properties read here.
| Constructor Summary | |
|---|---|
AbstractFilter(java.lang.String strImplementationName,
java.lang.String strImplementationDescription)
Public constructor |
|
| Method Summary | |
|---|---|
java.lang.Object |
doFilter(IContextChainManager filterManager,
java.lang.Object element)
Do the filter job: by default, nothing happen (the entered element is returned) |
java.lang.Object |
getObject(IContextChainManager filterManager,
java.io.Serializable key,
java.lang.Object element)
Research an object in the cache section If cache/filter find the object from a "source", he must call @link #doFilter(IContextChainManager, Serializable, Object) before returning the object. |
void |
init(java.lang.String strBase)
Init the instance with params based on prefix strBase |
| Methods inherited from class fr.paris.lutece.plugins.comarquage.util.cache.genericimpl.AbstractChainNode |
|---|
getImplementationDescription, getImplementationName, readInitKeyAdapter, readInitObjectTransform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFilter(java.lang.String strImplementationName,
java.lang.String strImplementationDescription)
strImplementationName - the name of the implementation classstrImplementationDescription - the description of the implementation| Method Detail |
|---|
public void init(java.lang.String strBase)
IChainNodestrBase
init in interface IChainNodeinit in class AbstractChainNodestrBase - The prefix of params to searchIChainNode.init(String)
public final java.lang.Object getObject(IContextChainManager filterManager,
java.io.Serializable key,
java.lang.Object element)
IChainNode
filterManager - Context calling manager (needed to call some service or next element in filter's chain)key - The unique key of objectelement - The element to work (null if no element given)
null if no object foundIChainNode.getObject(IContextChainManager, Serializable, Object)
public java.lang.Object doFilter(IContextChainManager filterManager,
java.lang.Object element)
filterManager - The context filter manager, used to call other filter or paramselement - the element to filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||