Method Summary |
|
public void | addAdministrator(User user) Grants administrator privileges of the group to a user.
This method is restricted to those with group administration permission. |
public void | addMember(User user) Adds a member to the group.
This method is restricted to those with group administration permission. |
public Iterator | administrators() An iterator for all the users that are administrators of the group. |
public int | getAdministratorCount() Returns the number of group administrators. |
public String | getDescription() Returns the description of the group. |
public int | getID() Returns the id of the group. |
public int | getMemberCount() Returns the number of group members. |
public String | getName() Returns the name of the group. |
abstract public ForumPermissions | getPermissions(Authorization authorization) Returns the permissions for the group that correspond to the
passed-in Authorization. |
public boolean | hasPermission(int type) Returns true if the handle on the object has the permission specified.
A list of possible permissions can be found in the ForumPermissions
class. |
public boolean | isAdministrator(User user) Returns true if the User has group administrator permissions. |
public boolean | isMember(User user) Returns true if if the User is a member of the group. |
public Iterator | members() An iterator for all the users that are members of the group. |
public void | removeAdministrator(User user) Revokes administrator privileges of the group to a user.
This method is restricted to those with group administration permission. |
public void | removeMember(User user) Removes a member from the group. |
public void | setDescription(String description) Sets the description of the group. |
public void | setName(String name) Sets the name of the group. |