Package org.openxava.filters
Class UserFilter
- java.lang.Object
-
- org.openxava.filters.UserFilter
-
- All Implemented Interfaces:
java.io.Serializable
,IFilter
public class UserFilter extends java.lang.Object implements IFilter
Inserts the name of the current user as first parameter.- Author:
- Javier Paniza
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
filter(java.lang.Object o)
protected java.lang.String
getUser()
The user name used for filtering.
-
-
-
Method Detail
-
filter
public java.lang.Object filter(java.lang.Object o) throws FilterException
- Specified by:
filter
in interfaceIFilter
- Parameters:
o
- Argument to filter. A object.- Returns:
- Argument filtered. Can be a object array.
- Throws:
FilterException
- Any problem.
-
getUser
protected java.lang.String getUser()
The user name used for filtering.
-
-