|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.silverpeas.domains.sqldriver.SQLGroupTable
public class SQLGroupTable
A GroupTable object manages the DomainSQL_Group table.
Constructor Summary | |
---|---|
SQLGroupTable(SQLSettings ds)
|
Method Summary | |
---|---|
int |
createGroup(Connection c,
Group group)
Inserts in the database a new Group row. |
void |
deleteGroup(Connection c,
int groupId)
|
protected Group |
fetchGroup(ResultSet rs)
Fetch the current group row from a resultSet. |
List<Group> |
getAllGroups(Connection c)
Returns the User whith the given id. |
protected String |
getColumns()
|
List<Group> |
getDirectSubGroups(Connection c,
int groupId)
Returns the User whith the given id. |
Group |
getGroup(Connection c,
int groupId)
Returns the Group whith the given id. |
Group |
getGroupByName(Connection c,
String groupName)
Returns the Group whith the given name. |
void |
updateGroup(Connection c,
Group g)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLGroupTable(SQLSettings ds)
Method Detail |
---|
protected String getColumns()
protected Group fetchGroup(ResultSet rs) throws SQLException
SQLException
public int createGroup(Connection c, Group group) throws AdminException
AdminException
public void deleteGroup(Connection c, int groupId) throws AdminException
AdminException
public void updateGroup(Connection c, Group g) throws AdminException
AdminException
public Group getGroup(Connection c, int groupId) throws AdminException
AdminException
public Group getGroupByName(Connection c, String groupName) throws AdminException
AdminException
public List<Group> getAllGroups(Connection c) throws AdminException
AdminException
public List<Group> getDirectSubGroups(Connection c, int groupId) throws AdminException
AdminException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |