/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package fr.plil.sio.persistence.jdbc; import java.util.List; import fr.plil.sio.persistence.api.Right; public interface RightRepository { List findByName(String name); Right findOne(Long id); boolean delete(Long id); void save(Right right, int parentId); }