public Integer getGroupIdFromName ( String groupName ) { return ( Integer ) sqlService . getFromTable ( Constants . GENERIC_ID , Constants . GROUPS_GROUP_NAME , groupName , Constants . DB_TABLE_GROUPS ) ; }
given the groupName it returns the groupId