Package main.Models

Class RegisterProjectReq

java.lang.Object
main.Models.Request
main.Models.RegisterProjectReq

public class RegisterProjectReq extends Request
The class that handles the student's registration of a project
Since:
2023-04-13
  • Constructor Details

    • RegisterProjectReq

      public RegisterProjectReq(String requestID, String requesterID, String requesteeID, String requestType, requestStatus_ENUM status, String projectID, String comment)
      constructor of RegisterProjectReq
      Parameters:
      requestID - Id of the request itself
      requesterID - Id of the student who requested the registration
      requesteeID - Id of the coordinator to process the request
      requestType - the type of the request
      status - the status of the request
      projectID - the Id of the selected project the student wants to register for
      comment - any comments added by requester/requestee
  • Method Details

    • printInfo

      public void printInfo(String projectTitle, String supID, String supEmail)
      prints the information of the request
      Specified by:
      printInfo in class Request
      Parameters:
      projectTitle - project title
      supID - supervisor's ID
      supEmail - supervisor's email
    • processRequest

      public void processRequest(String decision)
      approve/reject the request and update the student, supervisor and project
      Specified by:
      processRequest in class Request
      Parameters:
      decision - approve or reject the request