Examples of WorkList


Examples of org.uengine.workflow.model.WorkList

    if (totalCount > 0) {
      for (int i = 0; i < dl.size(); i++) {
        DataMap tmpMap = (DataMap) dl.get(i);

        WorkList wl = new WorkList();

        wl.setEndpoint(endpoint);
        wl.setInstanceId("" + tmpMap.getInt("INSTID", 0));
        wl.setRootInstanceId("" + tmpMap.getInt("ROOTINSTID", 0));
        wl.setTaskId("" + tmpMap.getInt("TASKID", 0));
        wl.setTracingTag(tmpMap.getString("TRCTAG", ""));
        wl.setInfo(tmpMap.getString("INFO", ""));
        wl.setTitle(tmpMap.getString("TITLE", ""));
        wl.setDefName(tmpMap.getString("DEFNAME", ""));

        String _startDate = tmpMap.getString("startdate", "");
        wl.setStartDate(UEngineUtil.isNotEmpty(_startDate) ? _startDate.substring(0, 19) : "");

        int endpointCountFromRoleName = getEndpointCountFromRoleName(tmpMap.getString("ROLENAME", ""), wl.getInstanceId());
        wl.setDuplicateTaskCount(String.valueOf(endpointCountFromRoleName));

        wl.setRoleName(tmpMap.getString("ROLENAME", ""));

        al.add((WorkList) wl);
      }
    }
   
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.