public class GumgaGenericMongoRepository<T extends GumgaMongoModel> extends Object implements GumgaCrudRepository<T,String>
| Constructor and Description |
|---|
GumgaGenericMongoRepository() |
| Modifier and Type | Method and Description |
|---|---|
<A> SearchResult<A> |
advancedSearch(String selectQueryWithoutWhere,
String countObjt,
String ordenationId,
QueryObject whereQuery) |
long |
count() |
void |
delete(Iterable<? extends T> itrbl) |
void |
delete(String id) |
void |
delete(T t) |
void |
deleteAll() |
void |
deleteAllInBatch() |
void |
deleteInBatch(Iterable<T> itrbl) |
boolean |
exists(String id) |
List<T> |
findAll() |
List<T> |
findAll(Iterable<String> itrbl) |
org.springframework.data.domain.Page<T> |
findAll(org.springframework.data.domain.Pageable pgbl) |
List<T> |
findAll(org.springframework.data.domain.Sort sort) |
SearchResult<T> |
findAllWithTenancy() |
T |
findOne(String id) |
void |
flush() |
Object |
genericFindOne(Class clazz,
Object id) |
T |
getOne(String id) |
List<GumgaObjectAndRevision> |
listOldVersions(String id) |
<S extends T> |
save(Iterable<S> itrbl) |
<S extends T> |
save(S s) |
<S extends T> |
saveAndFlush(S s) |
Pesquisa<T> |
search() |
SearchResult<T> |
search(QueryObject query) |
SearchResult<T> |
search(String hql,
Map<String,Object> params) |
SearchResult<T> |
search(String hql,
Map<String,Object> params,
int max,
int first) |
public <A> SearchResult<A> advancedSearch(String selectQueryWithoutWhere, String countObjt, String ordenationId, QueryObject whereQuery)
advancedSearch in interface GumgaCrudRepository<T extends GumgaMongoModel,String>public long count()
count in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public void delete(String id)
delete in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public void delete(T t)
delete in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public void delete(Iterable<? extends T> itrbl)
delete in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public void deleteAll()
deleteAll in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public void deleteAllInBatch()
deleteAllInBatch in interface org.springframework.data.jpa.repository.JpaRepository<T extends GumgaMongoModel,String>public void deleteInBatch(Iterable<T> itrbl)
deleteInBatch in interface org.springframework.data.jpa.repository.JpaRepository<T extends GumgaMongoModel,String>public boolean exists(String id)
exists in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public List<T> findAll()
findAll in interface org.springframework.data.jpa.repository.JpaRepository<T extends GumgaMongoModel,String>findAll in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public List<T> findAll(org.springframework.data.domain.Sort sort)
findAll in interface org.springframework.data.jpa.repository.JpaRepository<T extends GumgaMongoModel,String>findAll in interface org.springframework.data.repository.PagingAndSortingRepository<T extends GumgaMongoModel,String>public List<T> findAll(Iterable<String> itrbl)
findAll in interface org.springframework.data.jpa.repository.JpaRepository<T extends GumgaMongoModel,String>findAll in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public org.springframework.data.domain.Page<T> findAll(org.springframework.data.domain.Pageable pgbl)
findAll in interface org.springframework.data.repository.PagingAndSortingRepository<T extends GumgaMongoModel,String>public SearchResult<T> findAllWithTenancy()
findAllWithTenancy in interface GumgaCrudRepository<T extends GumgaMongoModel,String>public T findOne(String id)
findOne in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public void flush()
flush in interface org.springframework.data.jpa.repository.JpaRepository<T extends GumgaMongoModel,String>public Object genericFindOne(Class clazz, Object id)
genericFindOne in interface GumgaCrudRepository<T extends GumgaMongoModel,String>public T getOne(String id)
getOne in interface org.springframework.data.jpa.repository.JpaRepository<T extends GumgaMongoModel,String>public List<GumgaObjectAndRevision> listOldVersions(String id)
listOldVersions in interface GumgaCrudRepository<T extends GumgaMongoModel,String>public <S extends T> List<S> save(Iterable<S> itrbl)
save in interface org.springframework.data.jpa.repository.JpaRepository<T extends GumgaMongoModel,String>save in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public <S extends T> S save(S s)
save in interface org.springframework.data.repository.CrudRepository<T extends GumgaMongoModel,String>public <S extends T> S saveAndFlush(S s)
saveAndFlush in interface org.springframework.data.jpa.repository.JpaRepository<T extends GumgaMongoModel,String>public SearchResult<T> search(QueryObject query)
search in interface GumgaCrudRepository<T extends GumgaMongoModel,String>public Pesquisa<T> search()
search in interface GumgaCrudRepository<T extends GumgaMongoModel,String>public SearchResult<T> search(String hql, Map<String,Object> params)
search in interface GumgaCrudRepository<T extends GumgaMongoModel,String>public SearchResult<T> search(String hql, Map<String,Object> params, int max, int first)
search in interface GumgaCrudRepository<T extends GumgaMongoModel,String>Copyright © 2017 Gumga. All rights reserved.