All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Utils.SQLUtils1

java.lang.Object
   |
   +----Utils.SQLUtils1

public class SQLUtils1
extends Object

Constructor Index

 o SQLUtils1()

Method Index

 o courseCommitments(Connection, String, String)
this function is to get all the courses and corresponding lectures depending upon the user and course number in the condition
 o deleteCourselecture(Connection, HttpServletRequest)
this function is for deleting lectures corresponding to some particular course (these are the lectures which have been selected by user for deletion through a checkbox
 o getGroups(Connection)
this function is to generate the get a vector containing the names of all the groups
 o insertCourse(Connection, String, String, String)
this function is for inserting into course table a particular entry
 o insertCoursegroup(Connection, String, String)
this is function is for inserting a particular tuple in course_group table
 o insertLecture(Connection, String, int, String, String, int, String, String, String, int, char)
This function is for inserting into lecture table

Constructors

 o SQLUtils1
 public SQLUtils1()

Methods

 o insertLecture
 public static Vector insertLecture(Connection con,
                                    String course_no,
                                    int lecture_no,
                                    String start_date,
                                    String end_date,
                                    int period,
                                    String room_id,
                                    String group_id,
                                    String user_id,
                                    int slot_no,
                                    char slot_id) throws SQLException
This function is for inserting into lecture table

 o getGroups
 public static Vector getGroups(Connection con) throws SQLException
this function is to generate the get a vector containing the names of all the groups

 o insertCourse
 public static void insertCourse(Connection con,
                                 String course_no,
                                 String course_name,
                                 String user_id) throws SQLException
this function is for inserting into course table a particular entry

 o insertCoursegroup
 public static void insertCoursegroup(Connection con,
                                      String course_no,
                                      String group_id) throws SQLException
this is function is for inserting a particular tuple in course_group table

 o courseCommitments
 public static Vector courseCommitments(Connection con,
                                        String course_no,
                                        String user_id) throws SQLException
this function is to get all the courses and corresponding lectures depending upon the user and course number in the condition

 o deleteCourselecture
 public static void deleteCourselecture(Connection con,
                                        HttpServletRequest request) throws SQLException
this function is for deleting lectures corresponding to some particular course (these are the lectures which have been selected by user for deletion through a checkbox


All Packages  Class Hierarchy  This Package  Previous  Next  Index