|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.silverpeas.domains.sqldriver.SQLGroupUserRelTable
public class SQLGroupUserRelTable
A GroupTable object manages the DomainSQL_Group table.
Constructor Summary | |
---|---|
SQLGroupUserRelTable(SQLSettings ds)
|
Method Summary | |
---|---|
int |
createGroupUserRel(Connection c,
int groupId,
int userId)
Insert a new group row. |
List<String> |
getDirectGroupIdsOfUser(Connection c,
int userId)
Returns all the groups in a given userRole (not recursive). |
List<String> |
getDirectUserIdsOfGroup(Connection c,
int groupId)
Returns all the User ids which compose a group. |
boolean |
isUserDirectlyInGroup(Connection c,
int userId,
int groupId)
Tests if a user is in given group (not recursive). |
int |
removeAllGroupRel(Connection c,
int groupId)
Insert a new group row. |
int |
removeAllUserRel(Connection c,
int userId)
Insert a new group row. |
int |
removeGroupUserRel(Connection c,
int groupId,
int userId)
Insert a new group row. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLGroupUserRelTable(SQLSettings ds)
Method Detail |
---|
public List<String> getDirectUserIdsOfGroup(Connection c, int groupId) throws AdminException
AdminException
public List<String> getDirectGroupIdsOfUser(Connection c, int userId) throws AdminException
AdminException
public int createGroupUserRel(Connection c, int groupId, int userId) throws AdminException
AdminException
public int removeGroupUserRel(Connection c, int groupId, int userId) throws AdminException
AdminException
public int removeAllUserRel(Connection c, int userId) throws AdminException
AdminException
public int removeAllGroupRel(Connection c, int groupId) throws AdminException
AdminException
public boolean isUserDirectlyInGroup(Connection c, int userId, int groupId) throws AdminException
AdminException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |