Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.74 KB | None | 0 0
  1. AffiliateConfDomain affiliateConf = affiliateConfDAO.getAffilateConf(affiliateId);
  2.             String localPath = SystemRepositoryUtil.getInstance().getAffiliateLogoRepo() + "aLogo" + affiliateId + logoPath.substring(logoPath.lastIndexOf("."));
  3.             FileDownloader.download(logoPath, null, null, localPath);
  4.             String absolutePath = "http://" + SystemUtil.getInstance().getHost() + SystemRepositoryUtil.getInstance().getAffiliateLogoPath() + "aLogo" + affiliateId + logoPath.substring(logoPath.lastIndexOf("."));
  5.  
  6.             affiliateConf.setIncludeVat(Boolean.FALSE);
  7.             affiliateConf.setLogoPath(absolutePath);
  8.             affiliateConf.setImplClientSide(clientImplSide);
  9.             affiliateConfDAO.update(affiliateConf);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement