@groovy.transform.CompileStatic class TenantDelegatingRxGormOperations<D> extends java.lang.Object implements RxGormAllOperations<D>
Delegates to a RxGORM API ensuring the tenant id is correct
Modifiers | Name | Description |
---|---|---|
private RxDatastoreClient |
datastoreClient |
|
private java.lang.Class<RxDatastoreClient> |
datastoreClientClass |
|
private RxGormAllOperations<D> |
delegateOperations |
|
private java.io.Serializable |
tenantId |
Type | Name and description |
---|---|
RxDatastoreClient |
datastoreClient |
java.lang.Class<RxDatastoreClient> |
datastoreClientClass |
RxGormAllOperations<D> |
delegateOperations |
java.io.Serializable |
tenantId |
Constructor and description |
---|
TenantDelegatingRxGormOperations
(RxDatastoreClient datastoreClient, java.io.Serializable tenantId, RxGormAllOperations<D> delegateOperations) |
Type Params | Return Type | Name and description |
---|---|---|
|
rx.Observable<java.lang.Number> |
count() |
|
D |
create() |
|
CriteriaBuilder<D> |
createCriteria() |
|
rx.Observable<java.lang.Boolean> |
delete(D instance) |
|
rx.Observable<java.lang.Boolean> |
delete(D instance, java.util.Map arguments) |
|
rx.Observable<java.lang.Number> |
deleteAll(D[] objects) |
|
rx.Observable<java.lang.Number> |
deleteAll(java.lang.Iterable<D> objects) |
|
RxGormAllOperations<D> |
eachTenant(groovy.lang.Closure callable) |
|
rx.Observable<java.lang.Boolean> |
exists(java.io.Serializable id) |
|
rx.Observable<D> |
find(groovy.lang.Closure callable) |
|
rx.Observable<D> |
findAll() |
|
rx.Observable<D> |
findAll(java.util.Map args) |
|
rx.Observable<D> |
findAll(groovy.lang.Closure callable) |
|
rx.Observable<D> |
findAllWhere(java.util.Map queryMap) |
|
rx.Observable<D> |
findAllWhere(java.util.Map queryMap, java.util.Map args) |
|
rx.Observable<D> |
findOrCreateWhere(java.util.Map queryMap) |
|
rx.Observable<D> |
findOrSaveWhere(java.util.Map queryMap) |
|
rx.Observable<D> |
findWhere(java.util.Map queryMap) |
|
rx.Observable<D> |
findWhere(java.util.Map queryMap, java.util.Map args) |
|
rx.Observable<D> |
first() |
|
rx.Observable<D> |
first(java.lang.String propertyName) |
|
rx.Observable<D> |
first(java.util.Map queryParams) |
|
rx.Observable<D> |
get(java.io.Serializable id) |
|
rx.Observable<D> |
get(java.io.Serializable id, java.util.Map queryArgs) |
|
java.io.Serializable |
ident(D instance) |
|
rx.Observable<D> |
insert(D instance) |
|
rx.Observable<D> |
insert(D instance, java.util.Map arguments) |
|
rx.Observable<java.util.List<java.io.Serializable>> |
insertAll(java.lang.Iterable<D> objects) |
|
rx.Observable<java.util.List<java.io.Serializable>> |
insertAll(java.lang.Iterable<D> objects, java.util.Map arguments) |
|
rx.Observable<java.util.List<java.io.Serializable>> |
insertAll(D[] objects) |
|
rx.Observable<D> |
last() |
|
rx.Observable<D> |
last(java.lang.String propertyName) |
|
rx.Observable<D> |
last(java.util.Map params) |
|
rx.Observable<java.util.List<D>> |
list() |
|
rx.Observable<java.util.List<D>> |
list(java.util.Map args) |
|
ObservableProxy<D> |
proxy(java.io.Serializable id) |
|
ObservableProxy<D> |
proxy(java.io.Serializable id, java.util.Map queryArgs) |
|
ObservableProxy<D> |
proxy(DetachedCriteria<D> query) |
|
ObservableProxy<D> |
proxy(DetachedCriteria<D> query, java.util.Map queryArgs) |
|
rx.Observable<D> |
save(D instance) |
|
rx.Observable<D> |
save(D instance, java.util.Map arguments) |
|
rx.Observable<java.util.List<java.io.Serializable>> |
saveAll(java.lang.Iterable<D> objects) |
|
rx.Observable<java.util.List<java.io.Serializable>> |
saveAll(java.lang.Iterable<D> objects, java.util.Map arguments) |
|
rx.Observable<java.util.List<java.io.Serializable>> |
saveAll(D[] objects) |
|
rx.Observable<D> |
staticMethodMissing(java.lang.String methodName, java.lang.Object arg) |
|
java.lang.Object |
staticPropertyMissing(java.lang.String property) |
|
DetachedCriteria<D> |
where(groovy.lang.Closure callable) |
|
DetachedCriteria<D> |
whereAny(groovy.lang.Closure callable) |
|
DetachedCriteria<D> |
whereLazy(groovy.lang.Closure callable) |
|
rx.Observable |
withCriteria(groovy.lang.Closure callable) |
|
rx.Observable |
withCriteria(java.util.Map builderArgs, groovy.lang.Closure callable) |
<T> |
T |
withTenant(java.io.Serializable tenantId, groovy.lang.Closure<T> callable) |
|
RxGormAllOperations<D> |
withTenant(java.io.Serializable tenantId) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Groovy Documentation