接口 Entities

所有超级接口:
Saver
所有已知实现类:
EntitiesImpl

public interface Entities extends Saver
To be absolutely cache friendly, all query methods like "find...ById(s)" of this class ignore the global filters. The mentions here ignore global filters, only for aggregate root objects, excluding deeper objects fetched by object fetcher.
  • 方法详细资料

    • forUpdate

      @NewChain Entities forUpdate()
    • forConnection

      @NewChain Entities forConnection(Connection con)
    • findById

      @Nullable <T> T findById(Class<T> type, Object id)
      类型参数:
      T - Entity type or output DTO type
    • findOneById

      @NotNull <T> T findOneById(Class<T> type, Object id)
      类型参数:
      T - Entity type or output DTO type
    • findByIds

      @NotNull <T> @NotNull List<T> findByIds(Class<T> type, Iterable<?> ids)
      类型参数:
      T - Entity type or output DTO type
    • findMapByIds

      @NotNull <ID, T> @NotNull Map<ID,T> findMapByIds(Class<T> type, Iterable<ID> ids)
      类型参数:
      T - Entity type or output DTO type
    • findById

      @Nullable <E> E findById(Fetcher<E> fetcher, Object id)
    • findOneById

      @NotNull <E> E findOneById(Fetcher<E> fetcher, Object id)
    • findByIds

      @NotNull <E> @NotNull List<E> findByIds(Fetcher<E> fetcher, Iterable<?> ids)
    • findMapByIds

      @NotNull <ID, E> @NotNull Map<ID,E> findMapByIds(Fetcher<E> fetcher, Iterable<ID> ids)
    • findAll

      <T> List<T> findAll(Class<T> type)
    • findAll

      <T> List<T> findAll(Class<T> type, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findAll

      <E> List<E> findAll(Fetcher<E> fetcher, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findByExample

      <E> List<E> findByExample(Example<E> example, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findByExample

      <E> List<E> findByExample(Example<E> example, Fetcher<E> fetcher, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findExample

      <E, V extends org.babyfish.jimmer.View<E>> List<V> findExample(Class<V> viewType, Example<E> example, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • delete

      default DeleteResult delete(Class<?> type, Object id)
    • delete

      default DeleteResult delete(Class<?> type, Object id, DeleteMode mode)
    • deleteCommand

      DeleteCommand deleteCommand(Class<?> type, Object id)
    • deleteCommand

      default DeleteCommand deleteCommand(Class<?> type, Object id, DeleteMode mode)
    • deleteAll

      default DeleteResult deleteAll(Class<?> type, Iterable<?> ids)
    • deleteAll

      default DeleteResult deleteAll(Class<?> type, Iterable<?> ids, DeleteMode mode)
    • deleteAllCommand

      DeleteCommand deleteAllCommand(Class<?> type, Iterable<?> ids)