|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IBatch
This interface controls the security batch operations. It allows batching multiple security requests
together and committing them to the CMS in one network call. Used by ISecCacheController and
ISecCacheControllerAdmin to batch up security info retrieval queries, and by ISecRightsAdmin
to batch up multiple security updates queries.
| Method Summary | |
|---|---|
int |
batch()
Begin a batch operation. |
int |
batch(boolean useCache)
Begin a batch operation specifying whether cache should be checked first before the requests go to the server. |
int |
batch(CacheModes cacheMode)
Begin a batch operation specifying whether cache should be checked first before the requests go to the server. |
int |
commit()
Commit the batch operation. |
int |
rollback()
Rollback a batch operation. |
| Method Detail |
|---|
int batch()
throws SDKException
com.crystaldecisions.sdk.occa.security.internal.SecurityException.BatchState exception
ISecurityResult indicating the status of the batch operation
SDKException
int batch(boolean useCache)
throws SDKException
com.crystaldecisions.sdk.occa.security.internal.SecurityException.BatchState exception
useCache - true if security cache will be examined before requests go to the server. In other words,
if the answer to certain requests has already been cached and the cache has not expired, these requests will not go to
the server. And false if the cache is ignored and all requests go to the server for process.
Note that if a request is an admin security request from ISecCacheControllerAdmin, the cache will not be checked
even if the useCache is passed in as true. Use IBatch.batch(CacheModes cacheMode) to be more specific
ISecurityResult indicating the status of the batch operation
SDKException
int batch(CacheModes cacheMode)
throws SDKException
com.crystaldecisions.sdk.occa.security.internal.SecurityException.BatchState exception
cacheMode - A value from CacheModes.
ISecurityResult indicating the status of the batch operation
SDKException
int commit()
throws SDKException
com.crystaldecisions.sdk.occa.security.internal.SecurityException.BatchState exception will be raised
ISecurityResult indicating the status of the batch operation
SDKException
int rollback()
throws SDKException
com.crystaldecisions.sdk.occa.security.internal.SecurityException.BatchState exception
ISecurityResult indicating the status of the batch operation
SDKException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||