|
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 RoleManager
A read-only interface to retrieve roles from the database.
Method Summary | |
---|---|
oracle.iam.rm.common.PaginatedResultSet |
findBusinessRoles(Filter filter, ColumnSetDef columnSetDef) Returns a set of Business roles that meets the specified filter criteria. |
oracle.iam.rm.common.PaginatedResultSet |
findITRoles(Filter filter, ColumnSetDef columnSetDef) Returns a set of IT roles that meets the specified filter criteria. |
java.util.List<ITRole> |
findMappedITRoles(BusinessRole businessRole) Returns a list of ITRoles that are mapped to the provided BusinessRole. |
Person |
findRoleOwner(Role role) Gets the owner of the provided role. |
BusinessRole |
getBusinessRole(ObjectKey objectKey) Gets the BusinessRole identified by the provided object key. |
int |
getGrantCount(Role role) Returns the number of role grants associated with the provided role. |
java.util.List<SnapshotObject> |
getGrantSOCBindings(RoleGrant roleGrant) Returns a list of SnapshotObjects that represent the sphere of control for the role. |
ITRole |
getITRole(ObjectKey objectKey) Gets the ITRole identified by the provided object key. |
RoleGrant |
getRoleGrant(Role role, User user) Returns the RoleGrant instance for the specified role granted to the specified user or null if no such grant exists. |
java.lang.String |
getSocHierarchyType(Role role) Returns a String that is the SOC hierarchy type associated with the role, or null if the role does not have an SOC hierarchy. |
boolean |
hasGrantSOCBinding(RoleGrant roleGrant, SnapshotObject socSubject) Returns a flag indicating whether a particular SOC has been associated to a role grant. |
Methods inherited from interface oracle.iam.rm.temporal.SnapshotSession |
---|
canEdit, findObjectKeys, findSnapshotObjects, getObjectType, getObjectType, getSnapshotObject, getTemporalEngine |
Method Detail |
---|
oracle.iam.rm.common.PaginatedResultSet findITRoles(Filter filter, ColumnSetDef columnSetDef) throws TemporalException
filter
- search criteriacolumnSetDef
- set of attributes to be returnedPaginatedResultSet
containing zero or more rows.TemporalException
- if a system error occurs.ITRole getITRole(ObjectKey objectKey) throws TemporalException
objectKey
- key of ITRole to getITRole
identified by the provided keyTemporalException
- if a system error occurs.oracle.iam.rm.common.PaginatedResultSet findBusinessRoles(Filter filter, ColumnSetDef columnSetDef) throws TemporalException
filter
- search criteriacolumnSetDef
- set of attributes to be returnedPaginatedResultSet
containing zero or more rows.TemporalException
- if a system error occurs.BusinessRole getBusinessRole(ObjectKey objectKey) throws TemporalException
objectKey
- key of BusinessRole to getBusinessRole
identified by the provided keyTemporalException
- if a system error occurs.java.util.List<ITRole> findMappedITRoles(BusinessRole businessRole) throws TemporalException
businessRole
- an existing BusinessRole instanceTemporalException
- if a system error occurs.Person findRoleOwner(Role role) throws TemporalException
role
- any existing role instanceTemporalException
- if a system error occurs.int getGrantCount(Role role) throws TemporalException
role
- an existing role instance of role grants to countTemporalException
- if a system error occurs.RoleGrant getRoleGrant(Role role, User user)
role
- any role instanceuser
- user representing granteejava.util.List<SnapshotObject> getGrantSOCBindings(RoleGrant roleGrant)
roleGrant
- an existing role grantjava.lang.String getSocHierarchyType(Role role)
role
- any role typeboolean hasGrantSOCBinding(RoleGrant roleGrant, SnapshotObject socSubject)
roleGrant
- an existing role grantsocSubject
- object whose SOC binding is to be established
|
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 |