Class RepositorySupport

java.lang.Object
io.quarkus.spring.data.runtime.RepositorySupport

public final class RepositorySupport extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    clear(Class<?> clazz)
     
    static void
    deleteAll(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Iterable<?> entities)
     
    static List<?>
    findByIds(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Iterable<?> ids)
     
    static void
    flush(Class<?> clazz)
     
    static Object
    getById(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id)
    Deprecated.
    use
    invalid @link
    {@link RepositorySupport#getReferenceById)
    } instead.
    static Object
    getOne(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id)
    Deprecated.
    use
    invalid @link
    {@link RepositorySupport#getReferenceById)
    } instead.
    static Object
    getReferenceById(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • findByIds

      public static List<?> findByIds(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Iterable<?> ids)
    • deleteAll

      public static void deleteAll(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Iterable<?> entities)
    • getOne

      @Deprecated public static Object getOne(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id)
      Deprecated.
      use
      invalid @link
      {@link RepositorySupport#getReferenceById)
      } instead.
      Add call to the Panache method implementing the actual retrieving of a reference to an entity with the given class and identifier.
      Parameters:
      operations - an instance of AbstractJpaOperations used to perform JPA operations
      entityClass - the Class object of the entity type to be retrieved
      id - the identifier of the entity to be retrieved
      Returns:
      a reference to the entity of the specified class with the given identifier
    • getById

      @Deprecated public static Object getById(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id)
      Deprecated.
      use
      invalid @link
      {@link RepositorySupport#getReferenceById)
      } instead.
      Add call to the Panache method implementing the actual retrieving of a reference to an entity with the given class and identifier.
      Parameters:
      operations - an instance of AbstractJpaOperations used to perform JPA operations
      entityClass - the Class object of the entity type to be retrieved
      id - the identifier of the entity to be retrieved
      Returns:
      a reference to the entity of the specified class with the given identifier
    • getReferenceById

      public static Object getReferenceById(io.quarkus.hibernate.orm.panache.common.runtime.AbstractManagedJpaOperations<io.quarkus.hibernate.orm.panache.PanacheQuery<?>> operations, Class<?> entityClass, Object id)
    • clear

      public static void clear(Class<?> clazz)
    • flush

      public static void flush(Class<?> clazz)