interface RxGormInstanceOperations<D>
Methods on instances
Type Params | Return Type | Name and description |
---|---|---|
|
abstract rx.Observable<java.lang.Boolean> |
delete(D instance) Deletes an entity |
|
abstract rx.Observable<java.lang.Boolean> |
delete(D instance, java.util.Map arguments) Deletes an entity |
|
abstract java.io.Serializable |
ident(D instance) Obtain the objects identifier |
|
abstract rx.Observable<D> |
insert(D instance) Saves an entity and returns an rx.Observable, forcing an insert operation regardless whether an identifier is already present or not |
|
abstract rx.Observable<D> |
insert(D instance, java.util.Map arguments) Saves an entity and returns an rx.Observable, forcing an insert operation regardless whether an identifier is already present or not |
|
abstract rx.Observable<D> |
save(D instance) Saves an entity and returns an rx.Observable, picking either an insert or an update automatically based on whether the object has an id already. |
|
abstract rx.Observable<D> |
save(D instance, java.util.Map arguments) Saves an entity and returns an rx.Observable, picking either an insert or an update automatically based on whether the object has an id already. |
Deletes an entity
Deletes an entity
instance
- The instancearguments
- The argumentsObtain the objects identifier
instance
- The instanceSaves an entity and returns an rx.Observable, forcing an insert operation regardless whether an identifier is already present or not
Saves an entity and returns an rx.Observable, forcing an insert operation regardless whether an identifier is already present or not
arguments
- The arguments to the save methodSaves an entity and returns an rx.Observable, picking either an insert or an update automatically based on whether the object has an id already.
Saves an entity and returns an rx.Observable, picking either an insert or an update automatically based on whether the object has an id already.
arguments
- The arguments to the save method