RightRepository.java
493 Bytes
/*
* 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 fr.plil.sio.persistence.api.Right;
import java.util.List;
/**
*
* @author msahmane
*/
public interface RightRepository {
List<Right> findByName(String name);
void delete(Long id);
void save(Right right);
Right findOne(Long id);
}