Created
March 14, 2018 15:04
-
-
Save pablocloud/92bade3963d92f0cbaf1db394e80f736 to your computer and use it in GitHub Desktop.
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
package com.besuricata.rest.controllers; | |
import java.util.Collection; | |
interface BasicController<T, ID> { | |
T getById(ID identifier); | |
Collection<T> get(); | |
T post(T object); | |
T put(ID identifier, T object); | |
Boolean delete(ID identifier); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment