package br.com.centralit.citcorpore.negocio;

import br.com.centralit.citcorpore.bean.GerenciamentoPortfolioServicoContratoANSDTO;
import br.com.centralit.citcorpore.bean.ServicoContratoANSDTO;
import br.com.citframework.excecao.PersistenceException;
import br.com.citframework.integracao.core.Page;
import br.com.citframework.integracao.core.Pageable;
import br.com.citframework.service.CrudService;

public interface ServicoContratoANSService extends CrudService {

	Page<GerenciamentoPortfolioServicoContratoANSDTO> findByIdServicoContrato(Integer idServicoContrato, String filtro, final Pageable pageable, Boolean isTotalizacao) throws Exception;

	void updateNotNull(ServicoContratoANSDTO servicoContratoANSDTO) throws Exception;

	Boolean existeAnsAtivoByServicoContrato(Integer idServicoContrato) throws Exception;

	public ServicoContratoANSDTO getServicoContratoANSDTOAtivoByIdServicoContrato(Integer idServicoContrato) throws PersistenceException;
	
}
