Examples of RoleFunction


Examples of com.iisigroup.cap.auth.model.RoleFunction

    List<RoleFunction> setRole = new ArrayList<RoleFunction>();
    if (roleItem != null) {
      for (Object item : roleItem) {
        JSONObject role = (JSONObject) item;
        RoleFunction rlf = new RoleFunction();
        rlf.setRoleCode(role.getString("code"));
        rlf.setFuncCode(Integer.toString(codeItem.getCode()));
        rlf.setUpdater(CapSecurityContext.getUserId());
        rlf.setUpdateTime(CapDate.getCurrentTimestamp());
        setRole.add(rlf);
      }
    }
    commonSrv.save(setRole);
View Full Code Here

Examples of com.iisigroup.cap.auth.model.RoleFunction

        List<RoleFunction> list = new ArrayList<RoleFunction>();
        if (funcItem != null) {
            for (Object item : funcItem) {
                JSONObject func = (JSONObject) item;
                RoleFunction roleFunc = new RoleFunction();
                roleFunc.setRoleCode(role.getCode());
                roleFunc.setFuncCode(func.getString("code"));
                roleFunc.setUpdater(CapSecurityContext.getUserId());
                roleFunc.setUpdateTime(CapDate.getCurrentTimestamp());
                list.add(roleFunc);
            }
        }
        commonSrv.save(list);
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.