|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RuleManager
| Method Summary | |
|---|---|
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. |
ValueObject |
evaluate(Rule rule, ValueObject vo, PolicyType ptype)Evaluate the specified rule using the vo parameter as rule evaluation fact. |
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. |
| Method Detail |
|---|
RuleManagerResult create(Rule entity)
throws ValidationFailedException,
EntityAlreadyExistsException,
EntityCreateException,
AccessDeniedException
entity - the rule entityValidationFailedExceptionEntityAlreadyExistsExceptionEntityCreateExceptionAccessDeniedException
RuleManagerResult modify(Rule entity)
throws ValidationFailedException,
EntityModifyException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
AccessDeniedException,
EntityLockedException
entity - the rule entityValidationFailedExceptionEntityModifyExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntityLockedException
RuleManagerResult 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.NoSuchEntityExceptionAccessDeniedExceptionValidationFailedExceptionEntityLockedException
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.NoSuchEntityExceptionAccessDeniedExceptionEntitySearchExceptionValidationFailedException
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 parametersEntitySearchExceptionAccessDeniedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionValidationFailedException
RuleManagerResult lock(java.lang.String ruleId)
throws ValidationFailedException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
AccessDeniedException,
EntityLockException
ruleId - the rule entity id to lockValidationFailedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntityLockException
RuleManagerResult unlock(java.lang.String ruleId)
throws ValidationFailedException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
AccessDeniedException,
EntityLockException
ruleId - the rule entity id to unlockValidationFailedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntityLockException
RuleManagerResult 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.NoSuchEntityExceptionAccessDeniedExceptionEntitySearchExceptionEntityModifyExceptionEntityLockedException
RuleManagerResult 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.NoSuchEntityExceptionAccessDeniedExceptionEntitySearchExceptionEntityModifyExceptionEntityLockedException
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 -RuleManagerExceptionEntitySearchExceptionAccessDeniedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionValidationFailedException
ValueObject evaluate(Rule rule,
ValueObject vo,
PolicyType ptype)
throws RuleManagerException,
AccessDeniedException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
EntitySearchException,
ValidationFailedException
rule - the rulevo - ValueObject containing evaluation factsptype - policy typeRuleManagerExceptionAccessDeniedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionEntitySearchExceptionValidationFailedException
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.NoSuchEntityExceptionEntitySearchExceptionValidationFailedException
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.NoSuchEntityExceptionEntitySearchExceptionValidationFailedException
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.NoSuchEntityExceptionEntityModifyExceptionValidationFailedExceptionEntityLockedException
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.NoSuchEntityExceptionEntityModifyExceptionValidationFailedExceptionEntityLockedException
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.NoSuchEntityExceptionValidationFailedExceptionEntityModifyExceptionEntityLockedException
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.NoSuchEntityExceptionValidationFailedExceptionEntityModifyExceptionEntityLockedException
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.NoSuchEntityExceptionEntityModifyExceptionEntityLockedException
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.NoSuchEntityExceptionEntityModifyExceptionEntityLockedException
void replaceReturnValues(java.lang.String ruleId,
java.util.List rvs)
throws RuleManagerException
ruleId - the rule entity idrvs - list of return valuesRuleManagerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||