Package com.eatle.persistent.pojo.foundation.dictionary

Examples of com.eatle.persistent.pojo.foundation.dictionary.MenuFeature


          // 保存文件
          String saveName = ServletActionContext.getServletContext()
              .getRealPath(path) + File.separator + uuidName;
          ImageUtil.thumbnails(logo[i], new File(saveName), 20);
          // 更新特性IconUrl
          MenuFeature menuFeature = menuFeatureService.findById(id);
          String oldLogoPath = ServletActionContext.getServletContext()
              .getRealPath(menuFeature.getImageUrl());
          File oldLogoFile = new File(oldLogoPath == null ? "" : oldLogoPath);
          if (oldLogoFile.exists())
          {
            oldLogoFile.delete();
          }
          menuFeature.setImageUrl(path + "/" + uuidName);
          menuFeatureService.update(menuFeature);
        }
        json.put(DwzAjaxJsonUtil.KEY_NAVTABID, navTabId);
      }
      else
View Full Code Here

TOP

Related Classes of com.eatle.persistent.pojo.foundation.dictionary.MenuFeature

Copyright © 2018 www.massapicom. 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.