Class FacultySession
java.lang.Object
|
+----Session
|
+----FacultySession
- public class FacultySession
- extends Session
A class to handle the login session of a faculty.
-
FacultySession()
-
-
changeStatus(HttpServletRequest, Connection)
- Method to change the status of the thesis after approval.
-
gen_form(ResultSet, PrintWriter, String)
- Method to generate the page of all the students under the page.
-
insData(HttpServletRequest, Connection, PrintWriter)
-
-
printPage(Connection, PrintWriter, HttpServletRequest, String)
- Method to print the page corresponding to various situations.
-
printRespectivePage(String, PrintWriter)
- Open the file with name Filename and just print the
contents of it
-
printStudentInfo(HttpServletRequest, PrintWriter, Connection)
- Method to print the info about a particular student.
-
printTypes(PrintWriter, Connection)
- Method to print the list of various students under this prof.
-
printUpdatePage(Connection, PrintWriter)
- Method to print the welcome page for the faculty.
-
processData(HttpServletRequest, Connection, PrintWriter)
- Method to Process the data from the corresponding form!!!
-
search(HttpServletRequest, Connection, PrintWriter)
- A method to search for all the students doing a thesis of
specified type under this prof.
FacultySession
public FacultySession()
printPage
public void printPage(Connection Conn,
PrintWriter out,
HttpServletRequest Req,
String cook)
- Method to print the page corresponding to various situations.
- Parameters:
- Conn - Connection instance
- out - PrintWriter instance
- Req - HttpServletRequest instance
- Returns:
- Nothing
- Overrides:
- printPage in class Session
printUpdatePage
public void printUpdatePage(Connection Conn,
PrintWriter out)
- Method to print the welcome page for the faculty.
- Parameters:
- Conn - Connection instance
- out - PrintWriter instance
- Returns:
- Nothing
- Overrides:
- printUpdatePage in class Session
printTypes
public void printTypes(PrintWriter out,
Connection Conn)
- Method to print the list of various students under this prof.
- Parameters:
- out - PrintWriter instance
- Conn - Connection instance
- Returns:
- Nothing
processData
public void processData(HttpServletRequest Req,
Connection Conn,
PrintWriter out)
- Method to Process the data from the corresponding form!!!
- Parameters:
- Req - HttpServletRequest instance
- Conn - Connection instance
- out - PrintWriter instance
- Returns:
- Nothing
- Overrides:
- processData in class Session
insData
public void insData(HttpServletRequest Req,
Connection Conn,
PrintWriter out) throws SQLException, FileNotFoundException, IOException
changeStatus
public void changeStatus(HttpServletRequest Req,
Connection Conn) throws SQLException
- Method to change the status of the thesis after approval.
- Parameters:
- Req - HttpServletRequest instance
- Conn - Connection instance
- Returns:
- Nothing
printRespectivePage
public void printRespectivePage(String Filename,
PrintWriter out) throws FileNotFoundException, IOException
- Open the file with name Filename and just print the
contents of it
- Parameters:
- Filename - Name of the filename
- out - PrintWriter
- Returns:
- Nothing
search
public void search(HttpServletRequest req,
Connection Conn,
PrintWriter out)
- A method to search for all the students doing a thesis of
specified type under this prof.
- Parameters:
- req - HttpServletRequest instance
- Conn - Connection instance
- out - PrintWriter instance
- Returns:
- Nothing
gen_form
public void gen_form(ResultSet res,
PrintWriter out,
String Type)
- Method to generate the page of all the students under the page.
- Parameters:
- res - ResultSet instance
- out - PrintWriter instance
- Type - Type of the theses
- Returns:
- Nothing
printStudentInfo
public void printStudentInfo(HttpServletRequest req,
PrintWriter out,
Connection Conn)
- Method to print the info about a particular student.
- Parameters:
- req - HttpServletRequest instance
- out - PrintWriter instance
- Conn - Connection instance
- Returns:
- Nothing