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)


Fields inherited from class com.arsdigita.acs.Selection
ctr, db, rs, rsmd
 
Constructor Summary
GroupTypeDataSource()
           
GroupTypeDataSource(ResultSet rs)
           
GroupTypeDataSource(SqlStatement s, Database db)
           
 
Method Summary
static String generateHelperTableName(String s)
           
 String getApprovalPolicy()
           
 String getDefaultNewMemberPolicy()
           
 String getGroupAdminDirectory()
           
 GroupField getGroupFields(Database db)
          Gets a list of supplemental fields stored for each group in a particular group type.
 String getGroupModuleAdministration()
           
 String getGroupPublicDirectory()
           
 String getGroupType()
           
 String getGroupTypeAdminDirectory()
           
 String getHasVirtualDirectory()
           
 String getHelperTableName(Database db)
          Returns the helper table name for this group type, creating it if it doesn't exist.
 MemberField getMemberFields(Database db)
          Gets a list of data stored for each member belonging to a group of this type.
 String getPrettyGroupModuleAdministration()
           
 String getPrettyName()
           
 String getPrettyPlural()
           
 
Methods inherited from class com.arsdigita.acs.Selection
contains, dumpBLOB, freeze, get, getBLOB, keys, next, rownum
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupTypeDataSource

public GroupTypeDataSource()

GroupTypeDataSource

public GroupTypeDataSource(SqlStatement s,
                           Database db)
                    throws SQLException

GroupTypeDataSource

public GroupTypeDataSource(ResultSet rs)
                    throws SQLException
Method Detail

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.