Interface PersistentEntityCriteriaDelete<T>

Type Parameters:
T - The entity type
All Superinterfaces:
jakarta.persistence.criteria.CommonAbstractCriteria, jakarta.persistence.criteria.CriteriaDelete<T>, PersistentEntityCommonAbstractCriteria
All Known Subinterfaces:
SourcePersistentEntityCriteriaDelete<T>
All Known Implementing Classes:
AbstractPersistentEntityCriteriaDelete

public interface PersistentEntityCriteriaDelete<T> extends jakarta.persistence.criteria.CriteriaDelete<T>, PersistentEntityCommonAbstractCriteria
The persistent entity CriteriaDelete.
Since:
3.2
Author:
Denis Stepanov
  • Method Details

    • from

      PersistentEntityRoot<T> from(PersistentEntity persistentEntity)
    • from

      PersistentEntityRoot<T> from(Class<T> entityClass)
      Specified by:
      from in interface jakarta.persistence.criteria.CriteriaDelete<T>
    • from

      PersistentEntityRoot<T> from(jakarta.persistence.metamodel.EntityType<T> entity)
      Specified by:
      from in interface jakarta.persistence.criteria.CriteriaDelete<T>
    • getRoot

      Specified by:
      getRoot in interface jakarta.persistence.criteria.CriteriaDelete<T>
    • where

      PersistentEntityCriteriaDelete<T> where(jakarta.persistence.criteria.Expression<Boolean> restriction)
      Specified by:
      where in interface jakarta.persistence.criteria.CriteriaDelete<T>
    • where

      PersistentEntityCriteriaDelete<T> where(jakarta.persistence.criteria.Predicate... restrictions)
      Specified by:
      where in interface jakarta.persistence.criteria.CriteriaDelete<T>
    • returning

      @NonNull @NonNull PersistentEntityCriteriaDelete<T> returning(@NonNull @NonNull jakarta.persistence.criteria.Selection<? extends T> selection)
      The returning result of the query.
      Parameters:
      selection - The selection to return
      Returns:
      The delete criteria.
      Since:
      4.2.0
    • returningMulti

      @NonNull @NonNull PersistentEntityCriteriaDelete<T> returningMulti(@NonNull @NonNull jakarta.persistence.criteria.Selection<?>... selections)
      The returning result of the query.
      Parameters:
      selections - The multi selection to return
      Returns:
      The delete criteria.
      Since:
      4.2.0
    • returningMulti

      @NonNull @NonNull PersistentEntityCriteriaDelete<T> returningMulti(@NonNull @NonNull List<jakarta.persistence.criteria.Selection<?>> selectionList)
      The returning result of the query.
      Parameters:
      selectionList - The multi selection to return
      Returns:
      The delete criteria.
      Since:
      4.2.0