package br.com.centralit.citcorpore.negocio;

import java.util.Collection;

import br.com.centralit.citajax.html.DocumentHTML;
import br.com.citframework.excecao.PersistenceException;
import br.com.citframework.service.CrudService;

public interface UploadGenericoService<T> extends CrudService {

	// REFERENTE AO ANEXO
	public Collection<T> findCollectionById(Integer id) throws PersistenceException;

	T salvar(T dto) throws PersistenceException;

	void removerAnexosDiretorioGed(DocumentHTML document, T dto) throws PersistenceException;
}
