|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceManager
A read-only interface to search for security objects in the database.
| Method Summary | |
|---|---|
java.util.List<SystemRole> |
getMappedRolesForPrivilege(Privilege privilege)Returns the list of system roles that are mapped to the specified privilege. |
Permission |
getPermission(java.lang.String name)Returns a Permission object identified by the specified name. |
PermissionAssociation |
getPermissionAssociation(Permission permission, ResourceType resourceType)Returns a PermissionAssociation object for the specified Permission and ResourceType. |
java.util.List<Permission> |
getPermissionsByResourceType(ResourceType resourceType)Returns the list of permissions that can be applied to the specified resource type. |
Privilege |
getPrivilege(Permission permission, Resource resource)Returns a privilege identified by the specified permission and resource. |
Privilege |
getPrivilege(java.lang.String permission, java.lang.String resourceType, java.lang.String resourceQualifier)Returns a privilege identified by the permission's name, resource type's name and the resource's qualifier. |
Resource |
getQualifiedResource(ResourceType resourceType, java.lang.String qualifier)Returns a Resource object identified by the specified resource type and qualifier. |
Resource |
getResource(java.lang.String name)Returns a Resource object identified by the specified name. |
ResourceType |
getResourceType(java.lang.String name)Returns a ResourceType object identified by the specified name. |
| Methods inherited from interface oracle.iam.rm.temporal.SnapshotSession |
|---|
canEdit, findObjectKeys, findSnapshotObjects, getObjectType, getObjectType, getSnapshotObject, getTemporalEngine |
| Method Detail |
|---|
ResourceType getResourceType(java.lang.String name)
throws TemporalException
ResourceType object identified by the specified name.name - The name of the ResourceTypeResourceType, or null if not found.TemporalException - if a system error occurs.
Resource getResource(java.lang.String name)
throws TemporalException
Resource object identified by the specified name.name - name of a ResourceResource object identified by the specified name, or null if not found.TemporalException - if a system error occurs.
Resource getQualifiedResource(ResourceType resourceType,
java.lang.String qualifier)
throws TemporalException
Resource object identified by the specified resource type and qualifier.resourceType - type of the resourcequalifier - resource qualifierResource object identified by the specified resource type and qualifier, or null if not found.TemporalException - if a system error occurs.
Permission getPermission(java.lang.String name)
throws TemporalException
Permission object identified by the specified name.name - permission namePermission object identified by the specified name, or null if not found.TemporalException - if a system error occurs.
java.util.List<Permission> getPermissionsByResourceType(ResourceType resourceType)
throws TemporalException
resourceType - resource type that may have zero or more associated permissionsList of permissions that can be applied to the specified resource type.TemporalException - if a system error occurs.
Privilege getPrivilege(Permission permission,
Resource resource)
throws TemporalException
permission - permission that may be applied to the specified resourceresource - resource to which the specified permission may be appliedPrivilege identified by the specified permission and resource, or null if not found.TemporalException - if a system error occurs.
Privilege getPrivilege(java.lang.String permission,
java.lang.String resourceType,
java.lang.String resourceQualifier)
throws TemporalException
permission - name for the privilege's permissionresourceType - name for the privilege's resource typeresourceQualifier - identifier for the privilege's resource qualifierPrivilege identified by the combination of identifiers, or null if not found.TemporalException - if a system error occurs.
java.util.List<SystemRole> getMappedRolesForPrivilege(Privilege privilege)
throws TemporalException
privilege - privilege to which zero or more system roles may be mapped.List of system roles that are mapped to the specified privilege.TemporalException - if a system error occurs.
PermissionAssociation getPermissionAssociation(Permission permission,
ResourceType resourceType)
throws TemporalException
PermissionAssociation object for the specified Permission and ResourceType.permission - Permission applicable to the specified ResourceTyperesourceType - ResourceType to which the specified Permission may be appliedPermissionAssociation object for the specified Permission and ResourceType, or null if not found.TemporalException - if a system error occurs.
|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||