Class SQLGroupTable
- java.lang.Object
-
- org.silverpeas.core.admin.domain.driver.sqldriver.SQLGroupTable
-
public class SQLGroupTable extends Object
A GroupTable object manages the DomainSQL_Group table.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
createGroup(Connection c, GroupDetail group)
Inserts in the database a new GroupDetail row.void
deleteGroup(Connection c, int groupId)
List<GroupDetail>
getAllGroups(Connection c)
Returns the User with the given id.protected String
getColumns()
GroupDetail
getGroup(Connection c, int groupId)
Returns the GroupDetail with the given id.void
updateGroup(Connection c, GroupDetail g)
-
-
-
Method Detail
-
getColumns
protected String getColumns()
-
createGroup
public int createGroup(Connection c, GroupDetail group) throws AdminException
Inserts in the database a new GroupDetail row.- Throws:
AdminException
-
deleteGroup
public void deleteGroup(Connection c, int groupId) throws AdminException
- Throws:
AdminException
-
updateGroup
public void updateGroup(Connection c, GroupDetail g) throws AdminException
- Throws:
AdminException
-
getGroup
public GroupDetail getGroup(Connection c, int groupId) throws AdminException
Returns the GroupDetail with the given id.- Throws:
AdminException
-
getAllGroups
public List<GroupDetail> getAllGroups(Connection c) throws AdminException
Returns the User with the given id.- Throws:
AdminException
-
-