|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
static final int MANDATORY_ATTRIBUTES
static final int MANAGED_ATTRIBUTES
static final int AUDITABLE_ATTRIBUTES
static final int IMPORTABLE_ATTRIBUTES
static final int MINABLE_ATTRIBUTES
static final int ENTITLEMENT_MINABLE_ATTRIBUTES
static final int CERTIFIABLE_ATTRIBUTES
static final int MANGED_MANDATORY_ATTRIBUTES
static final int ALL_ATTRIBUTES
static final int ALL_ACCOUNTS
static final int ACTIVE_ACCOUNTS
Method Detail |
---|
java.util.Map getUserAccountsMap(java.util.List userIds, int requiredAttributeFlags, CertificationCreationContext certCreationContext)
userIds
- List of user Ids for which accounts are to be loadedrequiredAttributeFlags
- AccountService constant to indicate which type of attributes should be loaded for the accountcertCreationContext
- Context to hold messages generated during certification creationjava.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, RiskContext context, int accountStatus, CertificationCreationContext certCreationContext)
userIds
- List of user Ids for which accounts are to be loadedrequiredAttributeFlags
- AccountService constant to indicate which type of attributes should be loaded for the accountcontext
- RiskContextaccountStatus
- ALL_ACCOUNTS | ACTIVE_ACCOUNTSjava.util.Map getUserAccountsMapByResource(java.util.List userIds, java.util.List resourceIds, int requiredAttributeFlags)
userIds
- List of user Ids for which accounts are to be loadedresourceIds
- Required resourcesrequiredAttributeFlags
- AccountService constant to indicate which type of attributes should be loaded for the accountjava.util.Map getUserAccountsMapByAppInstanceIds(java.util.List userIds, java.util.List appInstanceIds, int requiredAttributeFlags, CertificationCreationContext certCreationContext, int accountStatus)
userIds
- List of user Ids for which accounts are to be loadedappInstanceIds
- Required app Instance IdsrequiredAttributeFlags
- AccountService constant to indicate which type of attributes should be loaded for the accountjava.util.Map getUserAccountsMapByAppInstanceIds(java.util.List userIds, java.util.List appInstanceIds, int requiredAttributeFlags, boolean includeAppInstanceCatalogs, CertificationCreationContext certCreationContext, int accountStatus)
java.util.List getAccountsByEntitlementDefinition(java.lang.Long entitlementDefinitionId)
entitlementDefinitionId
- Id of the entitlement definition for which accounts are to be queriedjava.util.List getAccountsByDataOwner(java.lang.Long ownerId)
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)
void updateAccountsRiskAttributes(java.util.List accountsToUpdate)
void updateAccountsAttributeValueRiskAttributes(java.util.List accountAttributeValuesToUpdate)
java.util.List findCatalogs(java.util.List appInstancesIds)
java.util.Map getUserAccountsMap(java.util.List userIds, int i, java.lang.Object context)
java.util.List getAccountsByAttributeValue(java.lang.Long attributeValueId, java.lang.Long endPointId, CertificationCreationContext certCreationContext)
java.util.Map getAccountAttributes(java.lang.Long attributeId, java.lang.Long iamAttributeValueId, java.lang.Long endpointId)
java.lang.Long getAppInstanceIDByEntityId(java.lang.Long id)
java.lang.String getAttributeValueByEntityId(java.lang.Long id)
java.lang.Long getAttributeIdByEntityId(java.lang.Long id)
java.lang.Integer getItemRiskByEntityId(java.lang.Long id)
java.util.List filterHighItemAttributeValueIds(java.util.List values)
java.util.List findCatalogsByEntitlementIds(java.util.List entitlementIds)
java.util.List getEntityIdsByDataOwnerId(java.lang.Long id)
java.lang.Long getDataOwnerIdByEntityId(java.lang.Long id)
void setDefaultItemRisksInCatalog(java.lang.Integer defaultApplicationInstanceRiskLevel, java.lang.Integer defaultEntitlementDefinitionRiskLevel)
@Deprecated
java.util.Map getAttributeMapByEntitlementIds(java.util.List entitlementIds)
entitlementIds
-java.util.Map getAttributesByEntitlementIds(java.util.List entitlementIds)
entitlementIds
-java.util.Map getAppInstanceMapByEntitlementIds(java.util.List entitlementIds)
entitlementIds
-java.util.Map getAccountsMapByEntitlementIds(java.util.List entitlementIds, java.lang.Long appInstanceId, int accountStatus, CertificationCreationContext certCreationContext)
entitlementIds
-appInstanceId
-java.util.Map getAccountsMapByEntitlementIds(java.util.List entitlementIds, java.lang.Long appInstanceId, int accountStatus, java.util.Set setOfUserIds, CertificationCreationContext certCreationContext)
entitlementIds
-appInstanceId
-accountStatus
-certCreationContext
-setOfUserIds
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |