Enhances RxEntity instances with behaviour necessary at runtime
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
close() |
|
static RxDatastoreClient |
findDatastoreClientByType(java.lang.Class<? extends RxDatastoreClient> datastoreType)Finds a datastore by type |
<T> |
static RxGormInstanceApi<T> |
findInstanceApi(java.lang.Class<T> type, java.lang.String qualifier = findTenantId(type)Find the instance API for the given type |
|
static RxDatastoreClient |
findSingleDatastoreClient()Finds a single datastore |
<T> |
static RxGormStaticApi<T> |
findStaticApi(java.lang.Class<T> type, java.lang.String qualifier = findTenantId(type)Find the static API for the given type |
|
static java.lang.String |
findTenantId(java.lang.Class entity)Find the tenant id for the given entity |
<T> |
static RxGormValidationApi<T> |
findValidationApi(java.lang.Class<T> type, java.lang.String qualifier = findTenantId(type)Find the validation API for the given type |
|
static void |
registerEntity(PersistentEntity entity, RxDatastoreClient client)Registers a new entity with the RxGormEnhancer |
|
protected static void |
registerEntityWithConnectionSource(PersistentEntity entity, java.lang.String qualifierName, java.lang.String connectionSourceName, RxDatastoreClientImplementor rxDatastoreClientImplementor) |
| Methods inherited from class | Name |
|---|---|
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 a datastore by type
datastoreType - The datastore typeFind the instance API for the given type
type - The typequalifier - The qualifierFinds a single datastore
Find the static API for the given type
type - The typequalifier - The qualifierFind the tenant id for the given entity
Find the validation API for the given type
type - The typequalifier - The qualifierRegisters a new entity with the RxGormEnhancer
entity - The entityclient - The clienttenantResolver - The tenant resolver