public interface RuleManager
| Modifier and Type | Method and Description |
|---|---|
void |
addReturnValue(java.lang.String ruleId,
ReturnValue rv)
Add the return value parameter to the specified rule entity id.
|
void |
addReturnValues(java.lang.String ruleId,
java.util.Set rvs)
Add the the set of return values to the rule matching the rule entity id.
|
RuleManagerResult |
create(Rule entity)
Create a rule using specified rule.
|
RuleManagerResult |
delete(java.lang.String entityId)
Delete the rule and all policy association relationships, i.e.
|
RuleManagerResult |
disable(java.lang.String ruleId)
Disaable the rule associated with the specified rule entity id.
|
RuleManagerResult |
enable(java.lang.String ruleId)
Enable the rule associated with the specified rule entity id.
|
java.util.List |
getAssignedPolicies(java.lang.String ruleId,
java.util.Set retAttrs,
java.util.HashMap configParams)
Retrieve list of policies assigned to the rule specified by the rule entity id.
|
Rule |
getDetails(java.lang.String entityId,
java.util.Set retAttrs)
Retrieve the attributes of the rule specified by the rule entity id.
|
ReturnValue |
getReturnValue(java.lang.String ruleId,
java.lang.String returnValueId,
java.util.Set retAttrs)
Retrieve the return value matching both the specified rule entity id and the return value entity id.
|
java.util.List |
getReturnValues(java.lang.String ruleId,
SearchCriteria sc,
java.util.Set retAttrs,
java.util.HashMap configParams)
Retrieve the list of return values in the specified rule entity id that match the search criteria parameter.
|
RuleManagerResult |
lock(java.lang.String ruleId)
Lock the rule associated with the specified rule entity id.
|
RuleManagerResult |
modify(Rule entity)
Modify the rule attributes in the specified rule entity.
|
void |
modifyReturnValue(java.lang.String returnValueId,
ReturnValue rv)
Modify the return value specified by rule entity id.
|
void |
modifyReturnValues(java.lang.String ruleId,
java.util.Set rvs)
Modify the return values matching both the specified rule entity id and the set of return values.
|
void |
removeReturnValue(java.lang.String ruleId,
java.lang.String returnValueId)
Remove the return value matching both the specified rule entity id and return value id.
|
void |
removeReturnValues(java.lang.String ruleId,
java.util.List returnValueIds)
Remove the return value entity ids matching both the specified rule entity id and list of return value ids.
|
void |
replaceReturnValues(java.lang.String ruleId,
java.util.List rvs)
Replace the return values of the rule specified by the rule entity id with the list of return values parameter.
|
java.util.List |
search(SearchCriteria sc,
java.util.Set retAttrs,
java.util.Map config)
Search for the rules in the system that match the specified search criteria.
|
RuleManagerResult |
unlock(java.lang.String ruleId)
Unlock the rule associated with the specified rule entity id.
|
RuleManagerResult create(Rule entity) throws ValidationFailedException, EntityAlreadyExistsException, EntityCreateException, AccessDeniedException
entity - the rule entityValidationFailedExceptionEntityAlreadyExistsExceptionEntityCreateExceptionAccessDeniedExceptionRuleManagerResult modify(Rule entity) throws ValidationFailedException, EntityModifyException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntityLockedException
entity - the rule entityValidationFailedExceptionEntityModifyExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntityLockedExceptionRuleManagerResult delete(java.lang.String entityId) throws EntityDeleteException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, ValidationFailedException, EntityLockedException
entityId - rule entity IdEntityDeleteException, - NoSuchEntityException, AccessDeniedException,
ValidationFailedException, EntityLockedExceptionEntityDeleteExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionValidationFailedExceptionEntityLockedExceptionRule getDetails(java.lang.String entityId, java.util.Set retAttrs) throws oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntitySearchException, ValidationFailedException
entityId - the rule entity idretAttrs - the attributes of the rule to be returnedoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntitySearchExceptionValidationFailedExceptionjava.util.List search(SearchCriteria sc, java.util.Set retAttrs, java.util.Map config) throws EntitySearchException, AccessDeniedException, oracle.iam.platform.entitymgr.NoSuchEntityException, ValidationFailedException
sc - the search criteriaretAttrs - set of attributes of the rule to returnconfig - map of configuration parametersEntitySearchExceptionAccessDeniedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionValidationFailedExceptionRuleManagerResult lock(java.lang.String ruleId) throws ValidationFailedException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntityLockException
ruleId - the rule entity id to lockValidationFailedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntityLockExceptionRuleManagerResult unlock(java.lang.String ruleId) throws ValidationFailedException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntityLockException
ruleId - the rule entity id to unlockValidationFailedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntityLockExceptionRuleManagerResult enable(java.lang.String ruleId) throws ValidationFailedException, EntityDisableException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntitySearchException, EntityModifyException, EntityLockedException
ruleId - the rule entity id to enableValidationFailedExceptionEntityDisableExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntitySearchExceptionEntityModifyExceptionEntityLockedExceptionRuleManagerResult disable(java.lang.String ruleId) throws ValidationFailedException, EntityDisableException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntitySearchException, EntityModifyException, EntityLockedException
ruleId - the rule entity id to disableValidationFailedExceptionEntityDisableExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntitySearchExceptionEntityModifyExceptionEntityLockedExceptionjava.util.List getAssignedPolicies(java.lang.String ruleId,
java.util.Set retAttrs,
java.util.HashMap configParams)
throws RuleManagerException,
EntitySearchException,
AccessDeniedException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
ValidationFailedException
ruleId - the rule entity idretAttrs - configParams - RuleManagerExceptionEntitySearchExceptionAccessDeniedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionValidationFailedExceptionReturnValue getReturnValue(java.lang.String ruleId, java.lang.String returnValueId, java.util.Set retAttrs) throws oracle.iam.platform.entitymgr.NoSuchEntityException, EntitySearchException, ValidationFailedException
ruleId - the rule entity idreturnValueId - the return value entity idretAttrs - oracle.iam.platform.entitymgr.NoSuchEntityExceptionEntitySearchExceptionValidationFailedExceptionjava.util.List getReturnValues(java.lang.String ruleId,
SearchCriteria sc,
java.util.Set retAttrs,
java.util.HashMap configParams)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
EntitySearchException,
ValidationFailedException
ruleId - the rule entity idsc - the search criteria to matchretAttrs - set of return value attributes to returnconfigParams - config paramsoracle.iam.platform.entitymgr.NoSuchEntityExceptionEntitySearchExceptionValidationFailedExceptionvoid addReturnValue(java.lang.String ruleId,
ReturnValue rv)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
EntityModifyException,
ValidationFailedException,
EntityLockedException
ruleId - the rule entity idrv - the return valueoracle.iam.platform.entitymgr.NoSuchEntityExceptionEntityModifyExceptionValidationFailedExceptionEntityLockedExceptionvoid addReturnValues(java.lang.String ruleId,
java.util.Set rvs)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
EntityModifyException,
ValidationFailedException,
EntityLockedException
ruleId - the rule entity idrvs - oracle.iam.platform.entitymgr.NoSuchEntityExceptionEntityModifyExceptionValidationFailedExceptionEntityLockedExceptionvoid modifyReturnValue(java.lang.String returnValueId,
ReturnValue rv)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
ValidationFailedException,
EntityModifyException,
EntityLockedException
returnValueId - the return value entity idrv - set of return valuesoracle.iam.platform.entitymgr.NoSuchEntityExceptionValidationFailedExceptionEntityModifyExceptionEntityLockedExceptionvoid modifyReturnValues(java.lang.String ruleId,
java.util.Set rvs)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
ValidationFailedException,
EntityModifyException,
EntityLockedException
ruleId - the rule entity idrvs - the return value to modifyoracle.iam.platform.entitymgr.NoSuchEntityExceptionValidationFailedExceptionEntityModifyExceptionEntityLockedExceptionvoid removeReturnValue(java.lang.String ruleId,
java.lang.String returnValueId)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
EntityModifyException,
EntityLockedException
ruleId - the rule entity idreturnValueId - the return value entity idoracle.iam.platform.entitymgr.NoSuchEntityExceptionEntityModifyExceptionEntityLockedExceptionvoid removeReturnValues(java.lang.String ruleId,
java.util.List returnValueIds)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
EntityModifyException,
EntityLockedException
ruleId - the rule entity idreturnValueIds - list of return value entity idsoracle.iam.platform.entitymgr.NoSuchEntityExceptionEntityModifyExceptionEntityLockedExceptionvoid replaceReturnValues(java.lang.String ruleId,
java.util.List rvs)
throws RuleManagerException
ruleId - the rule entity idrvs - list of return valuesRuleManagerException