Examples of FriendshipLink


Examples of com.eatle.persistent.pojo.system.frontdata.FriendshipLink

  }

  @Override
  public FriendshipLink findById(long id)
  {
    FriendshipLink fl = friendshipLinkMapper.selectByPrimaryKey(id);
    fl.setIsDisplayStr(showFriendLinkHtml.get("" + fl.getIsDisplay()));
    return fl;
  }
View Full Code Here

Examples of com.eatle.persistent.pojo.system.frontdata.FriendshipLink

          // 保存文件
          String saveName = ServletActionContext.getServletContext()
              .getRealPath(path) + File.separator + uuidName;
          ImageUtil.thumbnails(logo[i], new File(saveName), 25);
          // 更新特性IconUrl
          FriendshipLink friendshipLink = friendshipLinkService.findById(id);
          String oldLogoPath = ServletActionContext.getServletContext()
              .getRealPath(friendshipLink.getLogoUrl());
          File oldLogoFile = new File(oldLogoPath == null ? "" : oldLogoPath);
          if (oldLogoFile.exists())
          {
            oldLogoFile.delete();
          }
          friendshipLink.setLogoUrl(path + "/" + uuidName);
          friendshipLinkService.update(friendshipLink);
        }
        json.put(DwzAjaxJsonUtil.KEY_NAVTABID, navTabId);
      }
      else
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.