-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02daf8b
commit e56e2a2
Showing
2 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
15 changes: 14 additions & 1 deletion
15
src/main/java/org/erathor/api/controller/IExecutionController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
package org.erathor.api.controller; | ||
|
||
import org.erathor.api.model.IExecution; | ||
import org.erathor.api.model.IModel; | ||
|
||
public interface IExecutionController extends IModelController<IExecution> { | ||
import java.util.List; | ||
import java.util.Optional; | ||
|
||
public interface IExecutionController extends IModelController { | ||
|
||
public Optional<IExecution> read(Integer id); | ||
|
||
public void create(IExecution model); | ||
|
||
public void update(IExecution model); | ||
|
||
public void delete(IExecution model); | ||
|
||
public List<IExecution> readAll(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters