Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » impl » [javadoc | source]
org.hibernate.impl
public class: FilterImpl [javadoc | source]
java.lang.Object
   org.hibernate.impl.FilterImpl

All Implemented Interfaces:
    org.hibernate.Filter, Serializable

Implementation of FilterImpl. FilterImpl implements the user's view into enabled dynamic filters, allowing them to set filter parameter values.
Field Summary
public static final  String MARKER     
Constructor:
 public FilterImpl(FilterDefinition configuration) 
    Constructs a new FilterImpl.
    Parameters:
    configuration - The filter's global configuration.
Method from org.hibernate.impl.FilterImpl Summary:
afterDeserialize,   getFilterDefinition,   getName,   getParameter,   getParameters,   setParameter,   setParameterList,   setParameterList,   validate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.impl.FilterImpl Detail:
  void afterDeserialize(SessionFactoryImpl factory) 
 public FilterDefinition getFilterDefinition() 
 public String getName() 
    Get the name of this filter.
 public Object getParameter(String name) 
    Get the value of the named parameter for the current filter.
 public Map getParameters() 
 public Filter setParameter(String name,
    Object value) throws IllegalArgumentException 
    Set the named parameter's value for this filter.
 public Filter setParameterList(String name,
    Collection values) throws HibernateException 
    Set the named parameter's value list for this filter. Used in conjunction with IN-style filter criteria.
 public Filter setParameterList(String name,
    Object[] values) throws IllegalArgumentException 
    Set the named parameter's value list for this filter. Used in conjunction with IN-style filter criteria.
 public  void validate() throws HibernateException 
    Perform validation of the filter state. This is used to verify the state of the filter after its enablement and before its use.