Fix: renamed all the tables, with repo and controller associated to them (might have missed some), and fix some key dependency issues
This commit is contained in:
@ -4,23 +4,22 @@ import enseirb.myinpulse.model.*;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
|
||||
@Service
|
||||
public class AdminApiService {
|
||||
// TODO
|
||||
public Iterable<Administrateurs> getProjects() {
|
||||
public Iterable<Administrator> getProjects() {
|
||||
throw new ResponseStatusException(HttpStatus.NOT_IMPLEMENTED, "Not implemented yet");
|
||||
}
|
||||
|
||||
// TODO
|
||||
public Iterable<Appointment> getUpcomingAppointments() {
|
||||
public Iterable<DelAppointment> getUpcomingAppointments() {
|
||||
throw new ResponseStatusException(HttpStatus.NOT_IMPLEMENTED, "Not implemented yet");
|
||||
}
|
||||
|
||||
// TODO
|
||||
public Iterable<Project> getPendingProjects() {
|
||||
public Iterable<DelProject> getPendingProjects() {
|
||||
throw new ResponseStatusException(HttpStatus.NOT_IMPLEMENTED, "Not implemented yet");
|
||||
}
|
||||
|
||||
@ -30,12 +29,12 @@ public class AdminApiService {
|
||||
}
|
||||
|
||||
// TODO
|
||||
public void addNewProject(Project project) {
|
||||
public void addNewProject(DelProject project) {
|
||||
throw new ResponseStatusException(HttpStatus.NOT_IMPLEMENTED, "Not implemented yet");
|
||||
}
|
||||
|
||||
// TODO
|
||||
public void createAppointmentReport(String appointmentId, Report report) {
|
||||
public void createAppointmentReport(String appointmentId, DelReport report) {
|
||||
throw new ResponseStatusException(HttpStatus.NOT_IMPLEMENTED, "Not implemented yet");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user