|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyEntry
A representation of an authorization policy.
Note: This interface is defined as a mechanism to exchange information only. The consumer must not implement this interface. Rather, the consumer should rely upon the existing public classes that implement this interface.
Nested Class Summary | |
---|---|
static class |
PolicyEntry.POLICY_SEMANTIC Policy Semantic Enum |
Method Summary | |
---|---|
void |
addObligation(ObligationEntry obligation) Add an obligation to this policy |
void |
addPermissionSet(PermissionSetEntry permissionSet) Add a PermissionSet object to the policy, if the policy is created against a ResourceType, throw out PolicyStoreException |
void |
addPrincipal(PrincipalEntry principal) Add a principal to this policy |
void |
addRule(PolicyRuleEntry rule) Add a rule to this policy. |
void |
deleteObligation(java.lang.String obligation) delete an obligation from this policy |
void |
deletePermissionSet(java.lang.String permissionSet) delete a permission set from this policy |
void |
deletePrincipal(PrincipalEntry principal) Remove the principal from this policy |
void |
deletePrincipal(java.lang.String name) Remove a principal from this policy |
void |
deleteRule(java.lang.String rule) Delete a rule from this policy. |
CodeSourceEntry |
getCodeSource() get codesource of this policy |
java.lang.String |
getDescription() Get the description of the entity. |
java.lang.String |
getDisplayName() Returns the Display name. |
java.lang.String |
getName() Name of the entry. |
java.util.List<ObligationEntry> |
getObligations() get obligations in this policy |
java.util.List<PermissionSetEntry> |
getPermissionSets() Get a List of PermissionSet in this policy. |
java.lang.String |
getPolicyDomainName() Name of the policy domain to which the entry belongs. |
PolicyEntry.POLICY_SEMANTIC |
getPolicySemantic() Get policy semantic |
java.util.List<PrincipalEntry> |
getPrincipals() Get a List of Principals The returned List is backed by this PolicyEntry's internal private principal List. |
java.util.List<ResourceActionsEntry> |
getResourceActions() get ResourceActions of this policy The returned List is backed by this PolicyEntry's internal private resource actions List. |
java.util.List<PolicyRuleEntry> |
getRules() Get a List of policy rules. |
java.lang.String |
getUniqueName() Deprecated. |
void |
setCodeSource(CodeSourceEntry cs) Set codesource for this policy. |
void |
setDescription(java.lang.String description) Set the description of this entry. |
void |
setDisplayName(java.lang.String displayName) Set the display name of this entry. |
void |
setResourceActions(java.util.List<ResourceActionsEntry> resourceActions) set ResourceActions of this policy |
Method Detail |
---|
PolicyEntry.POLICY_SEMANTIC getPolicySemantic()
java.lang.String getDescription()
java.lang.String getDisplayName()
java.lang.String getName()
void setDescription(java.lang.String description)
description
-void setDisplayName(java.lang.String displayName)
displayName
-
@Deprecated
java.lang.String getUniqueName()
java.util.List<PermissionSetEntry> getPermissionSets()
java.util.List<PolicyRuleEntry> getRules()
java.util.List<PrincipalEntry> getPrincipals()
java.util.List<ObligationEntry> getObligations()
void addPermissionSet(PermissionSetEntry permissionSet) throws PolicyStoreException
permissionSet
-PolicyStoreException
void deletePermissionSet(java.lang.String permissionSet) throws PolicyStoreException
permissionSet
-PolicyStoreException
void addRule(PolicyRuleEntry rule) throws PolicyStoreException
rule
-PolicyStoreException
void deleteRule(java.lang.String rule) throws PolicyStoreException
rule
-PolicyStoreException
void addPrincipal(PrincipalEntry principal) throws PolicyStoreException
principal
-PolicyStoreException
void deletePrincipal(java.lang.String name) throws PolicyStoreException
name
-PolicyStoreException
void deletePrincipal(PrincipalEntry principal) throws PolicyStoreException
principal
-PolicyStoreException
void addObligation(ObligationEntry obligation) throws PolicyStoreException
obligation
-PolicyStoreException
void deleteObligation(java.lang.String obligation) throws PolicyStoreException
obligation
-PolicyStoreException
java.util.List<ResourceActionsEntry> getResourceActions()
void setResourceActions(java.util.List<ResourceActionsEntry> resourceActions) throws PolicyStoreException
resourceActions
-PolicyStoreException
CodeSourceEntry getCodeSource()
void setCodeSource(CodeSourceEntry cs) throws PolicyStoreException
cs
-PolicyStoreException
java.lang.String getPolicyDomainName()
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 2 (11.1.2) E27155-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |