|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.openutils.hibernate.example.FilterMetadataSupport
public class FilterMetadataSupport
legacy support for filter metadata.
| Constructor Summary | |
|---|---|
FilterMetadataSupport(Object entity,
Map<String,? extends FilterMetadata> filterMetadata)
builds an instance of ExampleTree associated with the input entity |
|
| Method Summary | |
|---|---|
org.hibernate.Criteria |
appendTo(org.hibernate.Criteria crit,
org.hibernate.Session ses)
appends examples and subcriteria, created for the entity this example tree was initialized with, to the input criteria, and then returns it |
org.hibernate.Criteria |
create(org.hibernate.Session ses)
creates a criteria with the input session, adds to it an example for the input entity, and creates subcriteria and related examples for non-null property values on the filter entity that correspond to associations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterMetadataSupport(Object entity,
Map<String,? extends FilterMetadata> filterMetadata)
ExampleTree associated with the input entity
entity - the example entity| Method Detail |
|---|
public org.hibernate.Criteria create(org.hibernate.Session ses)
ses - the session
public org.hibernate.Criteria appendTo(org.hibernate.Criteria crit,
org.hibernate.Session ses)
crit - the criteria to append toses - the session
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||