|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyViolationManager
Public API for PolicyViolation entity operations.
Method Summary | |
---|---|
void |
assignPolicyViolations(java.util.List policyViolationIds, java.lang.String remediator, Remediator.RemediatorType remediatorType) Assign or reassign a collection of policy violations |
void |
closePolicyViolation(java.lang.String policyViolationId, java.lang.String comment) Closes a policy violation. |
void |
completePolicyViolation(java.lang.String policyViolationId) Completes a policy violation. |
java.util.List |
findPolicyViolationsForEntity(java.lang.String userId, java.lang.String entityType, java.lang.String entityId, java.lang.String parentEntityId) Returns the non-closed policy violations for which given entity is one of the causes. |
java.util.List |
getActionHistory(java.lang.String policyViolationId, java.util.Map configParams) Returns action history for a given policy violation |
PolicyViolation |
getDetails(java.lang.String policyViolationId, java.util.Set retAttrs) Loads the policy violation with given policy violation Id |
java.util.List |
search(SearchCriteria searchCriteria, java.util.Set retAttrs, java.util.Map configParams) Return the list of policy violations matching the search criteria. |
Method Detail |
---|
PolicyViolation getDetails(java.lang.String policyViolationId, java.util.Set retAttrs) throws IDAEngineException
policyViolationId
- Id of the policy violation to be retrieved.retAttrs
- Set of attributes which need to populated, use null
to get all attributes.IDAEngineException
- A runtime exception containing information on how to find detailed information in a server log.java.util.List search(SearchCriteria searchCriteria, java.util.Set retAttrs, java.util.Map configParams) throws IDAEngineException
searchCriteria
- Search criteria indicating which objects to retrieve. Use null
to get all objects.retAttrs
- Attributes to be filled in for each object returned. Use null
to get all attributes.configParams
- Parameters to configure ordering and range of results. Use null
to get all results without sorting. There are four configuration parameters: STARTROW, ENDROW, SORTEDBY and SORTORDER. Defined as String constants in package oracle.iam.identity.utils.Constants: SEARCH_STARTROW, SEARCH_ENDROW, SEARCH_SORTEDBY and SEARCH_SORTORDER
The STARTROW and ENDROW parameters indicate the subset of the complete search result to be fetched. Default values are -1 (complete results are returned). If ENDROW < STARTROW then an IllegalArgumentException is thrown.
The SORTEDBY parameter indicates the attribute used for sorting. This parameter is optional and set to null by default.
The SORTORDER parameter indicates order of sorting: ASCENDING or DESCENDING. Defined as an enum in package oracle.iam.platform.entitymgr.spi.entity.Searchable.SortOrder. This parameter is optional and is ASCENDING by default.
IDAEngineException
- A runtime exception containing information on how to find detailed information in a server log.void completePolicyViolation(java.lang.String policyViolationId) throws IDAEngineException
policyViolationId
- Id of the policy violation to be completed.IDAEngineException
- A runtime exception containing information on how to find detailed information in a server log.void closePolicyViolation(java.lang.String policyViolationId, java.lang.String comment) throws IDAEngineException
policyViolationId
- Id of the policy violation to be closed.IDAEngineException
- A runtime exception containing information on how to find detailed information in a server log.java.util.List getActionHistory(java.lang.String policyViolationId, java.util.Map configParams) throws IDAEngineException
policyViolationId
- Id of the policy violation for the search.configParams
- Parameters to configure ordering and range of results. Use null
to get all results without sorting.IDAEngineException
- A runtime exception containing information on how to find detailed information in a server log.java.util.List findPolicyViolationsForEntity(java.lang.String userId, java.lang.String entityType, java.lang.String entityId, java.lang.String parentEntityId) throws IDAEngineException
userId
- User key for which violations are to be found. (IAM_USER_ID in Certifications)entityType
- Type of entity, from IDAConstants: REMEDIATION_TYPE_ENTITLEMENT, REMEDIATION_TYPE_ACCOUNT, REMEDIATION_TYPE_ROLEentityId
- Id of the entity - Role: UGP Key, Account: OIU Key, Entitlement: ENT_LIST key. (IAM_ID in Certifications)parentEntityId
- If entityType is Entitlement, this parameter indicates the account (OIU) key. Else this will be null/ignored.IDAEngineException
void assignPolicyViolations(java.util.List policyViolationIds, java.lang.String remediator, Remediator.RemediatorType remediatorType) throws IDAEngineException
Note: In this release, only PolicyViolation
s with status PolicyViolation.Status.OPEN
may be assigned
policyViolationIds
- - list of policy violation idsremediator
- - username (if remediatoryType is user ) or role name ( if remediatoryType = Role )remediatorType
- - Remediator.remediatorType (Remediator.remediatorType.USER or Remediator.remediatorType.ROLE )IDAEngineException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |