diff --git a/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java b/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java new file mode 100644 index 0000000..1066da4 --- /dev/null +++ b/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java @@ -0,0 +1,42 @@ +package org.ntlab.citrusserver.repositories; + +import java.util.HashMap; + +public class ScheduleManager { + + //Todo管理 + private final HashMap>>>> schedules + = new HashMap<>(); + + public void getScheduleAll(String account_id){ + } + + public void getScheduleYear(String account_id, int year){ + } + + public void getScheduleMonth(String account_id, int year, int month){ + } + + public void getScheduleDay(String account_id, int year, int month, int day){ + } + + public void addSchedule(String account_id, int year, int month, int day){ + } + + public Schedule getScheduleId(String account_id, int year, int month, int day, int schedule_id){ + return schedules.get(account_id).get(schedule_id).get(year).get(month).get(day); + } + + public void deleteSchedule(String account_id, int year, int month, int day, int schedule_id){} + + public void setScheduleStartTime(String account_id, int year, int month, int day, int schedule_id, int old_time, int new_time){} + + public void setScheduleEndTime(String account_id, int year, int month, int day, int schedule_id, int old_time, int new_time){} + + public void setSchedulesBook(){} +}