- java.lang.Object
-
- services.ProjectSupervisorService
-
- services.ProjectFYPCoordinatorService
-
- All Implemented Interfaces:
IProjectFYPCoordinatorService,IProjectSupervisorService
public class ProjectFYPCoordinatorService extends ProjectSupervisorService implements IProjectFYPCoordinatorService
TheProjectFYPCoordinatorServiceclass extendsProjectSupervisorServiceand implementsIProjectFYPCoordinatorService, providing project-related functionalities for FYP Coordinators.
-
-
Constructor Summary
Constructors Constructor Description ProjectFYPCoordinatorService()Constructs an instance of theProjectFYPCoordinatorServiceclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<Project>getAllProjects()Retrieves a list of all projects.java.util.ArrayList<Project>getAllProjectsByStatus(ProjectStatus projectStatus)Retrieves a list of projects filtered by the specified project status.java.util.ArrayList<Project>getAllProjectsBySupervisor(java.lang.String supervisorID)Retrieves a list of projects submitted by the specified supervisor.-
Methods inherited from class services.ProjectSupervisorService
createProjects, getSubmittedProjects, updateProjectTitle, updateRemainingProjectsToUnavailable, updateUnavailableProjectsToAvailable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface interfaces.IProjectSupervisorService
createProjects, getSubmittedProjects, updateProjectTitle, updateRemainingProjectsToUnavailable, updateUnavailableProjectsToAvailable
-
-
-
-
Constructor Detail
-
ProjectFYPCoordinatorService
public ProjectFYPCoordinatorService()
Constructs an instance of theProjectFYPCoordinatorServiceclass.
-
-
Method Detail
-
getAllProjects
public java.util.ArrayList<Project> getAllProjects()
Description copied from interface:IProjectFYPCoordinatorServiceRetrieves a list of all projects.- Specified by:
getAllProjectsin interfaceIProjectFYPCoordinatorService- Returns:
- an
ArrayListofProjectobjects representing all the projects
-
getAllProjectsByStatus
public java.util.ArrayList<Project> getAllProjectsByStatus(ProjectStatus projectStatus)
Description copied from interface:IProjectFYPCoordinatorServiceRetrieves a list of projects filtered by the specified project status.- Specified by:
getAllProjectsByStatusin interfaceIProjectFYPCoordinatorService- Parameters:
projectStatus- theProjectStatusto filter projects by- Returns:
- an
ArrayListofProjectobjects with the specified project status
-
getAllProjectsBySupervisor
public java.util.ArrayList<Project> getAllProjectsBySupervisor(java.lang.String supervisorID)
Description copied from interface:IProjectFYPCoordinatorServiceRetrieves a list of projects submitted by the specified supervisor.- Specified by:
getAllProjectsBySupervisorin interfaceIProjectFYPCoordinatorService- Parameters:
supervisorID- the ID of the supervisor- Returns:
- an
ArrayListofProjectobjects submitted by the specified supervisor
-
-