- java.lang.Object
-
- services.ProjectSupervisorService
-
- services.ProjectFYPCoordinatorService
-
- All Implemented Interfaces:
IProjectFYPCoordinatorService
,IProjectSupervisorService
public class ProjectFYPCoordinatorService extends ProjectSupervisorService implements IProjectFYPCoordinatorService
TheProjectFYPCoordinatorService
class extendsProjectSupervisorService
and implementsIProjectFYPCoordinatorService
, providing project-related functionalities for FYP Coordinators.
-
-
Constructor Summary
Constructors Constructor Description ProjectFYPCoordinatorService()
Constructs an instance of theProjectFYPCoordinatorService
class.
-
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 theProjectFYPCoordinatorService
class.
-
-
Method Detail
-
getAllProjects
public java.util.ArrayList<Project> getAllProjects()
Description copied from interface:IProjectFYPCoordinatorService
Retrieves a list of all projects.- Specified by:
getAllProjects
in interfaceIProjectFYPCoordinatorService
- Returns:
- an
ArrayList
ofProject
objects representing all the projects
-
getAllProjectsByStatus
public java.util.ArrayList<Project> getAllProjectsByStatus(ProjectStatus projectStatus)
Description copied from interface:IProjectFYPCoordinatorService
Retrieves a list of projects filtered by the specified project status.- Specified by:
getAllProjectsByStatus
in interfaceIProjectFYPCoordinatorService
- Parameters:
projectStatus
- theProjectStatus
to filter projects by- Returns:
- an
ArrayList
ofProject
objects with the specified project status
-
getAllProjectsBySupervisor
public java.util.ArrayList<Project> getAllProjectsBySupervisor(java.lang.String supervisorID)
Description copied from interface:IProjectFYPCoordinatorService
Retrieves a list of projects submitted by the specified supervisor.- Specified by:
getAllProjectsBySupervisor
in interfaceIProjectFYPCoordinatorService
- Parameters:
supervisorID
- the ID of the supervisor- Returns:
- an
ArrayList
ofProject
objects submitted by the specified supervisor
-
-