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 entityValidationFailedException
EntityAlreadyExistsException
EntityCreateException
AccessDeniedException
RuleManagerResult modify(Rule entity) throws ValidationFailedException, EntityModifyException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntityLockedException
entity
- the rule entityValidationFailedException
EntityModifyException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
EntityLockedException
RuleManagerResult delete(java.lang.String entityId) throws EntityDeleteException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, ValidationFailedException, EntityLockedException
entityId
- rule entity IdEntityDeleteException,
- NoSuchEntityException, AccessDeniedException,
ValidationFailedException, EntityLockedExceptionEntityDeleteException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
ValidationFailedException
EntityLockedException
Rule 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.NoSuchEntityException
AccessDeniedException
EntitySearchException
ValidationFailedException
java.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 parametersEntitySearchException
AccessDeniedException
oracle.iam.platform.entitymgr.NoSuchEntityException
ValidationFailedException
RuleManagerResult lock(java.lang.String ruleId) throws ValidationFailedException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntityLockException
ruleId
- the rule entity id to lockValidationFailedException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
EntityLockException
RuleManagerResult unlock(java.lang.String ruleId) throws ValidationFailedException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntityLockException
ruleId
- the rule entity id to unlockValidationFailedException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
EntityLockException
RuleManagerResult enable(java.lang.String ruleId) throws ValidationFailedException, EntityDisableException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntitySearchException, EntityModifyException, EntityLockedException
ruleId
- the rule entity id to enableValidationFailedException
EntityDisableException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
EntitySearchException
EntityModifyException
EntityLockedException
RuleManagerResult disable(java.lang.String ruleId) throws ValidationFailedException, EntityDisableException, oracle.iam.platform.entitymgr.NoSuchEntityException, AccessDeniedException, EntitySearchException, EntityModifyException, EntityLockedException
ruleId
- the rule entity id to disableValidationFailedException
EntityDisableException
oracle.iam.platform.entitymgr.NoSuchEntityException
AccessDeniedException
EntitySearchException
EntityModifyException
EntityLockedException
java.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
- RuleManagerException
EntitySearchException
AccessDeniedException
oracle.iam.platform.entitymgr.NoSuchEntityException
ValidationFailedException
ReturnValue 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.NoSuchEntityException
EntitySearchException
ValidationFailedException
java.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.NoSuchEntityException
EntitySearchException
ValidationFailedException
void 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.NoSuchEntityException
EntityModifyException
ValidationFailedException
EntityLockedException
void 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.NoSuchEntityException
EntityModifyException
ValidationFailedException
EntityLockedException
void 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.NoSuchEntityException
ValidationFailedException
EntityModifyException
EntityLockedException
void 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.NoSuchEntityException
ValidationFailedException
EntityModifyException
EntityLockedException
void 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.NoSuchEntityException
EntityModifyException
EntityLockedException
void 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.NoSuchEntityException
EntityModifyException
EntityLockedException
void replaceReturnValues(java.lang.String ruleId, java.util.List rvs) throws RuleManagerException
ruleId
- the rule entity idrvs
- list of return valuesRuleManagerException