com.arsdigita.acs.ug
Class GroupTypeDataSource
java.lang.Object
|
+--com.arsdigita.acs.Selection
|
+--com.arsdigita.acs.ug.GroupTypeDataSource
- All Implemented Interfaces:
- DataSource
- Direct Known Subclasses:
- SingleGroupTypeDataSource
- public class GroupTypeDataSource
- extends Selection
Represents a user group type. (e.g., administration, intranet, events)
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupTypeDataSource
public GroupTypeDataSource()
GroupTypeDataSource
public GroupTypeDataSource(SqlStatement s,
Database db)
throws SQLException
GroupTypeDataSource
public GroupTypeDataSource(ResultSet rs)
throws SQLException
getGroupType
public String getGroupType()
getPrettyName
public String getPrettyName()
getPrettyPlural
public String getPrettyPlural()
getApprovalPolicy
public String getApprovalPolicy()
getDefaultNewMemberPolicy
public String getDefaultNewMemberPolicy()
getGroupModuleAdministration
public String getGroupModuleAdministration()
getHasVirtualDirectory
public String getHasVirtualDirectory()
getGroupTypeAdminDirectory
public String getGroupTypeAdminDirectory()
getGroupPublicDirectory
public String getGroupPublicDirectory()
getGroupAdminDirectory
public String getGroupAdminDirectory()
getPrettyGroupModuleAdministration
public String getPrettyGroupModuleAdministration()
- Returns:
- Pretty description of the group_module_administration
field
generateHelperTableName
public static String generateHelperTableName(String s)
getHelperTableName
public String getHelperTableName(Database db)
throws SQLException,
ACSException
- Returns the helper table name for this group type, creating it
if it doesn't exist.
getGroupFields
public GroupField getGroupFields(Database db)
throws SQLException
- Gets a list of supplemental fields stored for each group
in a particular group type.
getMemberFields
public MemberField getMemberFields(Database db)
throws SQLException
- Gets a list of data stored for each member belonging to a group
of this type.