Class DefaultCollectionInitializer
java.lang.Object
ch.tocco.nice2.persist.core.api.hibernate.interceptor.AbstractCollectionInitializer
ch.tocco.nice2.persist.core.impl.hibernate.interceptor.DefaultCollectionInitializer
- All Implemented Interfaces:
CollectionInitializer
A default implementation of
CollectionInitializer
which uses the EntityQueryBuilder
and CountQueryBuilder
to load the collection, which means that all QueryBuilderInterceptor
will be used for the query.-
Field Summary
Fields inherited from class ch.tocco.nice2.persist.core.api.hibernate.interceptor.AbstractCollectionInitializer
dataModel, persistService
-
Constructor Summary
ConstructorDescriptionDefaultCollectionInitializer
(NiceDataModel dataModel, PersistenceService persistService) -
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.hibernate.interceptor.AbstractCollectionInitializer
countCollectionElements, createQueryBuilder, doCountCollectionElements, doGetCollectionElements, getCollectionElements, modifyDefaultQuery
-
Constructor Details
-
DefaultCollectionInitializer
-
-
Method Details
-
supports
- Returns:
- true if this
CollectionInitializer
supports resolving this relation
-
priority
- Returns:
- the priority in case multiple
CollectionInitializer
can resolve a relation
-