Static methods for RxGORM for REST
Type Params | Return 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 RxGormStaticOperations |
count, create, createCriteria, deleteAll, deleteAll, eachTenant, exists, find, findAll, findAll, findAll, findAllWhere, findAllWhere, findOrCreateWhere, findOrSaveWhere, findWhere, findWhere, first, first, first, get, get, insertAll, insertAll, insertAll, last, last, last, list, list, proxy, proxy, proxy, proxy, saveAll, saveAll, saveAll, staticMethodMissing, staticPropertyMissing, where, whereAny, whereLazy, withCriteria, withCriteria, withTenant, withTenant |
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