| java.lang.Object org.objectweb.salome_tmf.databaseSQL.SQLGroup
Method Summary | |
public void | delete(int idGroup) | public void | deleteUserGroup(int idGroup) | public void | deleteUserInGroup(int idGroup, int idUser) | public GroupWrapper[] | getGroupWrapperInProject(int idProject) | public GroupWrapper[] | getGroupsForUser(int idProject, String userLogin) | public int | getID(int idProject, String groupName) | public UserWrapper[] | getUserWrappersInGroup(int idGroup) | public int | insert(int idProject, String name, String description, int perm) | public void | insertUser(int idGroup, int idUser) | public void | updateGroup(int idGroup, String name, String description) | public void | updatePermission(int idGroup, int perm) | void | updatePermissionForGroup(int idProject, String groupName, int permission) | public void | updateUserDescInGroup(int idGroup, int idUser, String description) |
delete | public void delete(int idGroup) throws Exception(Code) | | delete the group idGroup and all reference about user in group
Parameters: idGroup - exception: no - permission needed |
deleteUserGroup | public void deleteUserGroup(int idGroup) throws Exception(Code) | | Delete all reference of group in user - group mapping
Parameters: idGroup - throws: Exception - |
deleteUserInGroup | public void deleteUserInGroup(int idGroup, int idUser) throws Exception(Code) | | Delete idUser in the group idGroup
Parameters: idGroup - Parameters: idUser - exception: no - permission needed |
getGroupWrapperInProject | public GroupWrapper[] getGroupWrapperInProject(int idProject) throws Exception(Code) | | Get an vector of GroupWrapper representing all groups in project idProject
Parameters: idProject - exception: no - permission needed |
getGroupsForUser | public GroupWrapper[] getGroupsForUser(int idProject, String userLogin) throws Exception(Code) | | Get an vector of GroupWrapper representing all groups where userLogin is
Parameters: idProject - Parameters: userLogin - exception: no - permission needed |
getID | public int getID(int idProject, String groupName) throws Exception(Code) | | get the id of an group groupName in project idProject
Parameters: idProject - Parameters: groupName - exception: no - permission needed |
getUserWrappersInGroup | public UserWrapper[] getUserWrappersInGroup(int idGroup) throws Exception(Code) | | Get an vector of UserWrapper representing all users in group idGroup
Parameters: idGroup - exception: no - permission needed |
insert | public int insert(int idProject, String name, String description, int perm) throws Exception(Code) | | Insert a group for the project idProject
Parameters: idProject - Parameters: name - of the group Parameters: description - of the group Parameters: perm - of the group in the project the id of the group exception: no - permission needed |
insertUser | public void insertUser(int idGroup, int idUser) throws Exception(Code) | | Insert an user idUser in the group idGroup
exception: no - permission needed |
updateGroup | public void updateGroup(int idGroup, String name, String description) throws Exception(Code) | | update the name and the description of the group idGroup
Parameters: idGroup - Parameters: name - Parameters: description - exception: no - permission needed |
updatePermission | public void updatePermission(int idGroup, int perm) throws Exception(Code) | | update the permission of the group idGroup by perm
Parameters: idGroup - Parameters: perm - exception: no - permission needed |
updatePermissionForGroup | void updatePermissionForGroup(int idProject, String groupName, int permission) throws Exception(Code) | | |
updateUserDescInGroup | public void updateUserDescInGroup(int idGroup, int idUser, String description) throws Exception(Code) | | Update the description of idUser in the group idGroup
Parameters: idGroup - Parameters: idUser - Parameters: description - exception: no - permission needed |
|
|