接口 Entities

所有已知实现类:
EntitiesImpl

public interface Entities
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

      <E> E findById(Class<E> entityType, Object id)
    • findByIds

      <E> List<E> findByIds(Class<E> entityType, Collection<?> ids)
    • findMapByIds

      <ID, E> Map<ID,E> findMapByIds(Class<E> entityType, Collection<ID> ids)
    • findById

      <E> E findById(Fetcher<E> fetcher, Object id)
    • findByIds

      <E> List<E> findByIds(Fetcher<E> fetcher, Collection<?> ids)
    • findMapByIds

      <ID, E> Map<ID,E> findMapByIds(Fetcher<E> fetcher, Collection<ID> ids)
    • findAll

      <E> List<E> findAll(Class<E> 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)
    • findStaticById

      <E, S extends org.babyfish.jimmer.Static<E>> S findStaticById(Class<S> staticType, Object id)
    • findStaticByIds

      <E, S extends org.babyfish.jimmer.Static<E>> List<S> findStaticByIds(Class<S> staticType, Collection<?> ids)
    • findStaticMapByIds

      <ID, E, S extends org.babyfish.jimmer.Static<E>> Map<ID,S> findStaticMapByIds(Class<S> staticType, Collection<ID> ids)
    • findAllStatic

      <E, S extends org.babyfish.jimmer.Static<E>> List<S> findAllStatic(Class<S> staticType, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • findStaticByExample

      <E, S extends org.babyfish.jimmer.Static<E>> List<S> findStaticByExample(Class<S> staticType, Example<E> example, org.babyfish.jimmer.meta.TypedProp.Scalar<?,?>... sortedProps)
    • save

      default <E> SimpleSaveResult<E> save(E entity)
    • save

      default <E> SimpleSaveResult<E> save(E entity, boolean autoAttachingAll)
    • saveCommand

      <E> SimpleEntitySaveCommand<E> saveCommand(E entity)
    • saveCommand

      default <E> SimpleEntitySaveCommand<E> saveCommand(E entity, boolean autoAttachAll)
    • batchSave

      default <E> BatchSaveResult<E> batchSave(Collection<E> entities)
    • batchSave

      default <E> BatchSaveResult<E> batchSave(Collection<E> entities, boolean autoAttachingAll)
    • batchSaveCommand

      <E> BatchEntitySaveCommand<E> batchSaveCommand(Collection<E> entities)
    • batchSaveCommand

      default <E> BatchEntitySaveCommand<E> batchSaveCommand(Collection<E> entities, boolean autoAttachAll)
    • delete

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

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

      default DeleteResult batchDelete(Class<?> entityType, Collection<?> ids)
    • batchDeleteCommand

      DeleteCommand batchDeleteCommand(Class<?> entityType, Collection<?> ids)