RepositoryServiceDefault

Default implementation of RepositoryService .

API

RepositoryServiceDefault.java
class RepositoryServiceDefault {
  public static final String LOGICAL_TYPE_NAME;
  void init()
  EntityState getEntityState(Object object)
  T detachedEntity(T entity)
  T execInBulk(Callable<T> callable)
  T persist(T domainObject)
  T persistAndFlush(T object)
  void remove(Object domainObject)
  void removeAndFlush(Object domainObject)
  List<T> allInstances(Class<T> type)
  List<T> allInstances(Class<T> type, long start, long count)
  List<T> allMatches(Class<T> ofType, Predicate<? super T> predicate)
  List<T> allMatches(Class<T> ofType, Predicate<? super T> predicate, long start, long count)
  List<T> allMatches(Query<T> query)
  List<T> submitQuery(Query<T> query)
  Optional<T> uniqueMatch(Class<T> type, Predicate<T> predicate)
  Optional<T> uniqueMatch(Query<T> query)
  Optional<T> firstMatch(Class<T> type, Predicate<T> predicate)
  Optional<T> firstMatch(Query<T> query)
  T refresh(T entity)
  T detach(T entity)
  void removeAll(Class<T> cls)
}