public interface PrincipalListener
PrincipalListener
follows the observer pattern. An observer has
to register via
IPrincipalFactory.registerListener(PrincipalListener,int)
.Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
void |
objectAdded(String uniqueID)
This method is called if event
INFORM_ON_OBJECT_ADDED is
fired from the registering factory. |
void |
objectAssigned(String uniqueID,
String assignedPrincipalID)
This method is called if event
INFORM_ON_OBJECT_ASSIGNED is
fired from the registering factory. |
void |
objectEdited(String uniqueID)
This method is called if event
INFORM_ON_OBJECT_EDITED is
fired from the registering factory. |
void |
objectRemoved(String uniqueID)
This method is called if event
INFORM_ON_OBJECT_REMOVED is
fired from the registering factory. |
void |
objectUnAssigned(String uniqueID,
String unassignedPrincipalID)
This method is called if event
INFORM_ON_OBJECT_UNASSIGNED
is fired from the registering factory. |
static final int INFORM_ON_OBJECT_ADDED
static final int INFORM_ON_OBJECT_REMOVED
static final int INFORM_ON_OBJECT_EDITED
static final int INFORM_ON_OBJECT_ASSIGNED
static final int INFORM_ON_OBJECT_UNASSIGNED
void objectAdded(String uniqueID) throws UMException
INFORM_ON_OBJECT_ADDED
is
fired from the registering factory.uniqueID
- of the newly added principalUMException
- if an error occurredvoid objectRemoved(String uniqueID) throws UMException
INFORM_ON_OBJECT_REMOVED
is
fired from the registering factory.uniqueID
- of the newly removed principalUMException
- if an error occurredvoid objectEdited(String uniqueID) throws UMException
INFORM_ON_OBJECT_EDITED
is
fired from the registering factory.uniqueID
- of the newly changed principalUMException
- if an error occurredvoid objectAssigned(String uniqueID, String assignedPrincipalID) throws UMException
INFORM_ON_OBJECT_ASSIGNED
is
fired from the registering factory.uniqueID
- of the IPrincipalSet to which a principal was assignedassignedPrincipalID
- contains the uniqueID of the principal which
was assigned to IPrincipalSetUMException
- if an error occurredvoid objectUnAssigned(String uniqueID, String unassignedPrincipalID) throws UMException
INFORM_ON_OBJECT_UNASSIGNED
is fired from the registering factory.uniqueID
- of the IPrincipalSet from which a principal was
unassignedunassignedPrincipalID
- contains the uniqueID of the principal which
was unassigned from IPrincipalSetUMException
- if an error occurredAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] CORE-TOOLS
|
[sap.com]
|
default
|
BC-JAS
|
[sap.com] ENGFACADE
|
[sap.com] tc/je/usermanagement/api
|
api
|
BC-JAS-SEC
|
[sap.com] ENGINEAPI
|
[sap.com]
|
-
|
BC-JAS-SEC-UME
|
[sap.com] ENGINEAPI
|
[sap.com]
|
default
|
BC-JAS-SEC-UME
|
Copyright 2018 SAP AG Complete Copyright Notice