class ManterObitoNecropsiaON extends BaseBusiness {

	public void removerObitoNecropsia(MpmAltaSumario altaSumario) throws ApplicationBusinessException {
		if(altaSumario!=null){
			MpmObitoNecropsia obitoNecropsia = this.getMpmObitoNecropsiaDAO().obterMpmObitoNecropsia(altaSumario.getId().getApaAtdSeq(), altaSumario.getId().getApaSeq(), altaSumario.getId().getSeqp());
			
			if (obitoNecropsia != null) {
				
				this.getManterObitoNecropsiaRN().removerObitoNecropsia(obitoNecropsia);
				
			}
		}
		
	}

}