package com.github.neunkasulle.chronocommand.control;

import com.github.neunkasulle.chronocommand.model.TimeSheet;
import com.github.neunkasulle.chronocommand.model.User;
import org.hibernate.cfg.NotYetImplementedException;

import java.util.Deque;
import java.util.List;

/**
 * Created by Janze on 17.01.2016.
 * Checks Time Sheets for regulation violations
 */
public class RegulationControl {
    Deque<User> warnedUsers;

    private static RegulationControl ourInstance = new RegulationControl();

    private RegulationControl() {

    }

    /**
     * Gets the one Instance of the RegulationControl.
     *
     * @return The one RegulationControl instance.
     */
    public static RegulationControl getInstance() {
        return ourInstance;
    }


    /**
     * Checks timeSheets for incossitencies and rule violations
     *
     * @param timesheets TimeSheets which are to be checked
     */
    public void checkTimeSheets(List<TimeSheet> timesheets) {
        throw new NotYetImplementedException();
    }

}

@@ -52,227 +52,8 @@
 l;%0A%0A
-import com.github.neunkasulle.chronocommand.model.TimeSheet;%0Aimport com.github.neunkasulle.chronocommand.model.User;%0Aimport org.hibernate.cfg.NotYetImplementedException;%0A%0Aimport java.util.Deque;%0Aimport java.util.List;%0A%0A
 /**%0A
@@ -175,37 +175,8 @@
 ol %7B
-%0A    Deque%3CUser%3E warnedUsers;
 %0A%0A  
@@ -469,24 +469,24 @@
 nstance() %7B%0A
+
         retu
@@ -512,271 +512,6 @@
  %7D%0A%0A
-%0A    /**%0A     * Checks timeSheets for incossitencies and rule violations%0A     *%0A     * @param timesheets TimeSheets which are to be checked%0A     */%0A    public void checkTimeSheets(List%3CTimeSheet%3E timesheets) %7B%0A        throw new NotYetImplementedException();%0A    %7D%0A%0A
 %7D%0A

remove yet not implemented methods