Skip navigation links


oracle.iam.oimcommon.api
Interface AccountService


public interface AccountService

TODO: Discuss about how to define constants.
Service interface to facilitate all Account related APIs which will be made thorugh OIMClient. Wrapper around OIMClient to hide complex API call patterns.


Field Summary
static int ACTIVE_ACCOUNTS
           
static int ALL_ACCOUNTS
           
static int ALL_ATTRIBUTES
           
static int AUDITABLE_ATTRIBUTES
           
static int CERTIFIABLE_ATTRIBUTES
           
static int ENTITLEMENT_MINABLE_ATTRIBUTES
           
static int IMPORTABLE_ATTRIBUTES
           
static int MANAGED_ATTRIBUTES
           
static int MANDATORY_ATTRIBUTES
           
static int MANGED_MANDATORY_ATTRIBUTES
           
static int MINABLE_ATTRIBUTES
           

 

Method Summary
 java.util.List filterHighItemAttributeValueIds(java.util.List values)
           
 java.util.List findCatalogs(java.util.List appInstancesIds)
           
 java.util.List findCatalogsByEntitlementIds(java.util.List entitlementIds)
           
 java.util.Map getAccountAttributes(java.lang.Long attributeId, java.lang.Long iamAttributeValueId, java.lang.Long endpointId)
           
 java.util.List getAccountsByAttributeValue(java.lang.Long attributeValueId, java.lang.Long endPointId, CertificationCreationContext certCreationContext)
           
 java.util.List getAccountsByDataOwner(java.lang.Long ownerId)
           
 java.util.List getAccountsByEntitlementDefinition(java.lang.Long entitlementDefinitionId)
          Returns the list of accounts which are using the given entitlement definition
 java.util.Map getAccountsMapByEntitlementIds(java.util.List entitlementIds, java.lang.Long appInstanceId, int accountStatus, CertificationCreationContext certCreationContext)
          retrieves accounts by entitlement ids and app instance id.
 java.util.Map getAccountsMapByEntitlementIds(java.util.List entitlementIds, java.lang.Long appInstanceId, int accountStatus, java.util.Set setOfUserIds, CertificationCreationContext certCreationContext)
          retrieves accounts by entitlement ids and app instance id
 java.lang.Long getAppInstanceIDByEntityId(java.lang.Long id)
           
 java.util.Map getAppInstanceMapByEntitlementIds(java.util.List entitlementIds)
          returns a map where entitlement id is key and app instance id is value.
 java.lang.Long getAttributeIdByEntityId(java.lang.Long id)
           
 java.util.Map getAttributeMapByEntitlementIds(java.util.List entitlementIds)
          Deprecated. 
 java.util.Map getAttributesByEntitlementIds(java.util.List entitlementIds)
          returns a map where entitlement id is key and attribute id is value.
 java.lang.String getAttributeValueByEntityId(java.lang.Long id)
           
 java.lang.Long getDataOwnerIdByEntityId(java.lang.Long id)
           
 java.util.List getEntityIdsByDataOwnerId(java.lang.Long id)
           
 java.lang.Integer getItemRiskByEntityId(java.lang.Long id)
           
 java.util.Map getUserAccountsByResourceTypes(java.util.List userIds, java.util.List certifiableResourceTypeIds, int attributeType)
           
 java.util.Map getUserAccountsByResourceTypes(java.util.List userIds, java.util.List certifiableResourceTypeIds, int attributeType, boolean includeAppInstanceCatalog)
           
 java.util.Map getUserAccountsMap(java.util.List userIds, int requiredAttributeFlags, boolean includeAppInstanceCatalogs, CertificationCreationContext certCreationContext, int accountStatus)
           
 java.util.Map getUserAccountsMap(java.util.List userIds, int requiredAttributeFlags, CertificationCreationContext certCreationContext)
          Returns map of userId(key) to list of accounts(value) for given user ids.
 java.util.Map getUserAccountsMap(java.util.List userIds, int i, java.lang.Object context)
           
 java.util.Map getUserAccountsMap(java.util.List userIds, int requiredAttributeFlags, RiskContext context, int accountStatus, CertificationCreationContext certCreationContext)
           
 java.util.Map getUserAccountsMapByAppInstanceIds(java.util.List userIds, java.util.List appInstanceIds, int requiredAttributeFlags, boolean includeAppInstanceCatalogs, CertificationCreationContext certCreationContext, int accountStatus)
           
 java.util.Map getUserAccountsMapByAppInstanceIds(java.util.List userIds, java.util.List appInstanceIds, int requiredAttributeFlags, CertificationCreationContext certCreationContext, int accountStatus)
          Returns map of userId(key) to list of accounts(value) for given user ids from given resources
 java.util.Map getUserAccountsMapByResource(java.util.List userIds, java.util.List resourceIds, int requiredAttributeFlags)
          Returns map of userId(key) to list of accounts(value) for given user ids from given resources
 void setDefaultItemRisksInCatalog(java.lang.Integer defaultApplicationInstanceRiskLevel, java.lang.Integer defaultEntitlementDefinitionRiskLevel)
           
 void updateAccountsAttributeValueRiskAttributes(java.util.List accountAttributeValuesToUpdate)
           
 void updateAccountsRiskAttributes(java.util.List accountsToUpdate)
           

 

Field Detail

MANDATORY_ATTRIBUTES

static final int MANDATORY_ATTRIBUTES
See Also:
Constant Field Values

MANAGED_ATTRIBUTES

static final int MANAGED_ATTRIBUTES
See Also:
Constant Field Values

AUDITABLE_ATTRIBUTES

static final int AUDITABLE_ATTRIBUTES
See Also:
Constant Field Values

IMPORTABLE_ATTRIBUTES

static final int IMPORTABLE_ATTRIBUTES
See Also:
Constant Field Values

MINABLE_ATTRIBUTES

static final int MINABLE_ATTRIBUTES
See Also:
Constant Field Values

ENTITLEMENT_MINABLE_ATTRIBUTES

static final int ENTITLEMENT_MINABLE_ATTRIBUTES
See Also:
Constant Field Values

CERTIFIABLE_ATTRIBUTES

static final int CERTIFIABLE_ATTRIBUTES
See Also:
Constant Field Values

MANGED_MANDATORY_ATTRIBUTES

static final int MANGED_MANDATORY_ATTRIBUTES
See Also:
Constant Field Values

ALL_ATTRIBUTES

static final int ALL_ATTRIBUTES
See Also:
Constant Field Values

ALL_ACCOUNTS

static final int ALL_ACCOUNTS
See Also:
Constant Field Values

ACTIVE_ACCOUNTS

static final int ACTIVE_ACCOUNTS
See Also:
Constant Field Values

Method Detail

getUserAccountsMap

java.util.Map getUserAccountsMap(java.util.List userIds,
                                 int requiredAttributeFlags,
                                 CertificationCreationContext certCreationContext)
Returns map of userId(key) to list of accounts(value) for given user ids.
Parameters:
userIds - List of user Ids for which accounts are to be loaded
requiredAttributeFlags - AccountService constant to indicate which type of attributes should be loaded for the account
certCreationContext - Context to hold messages generated during certification creation
Returns:
Map of user id to list of accounts

getUserAccountsMap

java.util.Map getUserAccountsMap(java.util.List userIds,
                                 int requiredAttributeFlags,
                                 boolean includeAppInstanceCatalogs,
                                 CertificationCreationContext certCreationContext,
                                 int accountStatus)

getUserAccountsMap

java.util.Map getUserAccountsMap(java.util.List userIds,
                                 int requiredAttributeFlags,
                                 RiskContext context,
                                 int accountStatus,
                                 CertificationCreationContext certCreationContext)
Parameters:
userIds - List of user Ids for which accounts are to be loaded
requiredAttributeFlags - AccountService constant to indicate which type of attributes should be loaded for the account
context - RiskContext
accountStatus - ALL_ACCOUNTS | ACTIVE_ACCOUNTS
Returns:
Map of user id to list of accounts

getUserAccountsMapByResource

java.util.Map getUserAccountsMapByResource(java.util.List userIds,
                                           java.util.List resourceIds,
                                           int requiredAttributeFlags)
Returns map of userId(key) to list of accounts(value) for given user ids from given resources
Parameters:
userIds - List of user Ids for which accounts are to be loaded
resourceIds - Required resources
requiredAttributeFlags - AccountService constant to indicate which type of attributes should be loaded for the account
Returns:
Map of user id to list of accounts

getUserAccountsMapByAppInstanceIds

java.util.Map getUserAccountsMapByAppInstanceIds(java.util.List userIds,
                                                 java.util.List appInstanceIds,
                                                 int requiredAttributeFlags,
                                                 CertificationCreationContext certCreationContext,
                                                 int accountStatus)
Returns map of userId(key) to list of accounts(value) for given user ids from given resources
Parameters:
userIds - List of user Ids for which accounts are to be loaded
appInstanceIds - Required app Instance Ids
requiredAttributeFlags - AccountService constant to indicate which type of attributes should be loaded for the account
Returns:
Map of user id to list of accounts

getUserAccountsMapByAppInstanceIds

java.util.Map getUserAccountsMapByAppInstanceIds(java.util.List userIds,
                                                 java.util.List appInstanceIds,
                                                 int requiredAttributeFlags,
                                                 boolean includeAppInstanceCatalogs,
                                                 CertificationCreationContext certCreationContext,
                                                 int accountStatus)

getAccountsByEntitlementDefinition

java.util.List getAccountsByEntitlementDefinition(java.lang.Long entitlementDefinitionId)
Returns the list of accounts which are using the given entitlement definition
Parameters:
entitlementDefinitionId - Id of the entitlement definition for which accounts are to be queried
Returns:
List of accounts which are using the given entitlement definition

getAccountsByDataOwner

java.util.List getAccountsByDataOwner(java.lang.Long ownerId)

getUserAccountsByResourceTypes

java.util.Map getUserAccountsByResourceTypes(java.util.List userIds,
                                             java.util.List certifiableResourceTypeIds,
                                             int attributeType)

getUserAccountsByResourceTypes

java.util.Map getUserAccountsByResourceTypes(java.util.List userIds,
                                             java.util.List certifiableResourceTypeIds,
                                             int attributeType,
                                             boolean includeAppInstanceCatalog)

updateAccountsRiskAttributes

void updateAccountsRiskAttributes(java.util.List accountsToUpdate)

updateAccountsAttributeValueRiskAttributes

void updateAccountsAttributeValueRiskAttributes(java.util.List accountAttributeValuesToUpdate)

findCatalogs

java.util.List findCatalogs(java.util.List appInstancesIds)

getUserAccountsMap

java.util.Map getUserAccountsMap(java.util.List userIds,
                                 int i,
                                 java.lang.Object context)

getAccountsByAttributeValue

java.util.List getAccountsByAttributeValue(java.lang.Long attributeValueId,
                                           java.lang.Long endPointId,
                                           CertificationCreationContext certCreationContext)

getAccountAttributes

java.util.Map getAccountAttributes(java.lang.Long attributeId,
                                   java.lang.Long iamAttributeValueId,
                                   java.lang.Long endpointId)

getAppInstanceIDByEntityId

java.lang.Long getAppInstanceIDByEntityId(java.lang.Long id)

getAttributeValueByEntityId

java.lang.String getAttributeValueByEntityId(java.lang.Long id)

getAttributeIdByEntityId

java.lang.Long getAttributeIdByEntityId(java.lang.Long id)

getItemRiskByEntityId

java.lang.Integer getItemRiskByEntityId(java.lang.Long id)

filterHighItemAttributeValueIds

java.util.List filterHighItemAttributeValueIds(java.util.List values)

findCatalogsByEntitlementIds

java.util.List findCatalogsByEntitlementIds(java.util.List entitlementIds)

getEntityIdsByDataOwnerId

java.util.List getEntityIdsByDataOwnerId(java.lang.Long id)

getDataOwnerIdByEntityId

java.lang.Long getDataOwnerIdByEntityId(java.lang.Long id)

setDefaultItemRisksInCatalog

void setDefaultItemRisksInCatalog(java.lang.Integer defaultApplicationInstanceRiskLevel,
                                  java.lang.Integer defaultEntitlementDefinitionRiskLevel)

getAttributeMapByEntitlementIds

@Deprecated
java.util.Map getAttributeMapByEntitlementIds(java.util.List entitlementIds)
Deprecated. 
returns a map where entitlement id is key and attribute id is value.
Parameters:
entitlementIds -
Returns:
map of attrbute ids.

getAttributesByEntitlementIds

java.util.Map getAttributesByEntitlementIds(java.util.List entitlementIds)
returns a map where entitlement id is key and attribute id is value.
Parameters:
entitlementIds -
Returns:
map of AccountAttributeValue.

getAppInstanceMapByEntitlementIds

java.util.Map getAppInstanceMapByEntitlementIds(java.util.List entitlementIds)
returns a map where entitlement id is key and app instance id is value.
Parameters:
entitlementIds -
Returns:

getAccountsMapByEntitlementIds

java.util.Map getAccountsMapByEntitlementIds(java.util.List entitlementIds,
                                             java.lang.Long appInstanceId,
                                             int accountStatus,
                                             CertificationCreationContext certCreationContext)
retrieves accounts by entitlement ids and app instance id.
Parameters:
entitlementIds -
appInstanceId -
Returns:
Map with key being entitlementId+@+AppInstanceId and value being the accounts for given entitlement in given app instance

getAccountsMapByEntitlementIds

java.util.Map getAccountsMapByEntitlementIds(java.util.List entitlementIds,
                                             java.lang.Long appInstanceId,
                                             int accountStatus,
                                             java.util.Set setOfUserIds,
                                             CertificationCreationContext certCreationContext)
retrieves accounts by entitlement ids and app instance id
Parameters:
entitlementIds -
appInstanceId -
accountStatus -
certCreationContext -
setOfUserIds -
Returns:
Map with key being entitlementId+@+AppInstanceId and value being the accounts for given entitlement in given app instance

Skip navigation links


Copyright © 2014, Oracle and/or its affiliates. All rights reserved.