Package com.founder.fix.fixflow.core.task

Examples of com.founder.fix.fixflow.core.task.IdentityLink


    // 保存新创建的任务
    taskService.saveTask(taskInstance);

    // 创建候选用户链接
    IdentityLink identityLink = taskService.newIdentityLink();
    // 设置任务编号
    identityLink.setTaskId(taskIdString);
    // 设置候选用户编号
    identityLink.setUserId("testAddExternalTask_admin");
    // 设置候选 包含 、排除类型
    identityLink.setIncludeExclusion(IncludeExclusion.INCLUDE);
    // 设置候选类型
    identityLink.setType(IdentityLinkType.candidate);
    // 保存候选身份
    taskService.saveIdentityLink(identityLink);

    // 查询任务
    TaskQuery taskQuery = taskService.createTaskQuery();
View Full Code Here


   
  }

  public IdentityLink newIdentityLink(String linkId) {
   
    IdentityLink identityLink = new IdentityLinkEntity(linkId)
    return identityLink;
   
  }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.task.IdentityLink

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.