Guest User

Untitled

a guest
Mar 23rd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. package com.besuricata.rest.controllers;
  2.  
  3. import java.util.Collection;
  4.  
  5. interface BasicController<T, ID> {
  6.  
  7. T getById(ID identifier);
  8.  
  9. Collection<T> get();
  10.  
  11. T post(T object);
  12.  
  13. T put(ID identifier, T object);
  14.  
  15. Boolean delete(ID identifier);
  16. }
Add Comment
Please, Sign In to add comment