Concrete implementation of org. for a
UserDatabase.
| Modifier and Type | Field and Description |
|---|---|
| protected final UD | database
The |
| protected final CopyOnWriteArrayList |
| Access | Constructor and Description |
|---|---|
| pack-priv | GenericGroup(UD
The database, String UserDatabase that owns this groupGroup name of this group groupname, String Description of this group description, List<Role> The roles of this group roles)Package-private constructor used by the factory method in
|
| Modifier and Type | Method and Description |
|---|---|
| public void | addRole(Role
The new role role)Implements abstract org. Implements org. Add a new |
| public boolean | equals(Object
Principal to compare with.Overrides java. Implements java. Compares this |
| public Iterator | getRoles()
Implements abstract org. Implements org. Return the set of |
| public UserDatabase | getUserDatabase()
Implements abstract org. Implements org. Return the |
| public Iterator | getUsers()
Implements abstract org. Implements org. Return the set of |
| public int | hashCode()
Overrides java. Implements java. Returns a hashcode for this |
| public boolean | isInRole(Role
The role to check role)Implements abstract org. Implements org. Is this group specifically assigned the specified |
| public void | removeRole(Role
The old role role)Implements abstract org. Implements org. Remove a |
| public void | removeRoles()
Implements abstract org. Implements org. Remove all |
| database | back to summary |
|---|---|
| protected final UD database The | |
| roles | back to summary |
|---|---|
| protected final CopyOnWriteArrayList<Role> roles The set of | |
| GenericGroup | back to summary |
|---|---|
| pack-priv GenericGroup(UD database, String groupname, String description, List<Role> roles) Package-private constructor used by the factory method in
| |
| addRole | back to summary |
|---|---|
| public void addRole(Role role) Implements abstract org. Implements org. Add a new | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Implements java. Doc from java. Compares this | |
| getRoles | back to summary |
|---|---|
| public Iterator Implements abstract org. Implements org. Return the set of
| |
| getUserDatabase | back to summary |
|---|---|
| public UserDatabase getUserDatabase() Implements abstract org. Implements org. Return the
| |
| getUsers | back to summary |
|---|---|
| public Iterator Implements abstract org. Implements org. Return the set of
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns a hashcode for this
| |
| isInRole | back to summary |
|---|---|
| public boolean isInRole(Role role) Implements abstract org. Implements org. Is this group specifically assigned the specified
| |
| removeRole | back to summary |
|---|---|
| public void removeRole(Role role) Implements abstract org. Implements org. Remove a | |
| removeRoles | back to summary |
|---|---|
| public void removeRoles() Implements abstract org. Implements org. Remove all
| |