package pviscaino.com.client.service;

import pviscaino.com.client.entity.Causal;

import java.util.List;

/**
 * Created by pvisc on 08/12/2016.
 */
public interface CausalService {

    public void insert(Causal causal) throws Exception;

    public Causal get(long id) throws Exception;

    public List<Causal> getAll() throws Exception;

    public void update(Causal causal) throws Exception;

    public void delete(long id) throws Exception;

    public void delete(Causal causal) throws Exception;
}
