| java.lang.Object com.Yasna.forum.database.DbGroup
DbGroup | protected DbGroup(String name, DbForumFactory factory)(Code) | | Creates a new group.
Parameters: the - name of the group. Parameters: profileManager - a ProfileManager that can be used to perform userand group operations. |
DbGroup | protected DbGroup(int id, DbForumFactory factory) throws GroupNotFoundException(Code) | | Loads a group from the database based on its id.
Parameters: id - the id of the group to load. Parameters: profileManager - a ProfileManager that can be used to perform userand group operations. |
DbGroup | protected DbGroup(String name, Object fake, DbForumFactory factory) throws GroupNotFoundException(Code) | | Loads a group from the database based on its name. The implementation
of this method is rather hackish since it includes a fake parameter just
so that it can have a different method signature than the first
constructor. Even so, this methodology makes this class behave more like
our other classes, so we're gleefully leaving it this way. :)
Parameters: name - the name of the group to load. Parameters: fake - a fake paramater that can always be null. Parameters: profileManager - a ProfileManager that can be used to perform userand group operations. |
getAdministratorCount | public int getAdministratorCount()(Code) | | |
getAutoGroupMembership | public boolean getAutoGroupMembership()(Code) | | |
getMemberCount | public int getMemberCount()(Code) | | |
getSize | public int getSize()(Code) | | |
hasPermission | public boolean hasPermission(int type)(Code) | | |
hashCode | public int hashCode()(Code) | | |
isAdministrator | public boolean isAdministrator(User user)(Code) | | |
toString | public String toString()(Code) | | Returns a String representation of the Group object using the group name.
a String representation of the Group object. |
|
|