| Modifier and Type | Method and Description |
|---|---|
<T extends BaseDbBean> |
create(T bean)
Inspects the object, handles encryption and creating through the proper API.
|
<T extends BaseDbBean> |
create(T bean,
UserAuthInfo userAuthInfo)
Inspects the object, handles encryption and creating through the proper API.
|
<T extends BaseDbBean> |
delete(Class<T> classType,
String locationUrl)
Deletes the object.
|
<T extends BaseDbBean> |
delete(Class<T> classType,
String locationUrl,
UserAuthInfo userAuthInfo)
Deletes the object.
|
<T extends BaseDbBean> |
delete(T bean)
Deletes the object.
|
<T extends BaseDbBean> |
delete(T bean,
UserAuthInfo userAuthInfo)
Deletes the object.
|
void |
deleteContextObject(String type,
String locationUrl)
Deletes a context object.
|
void |
deleteContextObject(String type,
String locationUrl,
UserAuthInfo userAuthInfo)
Deletes a context object.
|
<T extends BaseDbBean> |
flush(Class<T> classType)
Flushes (deletes) all the objects in your organization that are part of your workgroup.
|
<T extends BaseDbBean> |
flush(Class<T> classType,
UserAuthInfo userAuthInfo)
Flushes (deletes) all the objects in your organization that are part of your workgroup.
|
void |
flush(String type)
Flushes (deletes) all the objects in your organization that are part of your workgroup.
|
void |
flush(String type,
UserAuthInfo userAuthInfo)
Flushes (deletes) all the objects in your organization that are part of your workgroup.
|
<T extends BaseDbBean> |
get(Class<T> classType,
String locationUrl)
Retrieves the object through the proper API and decrypts it before returning to the user.
|
<T extends BaseDbBean> |
get(Class<T> classType,
String locationUrl,
UserAuthInfo userAuthInfo)
Retrieves the object through the proper API and decrypts it before returning to the user.
|
AccessToken |
getAccessToken(String scope)
Gets access token.
|
ContextObject |
getContextObject(String type,
String locationUrl)
Retrieves a context object through the proper API and decrypts it before returning to the user.
|
ContextObject |
getContextObject(String type,
String locationUrl,
UserAuthInfo userAuthInfo)
Retrieves a context object through the proper API and decrypts it before returning to the user.
|
<T extends BaseDbBean> |
search(Class<T> classType,
SearchParameters searchParams,
Operation op)
Searches for all objects matching the search params for the API.
|
<T extends BaseDbBean> |
search(Class<T> classType,
SearchParameters searchParams,
Operation op,
UserAuthInfo userAuthInfo)
Searches for all objects matching the search params for the API.
|
<T extends BaseDbBean> |
update(T bean)
Inspects the object, handles encryption and updating through the proper API.
|
<T extends BaseDbBean> |
update(T bean,
UserAuthInfo userAuthInfo)
Inspects the object, handles encryption and updating through the proper API.
|
<T extends BaseDbBean> |
waitForFlushComplete(Class<T> classType,
int waitSeconds)
Wait for flush to complete.
|
<T extends BaseDbBean> |
waitForFlushComplete(Class<T> classType,
int waitSeconds,
UserAuthInfo userAuthInfo)
Wait for flush to complete.
|
FlushStatusBean |
waitForFlushComplete(String type,
int waitSeconds)
Wait for flush to complete.
|
FlushStatusBean |
waitForFlushComplete(String type,
int waitSeconds,
UserAuthInfo userAuthInfo)
Wait for flush to complete.
|
addStateListener, destroy, getStatus, getVersion, handleException, init, init, removeStateListener, updateAndReloadConfigAsync, updateAndReloadConfigSync<T extends BaseDbBean> ClientResponse create(T bean)
T - Type of beanbean - bean to create<T extends BaseDbBean> ClientResponse create(T bean, UserAuthInfo userAuthInfo)
T - Type of beanbean - bean to createuserAuthInfo - the access token and user information to do this operation<T extends BaseDbBean> ClientResponse update(T bean)
T - Type of beanbean - bean to update<T extends BaseDbBean> ClientResponse update(T bean, UserAuthInfo userAuthInfo)
T - Type of beanbean - bean to updateuserAuthInfo - the access token and user information to do this operation<T extends BaseDbBean> T get(Class<T> classType, String locationUrl)
T - Type of beanclassType - type of beanlocationUrl - location URL of the object to obtain. Can be either absolute, relative, or (if the type isn't ContextObject) just the ID.<T extends BaseDbBean> T get(Class<T> classType, String locationUrl, UserAuthInfo userAuthInfo)
T - Type of beanclassType - type of beanlocationUrl - location URL of the object to obtain. Can be either absolute, relative, or (if the type isn't ContextObject) just the ID.userAuthInfo - the access token and user information to do this operationContextObject getContextObject(String type, String locationUrl)
type - The type of context object to get.locationUrl - location URL of the object to obtain. Can be either absolute, relative, or just the ID.ContextObject getContextObject(String type, String locationUrl, UserAuthInfo userAuthInfo)
type - The type of context object to get.locationUrl - location URL of the object to obtain. Can be either absolute, relative, or just the ID.userAuthInfo - the access token and user information to do this operation<T extends BaseDbBean> List<T> search(Class<T> classType, SearchParameters searchParams, Operation op)
T - type of beanclassType - type of beansearchParams - key-value search parametersop - operation to use if multiple search params present<T extends BaseDbBean> List<T> search(Class<T> classType, SearchParameters searchParams, Operation op, UserAuthInfo userAuthInfo)
T - type of beanclassType - type of beansearchParams - key-value search parametersop - operation to use if multiple search params presentuserAuthInfo - the access token and user information to do this operation<T extends BaseDbBean> void delete(T bean)
T - type of beanbean - object to delete<T extends BaseDbBean> void delete(T bean, UserAuthInfo userAuthInfo)
T - type of beanbean - object to deleteuserAuthInfo - the access token and user information to do this operation<T extends BaseDbBean> void delete(Class<T> classType, String locationUrl)
T - type of beanlocationUrl - location of the object to delete. Can be either absolute, relative, or (if the type isn't ContextObject) just the ID.classType - type of bean<T extends BaseDbBean> void delete(Class<T> classType, String locationUrl, UserAuthInfo userAuthInfo)
T - type of beanlocationUrl - location of the object to delete. Can be either absolute, relative, or (if the type isn't ContextObject) just the ID.classType - type of beanuserAuthInfo - the access token and user information to do this operationvoid deleteContextObject(String type, String locationUrl)
type - The type of context object to delete.locationUrl - location of the object to delete. Can be either absolute, relative, or just the ID.void deleteContextObject(String type, String locationUrl, UserAuthInfo userAuthInfo)
type - The type of context object to delete.locationUrl - location of the object to delete. Can be either absolute, relative, or just the ID.userAuthInfo - the access token and user information to do this operation<T extends BaseDbBean> void flush(Class<T> classType)
T - type of beanclassType - type of beanvoid flush(String type)
type - The type of context object to flush.<T extends BaseDbBean> void flush(Class<T> classType, UserAuthInfo userAuthInfo)
T - type of beanclassType - type of beanuserAuthInfo - the access token and user information to do this operationvoid flush(String type, UserAuthInfo userAuthInfo)
type - The type of context object to flush.userAuthInfo - the access token and user information to do this operation<T extends BaseDbBean> FlushStatusBean waitForFlushComplete(Class<T> classType, int waitSeconds)
classType - type of beanwaitSeconds - maximum time, in seconds, to wait for flush to completeFlushStatusBean waitForFlushComplete(String type, int waitSeconds)
type - The type of context object being flushed.waitSeconds - maximum time, in seconds, to wait for flush to complete<T extends BaseDbBean> FlushStatusBean waitForFlushComplete(Class<T> classType, int waitSeconds, UserAuthInfo userAuthInfo)
classType - type of beanwaitSeconds - maximum time, in seconds, to wait for flush to completeFlushStatusBean waitForFlushComplete(String type, int waitSeconds, UserAuthInfo userAuthInfo)
type - The type of context object being flushed.waitSeconds - maximum time, in seconds, to wait for flush to completeAccessToken getAccessToken(String scope)
scope - the scopeCopyright © 2018. All rights reserved.