Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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);
- }
Add Comment
Please, Sign In to add comment