ConfigurationSource, ServiceProviderpublic interface CriteriaBuilderFactory extends ServiceProvider, ConfigurationSource
| Modifier and Type | Method | Description |
|---|---|---|
<T> CriteriaBuilder<T> |
create(javax.persistence.EntityManager entityManager,
Class<T> resultClass) |
Like
create(javax.persistence.EntityManager, java.lang.Class, java.lang.String) but with the alias
equivalent to the camel cased result of what Class.getSimpleName() of the result class returns. |
<T> CriteriaBuilder<T> |
create(javax.persistence.EntityManager entityManager,
Class<T> resultClass,
String alias) |
Creates a new criteria builder with the given result class.
|
<T> DeleteCriteriaBuilder<T> |
delete(javax.persistence.EntityManager entityManager,
Class<T> deleteClass) |
Like
delete(javax.persistence.EntityManager, java.lang.Class, java.lang.String) but with the alias
equivalent to the camel cased result of what Class.getSimpleName() of the delete class returns. |
<T> DeleteCriteriaBuilder<T> |
delete(javax.persistence.EntityManager entityManager,
Class<T> deleteClass,
String alias) |
Creates a new delete criteria builder for the given entity class.
|
<T> DeleteCriteriaBuilder<T> |
deleteCollection(javax.persistence.EntityManager entityManager,
Class<T> deleteOwnerClass,
String collectionName) |
Like
deleteCollection(javax.persistence.EntityManager, java.lang.Class, java.lang.String, java.lang.String) but with the alias
equivalent to the camel cased result of what Class.getSimpleName() of the delete owner class returns. |
<T> DeleteCriteriaBuilder<T> |
deleteCollection(javax.persistence.EntityManager entityManager,
Class<T> deleteOwnerClass,
String alias,
String collectionName) |
Creates a new delete criteria builder for the given entity class and collection name to delete elements of the
entity class's collection.
|
Map<String,JpqlFunction> |
getRegisteredFunctions() |
Returns all functions that are available in queries as a map of function name to
JpqlFunction. |
<T> InsertCriteriaBuilder<T> |
insert(javax.persistence.EntityManager entityManager,
Class<T> insertClass) |
Creates a new insert criteria builder for the given entity class.
|
<T> InsertCriteriaBuilder<T> |
insertCollection(javax.persistence.EntityManager entityManager,
Class<T> insertOwnerClass,
String collectionName) |
Creates a new insert criteria builder for the given entity class and collection name to update elements of the
entity class's collection.
|
<T> StartOngoingSetOperationCriteriaBuilder<T,LeafOngoingFinalSetOperationCriteriaBuilder<T>> |
startSet(javax.persistence.EntityManager entityManager,
Class<T> resultClass) |
Starts a criteria builder with a nested set operation builder.
|
<T> UpdateCriteriaBuilder<T> |
update(javax.persistence.EntityManager entityManager,
Class<T> updateClass) |
Like
update(javax.persistence.EntityManager, java.lang.Class, java.lang.String) but with the alias
equivalent to the camel cased result of what Class.getSimpleName() of the update class returns. |
<T> UpdateCriteriaBuilder<T> |
update(javax.persistence.EntityManager entityManager,
Class<T> updateClass,
String alias) |
Creates a new update criteria builder for the given entity class.
|
<T> UpdateCriteriaBuilder<T> |
updateCollection(javax.persistence.EntityManager entityManager,
Class<T> updateOwnerClass,
String collectionName) |
Like
updateCollection(javax.persistence.EntityManager, java.lang.Class, java.lang.String, java.lang.String) but with the alias
equivalent to the camel cased result of what Class.getSimpleName() of the delete owner class returns. |
<T> UpdateCriteriaBuilder<T> |
updateCollection(javax.persistence.EntityManager entityManager,
Class<T> updateOwnerClass,
String alias,
String collectionName) |
Creates a new update criteria builder for the given entity class and collection name to update elements of the
entity class's collection.
|
getProperties, getPropertygetServiceMap<String,JpqlFunction> getRegisteredFunctions()
JpqlFunction.<T> StartOngoingSetOperationCriteriaBuilder<T,LeafOngoingFinalSetOperationCriteriaBuilder<T>> startSet(javax.persistence.EntityManager entityManager, Class<T> resultClass)
T - The type of the result classentityManager - The entity manager to use for the criteria builderresultClass - The result class of the query<T> CriteriaBuilder<T> create(javax.persistence.EntityManager entityManager, Class<T> resultClass)
create(javax.persistence.EntityManager, java.lang.Class, java.lang.String) but with the alias
equivalent to the camel cased result of what Class.getSimpleName() of the result class returns.T - The type of the result classentityManager - The entity manager to use for the criteria builderresultClass - The result class of the query<T> CriteriaBuilder<T> create(javax.persistence.EntityManager entityManager, Class<T> resultClass, String alias)
FromBuilder.from(java.lang.Class, java.lang.String).T - The type of the result classentityManager - The entity manager to use for the criteria builderresultClass - The result class of the queryalias - The alias that should be used for the result class from clause<T> DeleteCriteriaBuilder<T> delete(javax.persistence.EntityManager entityManager, Class<T> deleteClass)
delete(javax.persistence.EntityManager, java.lang.Class, java.lang.String) but with the alias
equivalent to the camel cased result of what Class.getSimpleName() of the delete class returns.T - The type of the entity for the delete criteriaentityManager - The entity manager to use for the delete criteria builderdeleteClass - The entity class for the delete criteria<T> DeleteCriteriaBuilder<T> delete(javax.persistence.EntityManager entityManager, Class<T> deleteClass, String alias)
T - The type of the entity for the delete criteriaentityManager - The entity manager to use for the delete criteria builderdeleteClass - The entity class for the delete criteriaalias - The alias that should be used for the entity<T> DeleteCriteriaBuilder<T> deleteCollection(javax.persistence.EntityManager entityManager, Class<T> deleteOwnerClass, String collectionName)
deleteCollection(javax.persistence.EntityManager, java.lang.Class, java.lang.String, java.lang.String) but with the alias
equivalent to the camel cased result of what Class.getSimpleName() of the delete owner class returns.T - The type of the entity for the delete criteriaentityManager - The entity manager to use for the delete criteria builderdeleteOwnerClass - The entity class owning the collection for the delete criteriacollectionName - The name of the collection contained in the owner entity class<T> DeleteCriteriaBuilder<T> deleteCollection(javax.persistence.EntityManager entityManager, Class<T> deleteOwnerClass, String alias, String collectionName)
T - The type of the entity for the delete criteriaentityManager - The entity manager to use for the delete criteria builderdeleteOwnerClass - The entity class owning the collection for the delete criteriaalias - The alias that should be used for the entitycollectionName - The name of the collection contained in the owner entity class<T> UpdateCriteriaBuilder<T> update(javax.persistence.EntityManager entityManager, Class<T> updateClass)
update(javax.persistence.EntityManager, java.lang.Class, java.lang.String) but with the alias
equivalent to the camel cased result of what Class.getSimpleName() of the update class returns.T - The type of the entity for the update criteriaentityManager - The entity manager to use for the update criteria builderupdateClass - The entity class for the update criteria<T> UpdateCriteriaBuilder<T> update(javax.persistence.EntityManager entityManager, Class<T> updateClass, String alias)
T - The type of the entity for the update criteriaentityManager - The entity manager to use for the update criteria builderupdateClass - The entity class for the update criteriaalias - The alias that should be used for the entity<T> UpdateCriteriaBuilder<T> updateCollection(javax.persistence.EntityManager entityManager, Class<T> updateOwnerClass, String collectionName)
updateCollection(javax.persistence.EntityManager, java.lang.Class, java.lang.String, java.lang.String) but with the alias
equivalent to the camel cased result of what Class.getSimpleName() of the delete owner class returns.T - The type of the entity for the update criteriaentityManager - The entity manager to use for the update criteria builderupdateOwnerClass - The entity class owning the collection for the update criteriacollectionName - The name of the collection contained in the owner entity class<T> UpdateCriteriaBuilder<T> updateCollection(javax.persistence.EntityManager entityManager, Class<T> updateOwnerClass, String alias, String collectionName)
T - The type of the entity for the update criteriaentityManager - The entity manager to use for the update criteria builderupdateOwnerClass - The entity class owning the collection for the update criteriaalias - The alias that should be used for the entitycollectionName - The name of the collection contained in the owner entity class<T> InsertCriteriaBuilder<T> insert(javax.persistence.EntityManager entityManager, Class<T> insertClass)
T - The type of the entity for the insert criteriaentityManager - The entity manager to use for the insert criteria builderinsertClass - The entity class for the insert criteria<T> InsertCriteriaBuilder<T> insertCollection(javax.persistence.EntityManager entityManager, Class<T> insertOwnerClass, String collectionName)
T - The type of the entity for the insert criteriaentityManager - The entity manager to use for the insert criteria builderinsertOwnerClass - The entity class owning the collection for the insert criteriacollectionName - The name of the collection contained in the owner entity classCopyright © 2014–2020 Blazebit. All rights reserved.