Convenience base class for Group implementations.
| Modifier and Type | Field and Description |
|---|---|
| protected String | description
The description of this group. |
| protected String | groupname
The group name of this group. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | addRole(Role
The new role role)Redeclares org. Add a new |
| public String | getDescription()
Implements org. Return the description of this group. |
| public String | getGroupname()
Implements org. Return the group name of this group, which must be unique
within the scope of a |
| public String | getName()
Implements java. Make the principal name the same as the group name. |
| public abstract Iterator | getRoles()
Redeclares org. Return the set of |
| public abstract UserDatabase | getUserDatabase()
Redeclares org. Return the |
| public abstract Iterator | getUsers()
Redeclares org. Return an Iterator over the set of |
| public abstract boolean | isInRole(Role
The role to check role)Redeclares org. Is this group specifically assigned the specified |
| public abstract void | removeRole(Role
The old role role)Redeclares org. Remove a |
| public abstract void | removeRoles()
Redeclares org. Remove all |
| public void | setDescription(String
The new description description)Implements org. Set the description of this group. |
| public void | setGroupname(String
The new group name groupname)Implements org. Set the group name of this group, which must be unique
within the scope of a |
| description | back to summary |
|---|---|
| protected String description The description of this group. | |
| groupname | back to summary |
|---|---|
| protected String groupname The group name of this group. | |
| AbstractGroup | back to summary |
|---|---|
| public AbstractGroup() | |
| addRole | back to summary |
|---|---|
| public abstract void addRole(Role role) Redeclares org. Add a new | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements org. Return the description of this group.
| |
| getGroupname | back to summary |
|---|---|
| public String getGroupname() Implements org. Return the group name of this group, which must be unique
within the scope of a
| |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Make the principal name the same as the group name.
| |
| getRoles | back to summary |
|---|---|
| public abstract Iterator Redeclares org. Return the set of
| |
| getUserDatabase | back to summary |
|---|---|
| public abstract UserDatabase getUserDatabase() Redeclares org. Return the
| |
| getUsers | back to summary |
|---|---|
| public abstract Iterator Redeclares org. Return an Iterator over the set of
| |
| isInRole | back to summary |
|---|---|
| public abstract boolean isInRole(Role role) Redeclares org. Is this group specifically assigned the specified
| |
| removeRole | back to summary |
|---|---|
| public abstract void removeRole(Role role) Redeclares org. Remove a | |
| removeRoles | back to summary |
|---|---|
| public abstract void removeRoles() Redeclares org. Remove all
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) Implements org. Set the description of this group. | |
| setGroupname | back to summary |
|---|---|
| public void setGroupname(String groupname) Implements org. Set the group name of this group, which must be unique
within the scope of a | |