package br.com.centralit.citcorpore.negocio;

import java.util.Collection;

import br.com.centralit.citcorpore.integracao.ItemConfiguracaoAcordoNivelServicoDao;
import br.com.citframework.service.CrudServiceImpl;

@SuppressWarnings({"unchecked", "rawtypes"})
public class ItemConfiguracaoAcordoNivelServicoServiceEjb extends CrudServiceImpl implements ItemConfiguracaoAcordoNivelServicoService {

    private ItemConfiguracaoAcordoNivelServicoDao dao;

    @Override
    protected ItemConfiguracaoAcordoNivelServicoDao getDao() {
        if (dao == null) {
            dao = new ItemConfiguracaoAcordoNivelServicoDao();
        }
        return dao;
    }

	@Override
    public Collection findByIdAcordoNivelServico(final Integer parm) throws Exception {
		return this.getDao().findByIdAcordoNivelServico(parm);
    }

    @Override
    public void deleteByIdAcordoNivelServico(final Integer parm) throws Exception {
        this.getDao().deleteByIdAcordoNivelServico(parm);
    }

	@Override
	public Collection findByIdItemConfiguracao(Integer parm) throws Exception {
		return getDao().findByIdItemConfiguracao(parm);
	}

	@Override
	public void deleteByIdItemConfiguracao(Integer parm) throws Exception {
		getDao().deleteByIdItemConfiguracao(parm);
	}

}
