Class AssignCSRService

java.lang.Object
   |
   +----javax.servlet.GenericServlet
           |
           +----javax.servlet.http.HttpServlet
                   |
                   +----AssignCSRService

public class AssignCSRService
extends HttpServlet
implements SingleThreadModel
This class shows the Forward_Email entityset details like servicetag and csremailid and provides an interface to assign a new service to the csr to handle .


Constructor Index

 o AssignCSRService()

Method Index

 o doGet(HttpServletRequest, HttpServletResponse)
 o doPost(HttpServletRequest, HttpServletResponse)
 o init(ServletConfig)
 o InsertintoTables(String, String, PrintWriter)
inserts the new values of csremailid and the service tag assigned to him into the database.
 o printTable(PrintWriter)

Constructors

 o AssignCSRService
 public AssignCSRService()

Methods

 o init
 public void init(ServletConfig config) throws ServletException
Overrides:
init in class GenericServlet
 o doGet
 public void doGet(HttpServletRequest request,
                   HttpServletResponse response) throws ServletException, IOException
Overrides:
doGet in class HttpServlet
 o doPost
 public void doPost(HttpServletRequest request,
                    HttpServletResponse response) throws ServletException, IOException
Overrides:
doPost in class HttpServlet
 o InsertintoTables
 public void InsertintoTables(String sertag,
                              String csremailid,
                              PrintWriter pw)
inserts the new values of csremailid and the service tag assigned to him into the database.

Parameters:
string - sertag - service tag
string - csremailid - emailid of the csr
Printwriter - pw
 o printTable
 public void printTable(PrintWriter pw)
Parameters:
PrintWriter - pw