Examples of CodeTypeFormatter


Examples of com.iisigroup.cap.base.formatter.CodeTypeFormatter

      return null;
    }
    search.addSearchModeParameters(SearchMode.EQUALS, "pid", pid);

    Map<String, IFormatter> fmt = new HashMap<String, IFormatter>();
    fmt.put("styleTyp", new CodeTypeFormatter(codeTypeService, "styleTyp"));
    fmt.put("unit", new CodeTypeFormatter(codeTypeService, "unitMins"));

    Page<Reminds> page = commonSrv.findPage(Reminds.class, search);
    return new GridResult(page.getContent(), page.getTotalRow(), fmt);
  }// ;
View Full Code Here

Examples of com.iisigroup.cap.base.formatter.CodeTypeFormatter

                search.getFirstResult());
        Map<String, IFormatter> fmt = new HashMap<String, IFormatter>();
        fmt.put("createTime", new ADDateFormatter());
        fmt.put("updateTime", new ADDateFormatter());
        fmt.put("pwdExpiredTime", new ADDateFormatter());
        fmt.put("status", new CodeTypeFormatter(codeTypeService, "userStatus",
                (Locale) SimpleContextHolder.get(CapWebUtil.localeKey)));
        return new MapGridResult(page.getContent(), page.getTotalRow(), fmt);
    }// ;
View Full Code Here

Examples of com.iisigroup.cap.base.formatter.CodeTypeFormatter

    if (!CapString.isEmpty(name)) {
      search.addSearchModeParameters(SearchMode.EQUALS, "name", name);
    }

    Map<String, IFormatter> fmt = new HashMap<String, IFormatter>();
    fmt.put("SYSNAME", new CodeTypeFormatter(codeTypeService, "authSysId"));

    Page<Function> page = commonSrv.findPage(Function.class, search);
    return new GridResult(page.getContent(), page.getTotalRow(), fmt);
  }// ;
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.