public class UsmUserEvent
extends java.util.EventObject
USM is created
modified or deleted.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
private int |
type |
private UsmUserEntry |
user |
static int |
USER_ADDED
Constant: a new user was created.
|
static int |
USER_CHANGED
Constant: a user was changed (but not deleted).
|
static int |
USER_REMOVED
Constant: a user was deleted.
|
| Constructor and Description |
|---|
UsmUserEvent(SecurityModel source,
UsmUserEntry changedEntry,
int type)
Construct a UsmUserEvent.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getType()
Return the type of operation that triggered this event.
|
UsmUserEntry |
getUser()
Get the modified entry of the
UsmUserTable. |
private static final long serialVersionUID
public static final int USER_ADDED
public static final int USER_REMOVED
public static final int USER_CHANGED
private UsmUserEntry user
private int type
public UsmUserEvent(SecurityModel source, UsmUserEntry changedEntry, int type)
source - the object that emitts this eventchangedEntry - the changed entrytype - can be USER_ADDED, USER_REMOVED or USER_CHANGED.public UsmUserEntry getUser()
UsmUserTable.public int getType()