Package main.Models

Class DeregisterProjectReq

java.lang.Object
main.Models.Request
main.Models.DeregisterProjectReq

public class DeregisterProjectReq extends Request
DeregisterProjectRequest is a Request's subclass to deal with deregister request
Since:
13-4-2023
  • Constructor Details

    • DeregisterProjectReq

      public DeregisterProjectReq(String requestID, String requesterID, String requesteeID, String requestType, requestStatus_ENUM status, String projectID, String comment)
      Constructor for DeregisterProjectReq
      Parameters:
      requestID - request ID
      requesterID - ID of the user making the request
      requesteeID - ID of the user receiving the request
      requestType - request type of this request
      status - request status of this request
      projectID - ID of project
      comment - comments
  • Method Details

    • printInfo

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

      public void processRequest(String decision)
      Method to process the request
      Specified by:
      processRequest in class Request
      Parameters:
      decision - whether the request is approved/rejected