keycloak
|
公開メンバ関数 | |
PropertyQuery< V > | addCriteria (PropertyCriteria criteria) |
Property< V > | getFirstResult () |
Property< V > | getFirstWritableResult () |
Property< V > | getSingleResult () |
Property< V > | getWritableSingleResult () |
Map< String, Property< V > > | getResultList () |
Map< String, Property< V > > | getWritableResultList () |
関数 | |
PropertyQuery (Class<?> targetClass) | |
非公開メンバ関数 | |
Map< String, Property< V > > | getResultList (boolean writable) |
非公開変数類 | |
final Class<?> | targetClass |
final List< PropertyCriteria > | criteria |
Queries a target class for properties that match certain criteria. A property may either be a private or public field, declared by the target class or inherited from a superclass, or a public method declared by the target class or inherited from any of its superclasses. For properties that are exposed via a method, the property must be a JavaBean style property, i.e. it must provide both an accessor and mutator method according to the JavaBean specification.
This class is not thread-safe, however the result returned by the getResultList() method is.
|
inlinepackage |
|
inline |
Add a criteria to query
criteria | the criteria to add |
|
inline |
Get the first result from the query, causing the query to be run.
|
inline |
Get the first result from the query that is not marked as read only, causing the query to be run.
|
inline |
Get the result from the query, causing the query to be run.
|
inlineprivate |
Get the result from the query, causing the query to be run.
writable | if this query should only return properties that are not read only |
|
inline |
Get a single result from the query, causing the query to be run. An exception is thrown if the query does not return exactly one result.
RuntimeException | if the query does not return exactly one result |
|
inline |
Get the non read only results from the query, causing the query to be run.
|
inline |
Get a single result from the query that is not marked as read only, causing the query to be run. An exception is thrown if the query does not return exactly one result.
RuntimeException | if the query does not return exactly one result |
|
private |
|
private |