X
- The entity type for which this modification query ispublic interface ReturningModificationCriteriaBuilderFactory<X>
Modifier and Type | Method and Description |
---|---|
<T> ReturningDeleteCriteriaBuilder<T,X> |
delete(Class<T> deleteClass)
Like
delete(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> ReturningDeleteCriteriaBuilder<T,X> |
delete(Class<T> deleteClass,
String alias)
Creates a new delete criteria builder for the given entity class.
|
<T> ReturningDeleteCriteriaBuilder<T,X> |
deleteCollection(Class<T> deleteOwnerClass,
String collectionName)
Like
deleteCollection(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> ReturningDeleteCriteriaBuilder<T,X> |
deleteCollection(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.
|
<T> ReturningInsertCriteriaBuilder<T,X> |
insert(Class<T> insertClass)
Creates a new insert criteria builder for the given entity class.
|
<T> ReturningInsertCriteriaBuilder<T,X> |
insertCollection(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> ReturningUpdateCriteriaBuilder<T,X> |
update(Class<T> updateClass)
Like
update(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> ReturningUpdateCriteriaBuilder<T,X> |
update(Class<T> updateClass,
String alias)
Creates a new update criteria builder for the given entity class.
|
<T> ReturningUpdateCriteriaBuilder<T,X> |
updateCollection(Class<T> updateOwnerClass,
String collectionName)
Like
CriteriaBuilderFactory.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> ReturningUpdateCriteriaBuilder<T,X> |
updateCollection(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.
|
<T> ReturningDeleteCriteriaBuilder<T,X> delete(Class<T> deleteClass)
delete(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 criteriadeleteClass
- The entity class for the delete criteria<T> ReturningDeleteCriteriaBuilder<T,X> delete(Class<T> deleteClass, String alias)
T
- The type of the entity for the delete criteriadeleteClass
- The entity class for the delete criteriaalias
- The alias that should be used for the entity<T> ReturningDeleteCriteriaBuilder<T,X> deleteCollection(Class<T> deleteOwnerClass, String collectionName)
deleteCollection(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 criteriadeleteOwnerClass
- The entity class owning the collection for the delete criteriacollectionName
- The name of the collection contained in the owner entity class<T> ReturningDeleteCriteriaBuilder<T,X> deleteCollection(Class<T> deleteOwnerClass, String alias, String collectionName)
T
- The type of the entity for the delete criteriadeleteOwnerClass
- 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> ReturningUpdateCriteriaBuilder<T,X> update(Class<T> updateClass)
update(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 criteriaupdateClass
- The entity class for the update criteria<T> ReturningUpdateCriteriaBuilder<T,X> update(Class<T> updateClass, String alias)
T
- The type of the entity for the update criteriaupdateClass
- The entity class for the update criteriaalias
- The alias that should be used for the entity<T> ReturningUpdateCriteriaBuilder<T,X> updateCollection(Class<T> updateOwnerClass, String collectionName)
CriteriaBuilderFactory.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 criteriaupdateOwnerClass
- The entity class owning the collection for the update criteriacollectionName
- The name of the collection contained in the owner entity class<T> ReturningUpdateCriteriaBuilder<T,X> updateCollection(Class<T> updateOwnerClass, String alias, String collectionName)
T
- The type of the entity for the update criteriaupdateOwnerClass
- 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> ReturningInsertCriteriaBuilder<T,X> insert(Class<T> insertClass)
T
- The type of the entity for the insert criteriainsertClass
- The entity class for the insert criteria<T> ReturningInsertCriteriaBuilder<T,X> insertCollection(Class<T> insertOwnerClass, String collectionName)
T
- The type of the entity for the insert criteriainsertOwnerClass
- The entity class owning the collection for the insert criteriacollectionName
- The name of the collection contained in the owner entity classCopyright © 2014–2018 Blazebit. All rights reserved.