Static methods for RxGORM for REST
Type | Name and description |
---|---|
java.util.Observable<D> |
findAll(groovy.lang.Closure callable) Finds all entities and return an observable |
java.util.Observable<D> |
findAll(java.util.Map args, groovy.lang.Closure callable) Finds all entities and return an observable |
java.util.Observable<D> |
fromJson(java.lang.String json) Construct and object from JSON |
java.util.Observable<D> |
fromJson(java.io.Reader reader) Construct and object from JSON |
java.util.Observable<D> |
get(java.io.Serializable id, groovy.lang.Closure callable) Retrieve an instance by id |
java.util.Observable<D> |
get(java.io.Serializable id, java.util.Map arguments, groovy.lang.Closure callable) Retrieve an instance by id |
java.util.Observable<java.util.List<D>> |
list(groovy.lang.Closure callable) List all entities and return an observable |
java.util.Observable<java.util.List<D>> |
list(java.util.Map args, groovy.lang.Closure callable) List all entities and return an observable |
RestDetachedCriteria<D> |
where(groovy.lang.Closure callable) @param callable Callable closure containing detached criteria definition |
RestDetachedCriteria<D> |
whereAny(groovy.lang.Closure callable) @param callable Callable closure containing detached criteria definition |
RestDetachedCriteria<D> |
whereLazy(groovy.lang.Closure callable) @param callable Callable closure containing detached criteria definition |
Methods inherited from class | Name |
---|---|
interface grails.gorm.rx.api.RxGormStaticOperations |
grails.gorm.rx.api.RxGormStaticOperations#proxy(java.io.Serializable, java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#proxy(java.io.Serializable), grails.gorm.rx.api.RxGormStaticOperations#proxy(grails.gorm.rx.DetachedCriteria, java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#proxy(grails.gorm.rx.DetachedCriteria), grails.gorm.rx.api.RxGormStaticOperations#last(), grails.gorm.rx.api.RxGormStaticOperations#last(java.lang.String), grails.gorm.rx.api.RxGormStaticOperations#last(java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#findAll(), grails.gorm.rx.api.RxGormStaticOperations#findAll(groovy.lang.Closure), grails.gorm.rx.api.RxGormStaticOperations#findAll(java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#saveAll([Ljava.lang.Object;), grails.gorm.rx.api.RxGormStaticOperations#saveAll(java.lang.Iterable, java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#saveAll(java.lang.Iterable), grails.gorm.rx.api.RxGormStaticOperations#findWhere(java.util.Map, java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#findWhere(java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#findOrCreateWhere(java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#findOrSaveWhere(java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#findAllWhere(java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#findAllWhere(java.util.Map, java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#where(groovy.lang.Closure), grails.gorm.rx.api.RxGormStaticOperations#whereLazy(groovy.lang.Closure), grails.gorm.rx.api.RxGormStaticOperations#whereAny(groovy.lang.Closure), grails.gorm.rx.api.RxGormStaticOperations#createCriteria(), grails.gorm.rx.api.RxGormStaticOperations#withCriteria(java.util.Map, groovy.lang.Closure), grails.gorm.rx.api.RxGormStaticOperations#withCriteria(groovy.lang.Closure), grails.gorm.rx.api.RxGormStaticOperations#staticMethodMissing(java.lang.String, java.lang.Object), grails.gorm.rx.api.RxGormStaticOperations#staticPropertyMissing(java.lang.String), grails.gorm.rx.api.RxGormStaticOperations#withTenant(java.io.Serializable), grails.gorm.rx.api.RxGormStaticOperations#withTenant(java.io.Serializable, groovy.lang.Closure), grails.gorm.rx.api.RxGormStaticOperations#eachTenant(groovy.lang.Closure), grails.gorm.rx.api.RxGormStaticOperations#deleteAll([Ljava.lang.Object;), grails.gorm.rx.api.RxGormStaticOperations#deleteAll(java.lang.Iterable), grails.gorm.rx.api.RxGormStaticOperations#insertAll(java.lang.Iterable, java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#insertAll(java.lang.Iterable), grails.gorm.rx.api.RxGormStaticOperations#insertAll([Ljava.lang.Object;), grails.gorm.rx.api.RxGormStaticOperations#get(java.io.Serializable), grails.gorm.rx.api.RxGormStaticOperations#get(java.io.Serializable, java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#count(), grails.gorm.rx.api.RxGormStaticOperations#find(groovy.lang.Closure), grails.gorm.rx.api.RxGormStaticOperations#first(java.lang.String), grails.gorm.rx.api.RxGormStaticOperations#first(), grails.gorm.rx.api.RxGormStaticOperations#first(java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#create(), grails.gorm.rx.api.RxGormStaticOperations#list(), grails.gorm.rx.api.RxGormStaticOperations#list(java.util.Map), grails.gorm.rx.api.RxGormStaticOperations#exists(java.io.Serializable) |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Finds all entities and return an observable
Finds all entities and return an observable
Construct and object from JSON
json
- The JSON stringConstruct and object from JSON
reader
- The readerRetrieve an instance by id
id
- The id of the instanceRetrieve an instance by id
id
- The id of the instanceList all entities and return an observable
List all entities and return an observable
callable
- Callable closure containing detached criteria definition
callable
- Callable closure containing detached criteria definition
callable
- Callable closure containing detached criteria definition