package seedu.jimi.logic;

import javafx.collections.ObservableList;
import seedu.jimi.logic.commands.CommandResult;
import seedu.jimi.model.task.ReadOnlyTask;

/**
 * API of the Logic component
 */
public interface Logic {
    /**
     * Executes the command and returns the result.
     * @param commandText The command as entered by the user.
     * @return the result of the command execution.
     */
    CommandResult execute(String commandText);

    /** Returns the filtered list of tasks */
    ObservableList<ReadOnlyTask> getFilteredTaskList();

}

@@ -548,12 +548,244 @@
 kList();
+%0A    %0A    /** Returns the filtered list of deadlineTasks */%0A    ObservableList%3CReadOnlyTask%3E getFilteredDeadlineTaskList();%0A    %0A    /** Returns the filtered list of events */%0A    ObservableList%3CReadOnlyTask%3E getFilteredEventList();
 %0A%0A%7D%0A

add in deadlineTask and event accessor methods to interface