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.
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.lang.Long |
getAppInstanceIDByEntityId(java.lang.Long id)
|
java.lang.Long |
getAttributeIdByEntityId(java.lang.Long id)
|
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)
|
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
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)
Skip navigation links
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.