接口 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) 已过时。default DeleteCommandbatchDeleteCommand(Class<?> type, Collection<?> ids) 已过时。default <E> BatchSaveResult<E>batchSave(Collection<E> entities) This method will be deleted in 1.0, please usesaveAll(Collection)default <E> BatchEntitySaveCommand<E>batchSaveCommand(Collection<E> entities) 已过时。default DeleteResultdefault DeleteResultdelete(Class<?> type, Object id, DeleteMode mode) default DeleteResultdeleteAll(Class<?> type, Collection<?> ids) default DeleteResultdeleteAll(Class<?> type, Collection<?> ids, DeleteMode mode) deleteAllCommand(Class<?> type, Collection<?> ids) deleteCommand(Class<?> type, Object id) default DeleteCommanddeleteCommand(Class<?> type, Object id, DeleteMode mode) <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) default <E> BatchSaveResult<E>saveAll(Collection<E> entities) <E> BatchEntitySaveCommand<E>saveAllCommand(Collection<E> entities) <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
-
saveAll
-
batchSave
This method will be deleted in 1.0, please usesaveAll(Collection) -
save
-
saveCommand
-
saveAllCommand
-
batchSaveCommand
已过时。This method will be deleted in 1.0, please usesaveAllCommand(Collection) -
delete
-
delete
-
deleteCommand
-
deleteCommand
-
deleteAll
-
deleteAll
-
batchDelete
已过时。This method will be deleted in 1.0, please usesaveAllCommand(Collection) -
batchDelete
已过时。This method will be deleted in 1.0, please usedeleteAll(Class, Collection, DeleteMode) -
deleteAllCommand
-
batchDeleteCommand
已过时。This method will be deleted in 1.0, please usedeleteAllCommand(Class, Collection)
-