接口 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.
-
方法概要
修饰符和类型方法说明default DeleteResultbatchDelete(Class<?> entityType, Collection<?> ids) batchDeleteCommand(Class<?> entityType, Collection<?> ids) default <E> BatchSaveResult<E>batchSave(Collection<E> entities) default <E> BatchSaveResult<E>batchSave(Collection<E> entities, boolean autoAttachingAll) <E> BatchEntitySaveCommand<E>batchSaveCommand(Collection<E> entities) default <E> BatchEntitySaveCommand<E>batchSaveCommand(Collection<E> entities, boolean autoAttachAll) default DeleteResultdeleteCommand(Class<?> entityType, Object id) <E> List<E><E> List<E><E> List<E>findByExample(Example<E> example, org.babyfish.jimmer.meta.TypedProp.Scalar<?, ?>... sortedProps) <E> List<E>findByExample(Example<E> example, Fetcher<E> fetcher, org.babyfish.jimmer.meta.TypedProp.Scalar<?, ?>... sortedProps) <E> E<E> E<E> List<E>findByIds(Class<E> entityType, Collection<?> ids) <E> List<E>findByIds(Fetcher<E> fetcher, Collection<?> ids) <ID,E> Map<ID, E> findMapByIds(Class<E> entityType, Collection<ID> ids) <ID,E> Map<ID, E> findMapByIds(Fetcher<E> fetcher, Collection<ID> ids) forConnection(Connection con) default <E> SimpleSaveResult<E>save(E entity) default <E> SimpleSaveResult<E>save(E entity, boolean autoAttachingAll) default <E> SimpleSaveResult<E>save(org.babyfish.jimmer.Input<E> input) default <E> SimpleSaveResult<E>save(org.babyfish.jimmer.Input<E> input, boolean autoAttachingAll) <E> SimpleEntitySaveCommand<E>saveCommand(E entity) default <E> SimpleEntitySaveCommand<E>saveCommand(E entity, boolean autoAttachAll) default <E> SimpleEntitySaveCommand<E>saveCommand(org.babyfish.jimmer.Input<E> input) default <E> SimpleEntitySaveCommand<E>saveCommand(org.babyfish.jimmer.Input<E> input, boolean autoAttachAll)
-
方法详细资料
-
forUpdate
-
forConnection
-
findById
-
findByIds
-
findMapByIds
-
findById
-
findByIds
-
findMapByIds
-
findAll
-
findAll
-
findByExample
-
findByExample
-
save
-
save
-
saveCommand
-
saveCommand
-
batchSave
-
batchSave
-
batchSaveCommand
-
batchSaveCommand
default <E> BatchEntitySaveCommand<E> batchSaveCommand(Collection<E> entities, boolean autoAttachAll) -
save
-
save
-
saveCommand
-
saveCommand
default <E> SimpleEntitySaveCommand<E> saveCommand(org.babyfish.jimmer.Input<E> input, boolean autoAttachAll) -
delete
-
deleteCommand
-
batchDelete
-
batchDeleteCommand
-