com.arsdigita.acs.ug
Class GroupDataSource
java.lang.Object
|
+--com.arsdigita.acs.Selection
|
+--com.arsdigita.acs.ug.GroupDataSource
- All Implemented Interfaces:
- DataSource
- Direct Known Subclasses:
- SingleGroupDataSource
- public class GroupDataSource
- extends Selection
Represents a series of user groups pulled in from the database.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupDataSource
public GroupDataSource(SqlStatement s,
Database db)
throws SQLException
GroupDataSource
public GroupDataSource(ResultSet rs)
throws SQLException
GroupDataSource
public GroupDataSource()
getGroupId
public Integer getGroupId()
getGroupType
public String getGroupType()
getGroupName
public String getGroupName()
getShortName
public String getShortName()
getParentGroupId
public Integer getParentGroupId()
getSupplementalGroupInfo
public SingleSelection getSupplementalGroupInfo(Database db)
throws SQLException,
ACSException,
IOException
- Returns a list of supplemental fields and values for this group.
getMemberFields
public MemberField getMemberFields(Database db)
throws SQLException
- Returns the additional data collected about users in this
group.
- Returns:
- A MemberField datasource object
getMemberFieldCount
public int getMemberFieldCount(Database db)
throws SQLException,
ACSException
- Returns the number of additional fields collected about users
in this group.
- Returns:
- the number of additional fields collected