java.lang.Object | |
↳ | org.hibernate.impl.FilterImpl |
Implementation of FilterImpl. FilterImpl implements the user's view into enabled dynamic filters, allowing them to set filter parameter values.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | MARKER |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new FilterImpl.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the filter definition containing additional information about the
filter (such as default-condition and expected parameter names/types).
| |||||||||||
Get the name of this filter.
| |||||||||||
Get the value of the named parameter for the current filter.
| |||||||||||
Set the named parameter's value for this filter.
| |||||||||||
Set the named parameter's value list for this filter.
| |||||||||||
Set the named parameter's value list for this filter.
| |||||||||||
Perform validation of the filter state.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.hibernate.Filter
|
Constructs a new FilterImpl.
configuration | The filter's global configuration. |
---|
Get the filter definition containing additional information about the filter (such as default-condition and expected parameter names/types).
Get the value of the named parameter for the current filter.
name | The name of the parameter for which to return the value. |
---|
Set the named parameter's value for this filter.
name | The parameter's name. |
---|---|
value | The value to be applied. |
IllegalArgumentException | Indicates that either the parameter was undefined or that the type of the passed value did not match the configured type. |
---|
Set the named parameter's value list for this filter. Used in conjunction with IN-style filter criteria.
name | The parameter's name. |
---|---|
values | The values to be expanded into an SQL IN list. |
HibernateException |
---|
Set the named parameter's value list for this filter. Used in conjunction with IN-style filter criteria.
name | The parameter's name. |
---|---|
values | The values to be expanded into an SQL IN list. |
IllegalArgumentException |
---|
Perform validation of the filter state. This is used to verify the state of the filter after its enablement and before its use.
HibernateException | If the state is not currently valid. |
---|