接口 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<?> type, Collection<?> ids) default DeleteResultbatchDelete(Class<?> type, Collection<?> ids, DeleteMode mode) batchDeleteCommand(Class<?> type, Collection<?> ids) default <E> BatchSaveResult<E>batchSave(Collection<E> entities) <E> BatchEntitySaveCommand<E>batchSaveCommand(Collection<E> entities) default DeleteResultdefault DeleteResultdelete(Class<?> type, Object id, DeleteMode mode) deleteCommand(Class<?> type, Object id) <E> List<E><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> type, Collection<?> ids) <E> List<E>findByIds(Fetcher<E> fetcher, Collection<?> ids) <E,V extends org.babyfish.jimmer.View<E>>
List<V>findExample(Class<V> viewType, Example<E> example, org.babyfish.jimmer.meta.TypedProp.Scalar<?, ?>... sortedProps) <ID,E> Map<ID, E> findMapByIds(Class<E> type, 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(org.babyfish.jimmer.Input<E> input) <E> SimpleEntitySaveCommand<E>saveCommand(E entity) default <E> SimpleEntitySaveCommand<E>saveCommand(org.babyfish.jimmer.Input<E> input)
-
方法详细资料
-
forUpdate
-
forConnection
-
findById
-
findByIds
-
findMapByIds
-
findById
-
findByIds
-
findMapByIds
-
findAll
-
findAll
-
findAll
-
findByExample
-
findByExample
-
findExample
-
save
-
saveCommand
-
batchSave
-
batchSaveCommand
-
save
-
saveCommand
-
delete
-
delete
-
deleteCommand
-
batchDelete
-
batchDelete
-
batchDeleteCommand
-