Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserFilter

        public UserFilter()
    • Method Detail

      • filter

        public java.lang.Object filter​(java.lang.Object o)
                                throws FilterException
        Specified by:
        filter in interface IFilter
        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.