GrantInsurance grantInsurance = null; IPersistentGrantInsurance persistentGrantInsurance = null; persistentGrantInsurance = persistentSupport.getIPersistentGrantInsurance(); grantInsurance = persistentGrantInsurance.readGrantInsuranceByGrantContract(idContract);  InfoGrantInsurance infoGrantInsurance = null; if (grantInsurance != null) { infoGrantInsurance = InfoGrantInsuranceWithContractAndPaymentEntity .newInfoFromDomain(grantInsurance);
GrantContract grantContract = rootDomainObject.readGrantContractByOID(idContract); if (grantContract.getGrantInsurance() != null) { return InfoGrantInsuranceWithContractAndPaymentEntity.newInfoFromDomain(grantContract.getGrantInsurance());
	public InfoGrantInsurance run(Integer idContract) throws FenixServiceException, ExcepcaoPersistencia {		GrantInsurance grantInsurance = null;		IPersistentGrantInsurance persistentGrantInsurance = null;		persistentGrantInsurance = persistentSupport.getIPersistentGrantInsurance();		grantInsurance = persistentGrantInsurance.readGrantInsuranceByGrantContract(idContract);		InfoGrantInsurance infoGrantInsurance = null;		if (grantInsurance != null) {			infoGrantInsurance = InfoGrantInsuranceWithContractAndPaymentEntity					.newInfoFromDomain(grantInsurance);		}		return infoGrantInsurance;	}