Package oracle.iam.auditevent.api
Interface AuditEventGroupManager
public interface AuditEventGroupManager
-
Method Summary
Modifier and TypeMethodDescriptionaddEntityTypeAction
(String groupId, String entityTypeActionId, HashMap<String, Object> relationAttrs) Create an AuditEventGroupEntityTypeAction relationship.create
(AuditEventGroup auditEventGroup) Create an AuditEventGroup.Delete an AuditEventGroup and all associated AuditEventGroupEntityTypeActions.getAuditEventGroupEntityTypeActions
(SearchCriteria filter, Set<String> retAttrs, Map<String, Object> configParams) Search AuditEventGroupEntityTypeAction relations.getDetails
(String groupId, Set<String> retAttrs) Returns details of an AuditEventGroup matching the specified entity identifier.isAuditEnabled
(AuditEvent auditEvent) Determine if auditing is enabled for the specifed audit eventmodify
(AuditEventGroup auditEventGroup) Modify the AuditEventGroup attributes in the specified AuditEventGroup.removeEntityTypeActionByAction
(String actionId) Delete AuditEventGroupEntityTypeActions by entity type action idremoveEntityTypeActionByGroup
(String groupId) Delete AuditEventGroupEntityTypeActions by groupIdDelete AuditEventGroupEntityTypeActionsSearches all AuditEventGroups that match the specified search criteria.
-
Method Details
-
getDetails
AuditEventGroup getDetails(String groupId, Set<String> retAttrs) throws ValidationFailedException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntitySearchException Returns details of an AuditEventGroup matching the specified entity identifier.- Parameters:
groupId
- AuditEventGroup identifierretAttrs
- set of attributes in Audit Event Group to return- Returns:
- AuditEventGroup matching groupId
- Throws:
ValidationFailedException
- If retAttrs contains an invalid attribute nameoracle.iam.platform.entitymgr.NoSuchEntityException
- If the entity type is not definedAccessDeniedException
- In case user doesn't have authorization to view AuditEventGroupsEntitySearchException
- If a ProviderException is thrown from EM
-
search
List<AuditEventGroup> search(SearchCriteria sc, Set<String> retAttrs, Map<String, Object> config) throws EntitySearchException, AccessDeniedException, oracle.iam.platform.entitymgr.NoSuchEntityException, ValidationFailedExceptionSearches all AuditEventGroups that match the specified search criteria.- Parameters:
sc
- search criteria to use in searchretAttrs
- set of attributes in Audit Event Group to returnconfig
- configuration options such as pagination and sorting- Returns:
- list of AuditEventGroups matching search criteria
- Throws:
EntitySearchException
- If a ProviderException is thrown from EMAccessDeniedException
- In case user doesn't have authorization to view AuditEventGroupsoracle.iam.platform.entitymgr.NoSuchEntityException
- If the entity type is not definedValidationFailedException
- If retAttrs contains an invalid attribute name
-
create
AuditEventGroupManagerResult create(AuditEventGroup auditEventGroup) throws ValidationFailedException, EntityAlreadyExistsException, EntityCreateException, AccessDeniedException Create an AuditEventGroup.- Parameters:
auditEventGroup
- the AuditEventGroup entity- Returns:
- AuditEventGroupManagerResult result that contains AuditEventGroup id of the newly created AuditEventGroup
- Throws:
ValidationFailedException
- If one or more attributes in the auditEventGroup is not defined for the entity typeEntityAlreadyExistsException
EntityCreateException
- If any exception is thrown by the EMAccessDeniedException
- In case user doesn't have authorization to create AuditEventGroups
-
modify
AuditEventGroupManagerResult modify(AuditEventGroup auditEventGroup) throws ValidationFailedException, EntityModifyException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntityLockedException, oracle.iam.platform.entitymgr.InvalidDataTypeException, oracle.iam.platform.entitymgr.StaleEntityException, oracle.iam.platform.entitymgr.InvalidDataFormatException, oracle.iam.platform.entitymgr.UnsupportedOperationException, oracle.iam.platform.entitymgr.UnknownAttributeException, oracle.iam.platform.entitymgr.ProviderException Modify the AuditEventGroup attributes in the specified AuditEventGroup. The AuditEventGroup must contain an AuditEventGroup id.- Parameters:
auditEventGroup
- The AuditEventGroup entity with modified attribute values- Returns:
- AuditEventGroupManagerResult Result of the AuditEventGroup modify operation
- Throws:
ValidationFailedException
EntityModifyException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
EntityLockedException
oracle.iam.platform.entitymgr.InvalidDataTypeException
oracle.iam.platform.entitymgr.StaleEntityException
oracle.iam.platform.entitymgr.InvalidDataFormatException
oracle.iam.platform.entitymgr.UnsupportedOperationException
oracle.iam.platform.entitymgr.UnknownAttributeException
oracle.iam.platform.entitymgr.ProviderException
-
delete
AuditEventGroupManagerResult delete(String groupId) throws EntityDeleteException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, ValidationFailedException, EntityLockedException Delete an AuditEventGroup and all associated AuditEventGroupEntityTypeActions.- Parameters:
groupId
- AuditEventGroup Id- Returns:
- AuditEventGroupManagerResult result of the AuditEventGroup delete
- Throws:
ValidationFailedException
EntityDeleteException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
EntityLockedException
-
addEntityTypeAction
AuditEventGroupManagerResult addEntityTypeAction(String groupId, String entityTypeActionId, HashMap<String, Object> relationAttrs) throws ValidationFailedException, EntityModifyException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntityLockedExceptionCreate an AuditEventGroupEntityTypeAction relationship.- Parameters:
groupId
- AuditEventGroup IdentityTypeActionId
- AuditEventEntityTypeAction Id- Returns:
- AuditEventGroupManagerResult result of the AuditEventGroupEntityTypeActioncreate operation
- Throws:
EntityModifyException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
ValidationFailedException
EntityLockedException
-
getAuditEventGroupEntityTypeActions
List<AuditEventGroupEntityTypeAction> getAuditEventGroupEntityTypeActions(SearchCriteria filter, Set<String> retAttrs, Map<String, Object> configParams) throws ValidationFailedException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntitySearchExceptionSearch AuditEventGroupEntityTypeAction relations.- Parameters:
filter
- Search criteriaretAttrs
- Return attribute namesconfigParams
- Sorting and paging parameters- Returns:
- AuditEventGroupEntityTypeAction Search results
- Throws:
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
ValidationFailedException
EntitySearchException
-
removeEntityTypeActionByGroup
AuditEventGroupManagerBulkRelationResult removeEntityTypeActionByGroup(String groupId) throws ValidationFailedException, EntityModifyException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException Delete AuditEventGroupEntityTypeActions by groupId- Parameters:
groupId
- Unique identifier of group- Returns:
- AuditEventGroupManagerBulkRelationResult Result of delete operation
- Throws:
EntityModifyException
oracle.iam.platform.entitymgr.NoSuchEntityException
- if group cannot be foundAccessDeniedException
- if logged in user does not have permission to delete the groupValidationFailedException
-
removeEntityTypeActionByAction
AuditEventGroupManagerBulkRelationResult removeEntityTypeActionByAction(String actionId) throws ValidationFailedException, EntityModifyException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException Delete AuditEventGroupEntityTypeActions by entity type action id- Parameters:
actionId
- Unique identifier of entity type action- Returns:
- AuditEventGroupManagerBulkRelationResult Result of delete operation
- Throws:
EntityModifyException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
ValidationFailedException
-
removeEntityTypeActions
AuditEventGroupManagerBulkRelationResult removeEntityTypeActions(SearchCriteria filter) throws EntityModifyException, ValidationFailedException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException Delete AuditEventGroupEntityTypeActions- Parameters:
filter
- Search criteria for relations to be deleted- Returns:
- AuditEventGroupManagerBulkRelationResult Result of delete operation
- Throws:
EntityModifyException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
ValidationFailedException
-
isAuditEnabled
Boolean isAuditEnabled(AuditEvent auditEvent) throws EntitySearchException, AccessDeniedException, oracle.iam.platform.entitymgr.NoSuchEntityException, ValidationFailedException Determine if auditing is enabled for the specifed audit event- Parameters:
auditEvent
- The audit event to be evaluated- Returns:
- AuditEventGroupManagerBulkRelationResult Result of delete operation
- Throws:
EntitySearchException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
ValidationFailedException
-