Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.inherent.personnel
Interface InteractivePersonnelManager

All Superinterfaces:
InteractiveSession, InteractiveSnapshotSession, PersonnelManager, SnapshotSession

public interface InteractivePersonnelManager
extends PersonnelManager, InteractiveSnapshotSession

A read-write interface to manage system identities and persons in the system.


Method Summary
 Person createPerson()
          Creates a person with the system defaults.
 SystemIdentity createSystemIdentity(java.lang.String username)
          Creates a system identity with the provided identifier.
 Person getEditablePerson(ObjectKey objectKey)
          Gets the person identified by the provided object key if the person is editable.
 SystemIdentity getEditableSystemIdentity(ObjectKey objectKey)
          Gets the system identity idenditifed by the provided object key if it is editable.

 

Methods inherited from interface oracle.iam.rm.inherent.personnel.PersonnelManager
findPeople, findSystemIdentities, getPerson, getSystemIdentity

 

Methods inherited from interface oracle.iam.rm.temporal.SnapshotSession
canEdit, findObjectKeys, findSnapshotObjects, getObjectType, getObjectType, getSnapshotObject, getTemporalEngine

 

Methods inherited from interface oracle.iam.rm.temporal.InteractiveSnapshotSession
addMixinType, createObject, getEditableSnapshotObject

 

Methods inherited from interface oracle.iam.rm.temporal.SnapshotSession
canEdit, findObjectKeys, findSnapshotObjects, getObjectType, getObjectType, getSnapshotObject, getTemporalEngine

 

Methods inherited from interface oracle.iam.rm.temporal.InteractiveSession
addDataChangeListener, getBusinessTransactionID, getChangedObjectTypes, removeDataChangeListener

 

Method Detail

getEditableSystemIdentity

SystemIdentity getEditableSystemIdentity(ObjectKey objectKey)
                                         throws TemporalException
Gets the system identity idenditifed by the provided object key if it is editable.
Parameters:
objectKey - key of the systemIdentity to edit.
Returns:
Editable systemIdentity.
Throws:
TemporalException - if the objectKey does not reference a system identity or if the system identity is not editable by the user currently logged in or if there is a database error during the lookup.

createSystemIdentity

SystemIdentity createSystemIdentity(java.lang.String username)
                                    throws TemporalException
Creates a system identity with the provided identifier.
Parameters:
username - String to use as userID.
Returns:
Newly created systemIdentity.
Throws:
TemporalException - if the supplied username is already assigned to a system identity or a person or there is a database error during creation.

getEditablePerson

Person getEditablePerson(ObjectKey objectKey)
                         throws TemporalException
Gets the person identified by the provided object key if the person is editable.
Parameters:
objectKey - key of the person to edit
Returns:
Editable Person
Throws:
TemporalException - if the objectKey does not reference a person or if the person is not editable by the user currently logged in or if there is a database error during the lookup.

createPerson

Person createPerson()
                    throws TemporalException
Creates a person with the system defaults.
Returns:
Newly created Person
Throws:
TemporalException - if there is a database error during creation.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.