@groovy.transform.CompileStatic class RxRestGormInstanceApi extends RxGormInstanceApi
Instance operations for RxGORM for REST
Constructor and description |
---|
RxRestGormInstanceApi
(PersistentEntity entity, RxDatastoreClient datastoreClient) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Observable<java.lang.Boolean> |
delete(D instance, groovy.lang.Closure callable) |
|
java.util.Observable<java.lang.Boolean> |
delete(D instance, java.util.Map arguments, groovy.lang.Closure callable) |
|
java.util.Observable<D> |
insert(D instance, groovy.lang.Closure callable) |
|
java.util.Observable<D> |
insert(D instance, java.util.Map arguments, groovy.lang.Closure callable) |
|
java.util.Observable<D> |
patch(D instance, groovy.lang.Closure callable) |
|
java.util.Observable<D> |
patch(D instance, java.util.Map arguments = [:], groovy.lang.Closure callable = null) |
|
protected java.util.Map |
populateArgumentsForSave(java.util.Map arguments, HttpMethod httpMethod, groovy.lang.Closure callable) |
|
java.util.Observable<D> |
post(D instance, groovy.lang.Closure callable) |
|
java.util.Observable<D> |
post(D instance, java.util.Map arguments = [:], groovy.lang.Closure callable = null) |
|
java.util.Observable<D> |
save(D instance, groovy.lang.Closure callable) |
|
java.util.Observable<D> |
save(D instance, java.util.Map arguments, groovy.lang.Closure callable) |
|
java.lang.String |
toJson(D instance) |
|
void |
toJson(D instance, java.io.Writer writer) |
Methods inherited from class | Name |
---|---|
class RxGormInstanceApi |
delete, delete, ident, insert, save |
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() |