|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class allows to register for user mangagement events.
PrincipalListener follows the observer pattern. An observer has to register
via
IPrincipalFactory.registerListener(PrincipalListener,int).
| Field Summary | |
static int |
INFORM_ON_OBJECT_ADDED
Constant used for the event that a principal was created |
static int |
INFORM_ON_OBJECT_ASSIGNED
Constant used for the event that a principal was assigned |
static int |
INFORM_ON_OBJECT_EDITED
Constant used for the event that a principal was changed |
static int |
INFORM_ON_OBJECT_REMOVED
Constant used for the event that a principal was removed |
static int |
INFORM_ON_OBJECT_UNASSIGNED
Constant used for the event that a principal was unassigned |
| Method Summary | |
void |
objectAdded(java.lang.String uniqueID)
objectAdded() is called if event INFORM_ON_OBJECT_ADDED is fired from the registering factory |
void |
objectAssigned(java.lang.String uniqueID,
java.lang.String assignedPrincipalID)
objectAssigned() is called if event INFORM_ON_OBJECT_ASSIGNED is fired from the registering factory |
void |
objectEdited(java.lang.String uniqueID)
objectEdited() is called if event INFORM_ON_OBJECT_EDITED is fired from the registering factory |
void |
objectRemoved(java.lang.String uniqueID)
objectRemoved() is called if event INFORM_ON_OBJECT_REMOVED is fired from the registering factory |
void |
objectUnAssigned(java.lang.String uniqueID,
java.lang.String unassignedPrincipalID)
objectUnAssigned() is called if event INFORM_ON_OBJECT_UNASSIGNED is fired from the registering factory |
| Field Detail |
public static final int INFORM_ON_OBJECT_ADDED
public static final int INFORM_ON_OBJECT_REMOVED
public static final int INFORM_ON_OBJECT_EDITED
public static final int INFORM_ON_OBJECT_ASSIGNED
public static final int INFORM_ON_OBJECT_UNASSIGNED
| Method Detail |
public void objectAdded(java.lang.String uniqueID)
throws UMException
uniqueID - of the newly added principalUMException -
public void objectRemoved(java.lang.String uniqueID)
throws UMException
uniqueID - of the newly removed principalUMException -
public void objectEdited(java.lang.String uniqueID)
throws UMException
uniqueID - of the newly changed principalUMException -
public void objectAssigned(java.lang.String uniqueID,
java.lang.String assignedPrincipalID)
throws UMException
uniqueID - of the IPrincipalSet to which a principal was assignedassignedPrincipalID - contains the uniqueID of the principal which
was assigned to IPrincipalSetUMException -
public void objectUnAssigned(java.lang.String uniqueID,
java.lang.String unassignedPrincipalID)
throws UMException
uniqueID - of the IPrincipalSet from which a principal was unassignedunassignedPrincipalID - contains the uniqueID of the principal which
was unassigned from IPrincipalSetUMException -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||