Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AffiliateConfDomain affiliateConf = affiliateConfDAO.getAffilateConf(affiliateId);
- String localPath = SystemRepositoryUtil.getInstance().getAffiliateLogoRepo() + "aLogo" + affiliateId + logoPath.substring(logoPath.lastIndexOf("."));
- FileDownloader.download(logoPath, null, null, localPath);
- String absolutePath = "http://" + SystemUtil.getInstance().getHost() + SystemRepositoryUtil.getInstance().getAffiliateLogoPath() + "aLogo" + affiliateId + logoPath.substring(logoPath.lastIndexOf("."));
- affiliateConf.setIncludeVat(Boolean.FALSE);
- affiliateConf.setLogoPath(absolutePath);
- affiliateConf.setImplClientSide(clientImplSide);
- affiliateConfDAO.update(affiliateConf);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement