All Packages Class Hierarchy This Package Previous Next Index
Class Utils.SQLUtils1
java.lang.Object
|
+----Utils.SQLUtils1
- public class SQLUtils1
- extends Object
-
SQLUtils1()
-
-
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
-
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
-
getGroups(Connection)
- this function is to generate the get a vector containing the names of
all the groups
-
insertCourse(Connection, String, String, String)
- this function is for inserting into course table a particular entry
-
insertCoursegroup(Connection, String, String)
- this is function is for inserting a particular tuple in
course_group table
-
insertLecture(Connection, String, int, String, String, int, String, String, String, int, char)
- This function is for inserting into lecture table
SQLUtils1
public SQLUtils1()
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
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
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
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
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
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