com.crystaldecisions.sdk.occa.security
Interface ISecurityResult


public interface ISecurityResult

Result from a security request. Use getStatus() to check if the request is processed successfully. Use getResult to get the result of the request.


Field Summary
static int CE_SEC_BATCHED
          The security request is batched for future processing
static int CE_SEC_DENIED
          The boolean right security request returns denied
static int CE_SEC_GRANTED
          The boolean right security request returns granted
static int CE_SEC_NOT_EXIST
          The security info requested does not exist
static int CE_SEC_OK
          The security request is processed successfully
 
Method Summary
 java.lang.Object getResult()
          Returns the result of the security request.
 int getStatus()
          Returns the status of a security request.
 

Field Detail

CE_SEC_OK

static final int CE_SEC_OK
The security request is processed successfully


CE_SEC_GRANTED

static final int CE_SEC_GRANTED
The boolean right security request returns granted


CE_SEC_DENIED

static final int CE_SEC_DENIED
The boolean right security request returns denied


CE_SEC_BATCHED

static final int CE_SEC_BATCHED
The security request is batched for future processing


CE_SEC_NOT_EXIST

static final int CE_SEC_NOT_EXIST
The security info requested does not exist

Method Detail

getStatus

int getStatus()
Returns the status of a security request.

Returns:
the status of a security request. One of the consts defined in this interface

getResult

java.lang.Object getResult()
Returns the result of the security request. The result type differs for each type of requests. Check the documentation of each security request listed in ISecCacheController, ISecCacheControllerAdmin, ISecRights, ISecRightsAdmin for the type of result returned.

Returns:
the result of the security request