public final class UserIdContainer
extends java.lang.Object
The container that stores the user ID. Used to get a list of user IDs.
Constructor and Description |
---|
UserIdContainer() |
Modifier and Type | Method and Description |
---|---|
static void |
addId(java.lang.String jsessionID)
Adds a jsessionID to the user list.
|
static boolean |
contains(java.lang.String jsessionID)
Determines whether the currently entered jsessionID is included in the user ID list.
|
static void |
removeId(java.lang.String jsessionID)
Removes a jsessionID from the user list.
|
public static boolean contains(java.lang.String jsessionID)
Determines whether the currently entered jsessionID is included in the user ID list.
jsessionID
- The ID of the logged in user.public static void addId(java.lang.String jsessionID)
Adds a jsessionID to the user list.
If this jsessionID already exists in the user ID list, an existing exception is thrown.
jsessionID
- The jsessionID to be added.public static void removeId(java.lang.String jsessionID)
Removes a jsessionID from the user list.
jsessionID
- The jsessionID to be deleted.