|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PolicyManager
| Method Summary | |
|---|---|
PolicyManagerResult |
assignRuleToPolicy(java.lang.String policyId, java.lang.String ruleId, java.lang.Long index)Assign the rule specified by the rule entity id to the policy specified by the policy entity id. |
PolicyManagerResult |
create(Policy entity)Create a policy using specified policy entity attributes. |
PolicyManagerResult |
delete(java.lang.String entityId)Delete the policy and all rule assignment relationships, i.e. |
PolicyManagerResult |
disable(java.lang.String policyId)Disable the policy associated with the specified policy entity id. |
PolicyManagerResult |
enable(java.lang.String policyId)Enable the policy associated with the specified policy entity id. |
ValueObject |
evaluate(java.lang.String policyId, ValueObject inputValues)Evaluate the policy specified by the policy entity id using the inputValues ValueObject parameter as evaluation facts. |
Policy |
getDetails(java.lang.String entityId, java.util.Set retAttrs)Retrieve the attributes of the policy specified by the entity id. |
java.util.List |
getRulesAssignedToPolicy(java.lang.String policyId)Return rules assigned to the policy specified by the policy entity id. |
PolicyManagerResult |
lock(java.lang.String policyId)Lock the policy associated with the specified policy entity id. |
PolicyManagerResult |
modify(Policy entity)Modify the policy attributes specified in the policy entity. |
PolicyManagerResult |
reorderPolicyRules(java.lang.String policyId, java.util.Map orderedPolicyRules)Reorder the rules of the policy associated with specified policy entity id. |
PolicyManagerResult |
replacePolicyRules(java.lang.String policyId, java.util.List ruleIds)Replace all of the rules of the policy associated with the specified policy entity id, with the list of rule entity ids. |
java.util.List |
search(SearchCriteria sc, java.util.Set retAttrs, java.util.Map config)Search the policies in the system that match the specified search criteria. |
PolicyManagerResult |
unAssignRuleFromPolicy(java.lang.String policyId, java.lang.String ruleId)Unassign the rule specified by the rule entity id from the policy specified by the policy entity id. |
PolicyManagerResult |
unlock(java.lang.String policyId)Unlock the policy associated with the specified policy entity id. |
| Method Detail |
|---|
PolicyManagerResult create(Policy entity)
throws ValidationFailedException,
EntityAlreadyExistsException,
EntityCreateException,
AccessDeniedException
entity - policy entityValidationFailedExceptionEntityAlreadyExistsExceptionEntityCreateExceptionAccessDeniedException
PolicyManagerResult modify(Policy entity)
throws ValidationFailedException,
EntityModifyException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
AccessDeniedException,
EntityLockedException
entity - the policy entityValidationFailedExceptionEntityModifyExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntityLockedException
PolicyManagerResult delete(java.lang.String entityId)
throws EntityDeleteException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
AccessDeniedException,
ValidationFailedException,
EntityLockedException
entityId - policy entity IdEntityDeleteException, - NoSuchEntityException, AccessDeniedException, ValidationFailedException, EntityLockedExceptionEntityDeleteExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionValidationFailedExceptionEntityLockedException
Policy getDetails(java.lang.String entityId,
java.util.Set retAttrs)
throws ValidationFailedException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
AccessDeniedException,
EntitySearchException
entityId - the policy entity idretAttrs - the attributes of the policy to be returnedValidationFailedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntitySearchException
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 policy to returnconfig - map of configuration parametersEntitySearchExceptionAccessDeniedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionValidationFailedException
PolicyManagerResult lock(java.lang.String policyId)
throws ValidationFailedException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
AccessDeniedException,
EntityLockException
policyId - the policy entity id to lockValidationFailedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntityLockException
PolicyManagerResult unlock(java.lang.String policyId)
throws ValidationFailedException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
AccessDeniedException,
EntityLockException
policyId - the policy entity id to unlockValidationFailedExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntityLockException
PolicyManagerResult enable(java.lang.String policyId)
throws ValidationFailedException,
EntityDisableException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
AccessDeniedException,
EntitySearchException,
EntityModifyException,
EntityLockedException
policyId - the policy entity id to enableValidationFailedExceptionEntityDisableExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntitySearchExceptionEntityModifyExceptionEntityLockedException
PolicyManagerResult disable(java.lang.String policyId)
throws ValidationFailedException,
EntityDisableException,
oracle.iam.platform.entitymgr.NoSuchEntityException,
AccessDeniedException,
EntitySearchException,
EntityModifyException,
EntityLockedException
policyId - the policy entity id to disableValidationFailedExceptionEntityDisableExceptionoracle.iam.platform.entitymgr.NoSuchEntityExceptionAccessDeniedExceptionEntitySearchExceptionEntityModifyExceptionEntityLockedException
PolicyManagerResult assignRuleToPolicy(java.lang.String policyId,
java.lang.String ruleId,
java.lang.Long index)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
PolicyManagerException,
AccessDeniedException,
ValidationFailedException,
EntityModifyException,
EntitySearchException,
EntityLockedException
policyId - the policy entity idruleId - the rule entity idindex - specifies the position in the rule set to insert the ruleoracle.iam.platform.entitymgr.NoSuchEntityExceptionPolicyManagerExceptionAccessDeniedExceptionValidationFailedExceptionEntityModifyExceptionEntitySearchExceptionEntityLockedException
PolicyManagerResult unAssignRuleFromPolicy(java.lang.String policyId,
java.lang.String ruleId)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
PolicyManagerException,
AccessDeniedException,
EntityModifyException,
ValidationFailedException,
EntitySearchException,
EntityLockedException
policyId - the policy entity idruleId - the rule entity idoracle.iam.platform.entitymgr.NoSuchEntityExceptionPolicyManagerExceptionAccessDeniedExceptionEntityModifyExceptionValidationFailedExceptionEntitySearchExceptionEntityLockedException
java.util.List getRulesAssignedToPolicy(java.lang.String policyId)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
PolicyManagerException,
AccessDeniedException,
EntitySearchException,
ValidationFailedException
policyId - the policy idoracle.iam.platform.entitymgr.NoSuchEntityExceptionPolicyManagerExceptionAccessDeniedExceptionEntitySearchExceptionValidationFailedException
PolicyManagerResult reorderPolicyRules(java.lang.String policyId,
java.util.Map orderedPolicyRules)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
EntityLockedException,
ValidationFailedException,
AccessDeniedException,
EntityModifyException
policyId - the policy entity idorderedPolicyRules - map specifiying the new rule orderoracle.iam.platform.entitymgr.NoSuchEntityExceptionEntityLockedExceptionValidationFailedExceptionAccessDeniedExceptionEntityModifyException
PolicyManagerResult replacePolicyRules(java.lang.String policyId,
java.util.List ruleIds)
throws PolicyManagerException
policyId - the policy entity idruleIds - list of rules defining new policy rule set and orderingPolicyManagerException
ValueObject evaluate(java.lang.String policyId,
ValueObject inputValues)
throws oracle.iam.platform.entitymgr.NoSuchEntityException,
PolicyManagerException,
AccessDeniedException,
RuleManagerException,
ValidationFailedException,
EntitySearchException
policyId - the policy entity idinputValues - ValueObject containing the evaluation factsoracle.iam.platform.entitymgr.NoSuchEntityExceptionPolicyManagerExceptionAccessDeniedExceptionRuleManagerExceptionValidationFailedExceptionEntitySearchException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||