Package com.founder.fix.bpmn2extensions.coreconfig

Examples of com.founder.fix.bpmn2extensions.coreconfig.AssignPolicyConfig


        taskAssignBase = taskAssignBase.get("properties");
        JsonNode assigneeType = JsonConverterUtil.getChildElementByProperty("assignpolicytype", "id", (ArrayNode)taskAssignBase);
        ArrayNode arrayNode = objectMapper.createArrayNode();
       
       
        AssignPolicyConfig assignPolicyConfig = ProcessEngineManagement.getDefaultProcessEngine().getProcessEngineConfiguration().getAssignPolicyConfig();
        List<AssignPolicy> assignPolicys = assignPolicyConfig.getAssignPolicy();
        for(AssignPolicy assignPolicy :assignPolicys){
           ObjectNode typeNode = objectMapper.createObjectNode();
         typeNode.put("id",assignPolicy.getId());
             typeNode.put("title", assignPolicy.getName());
             typeNode.put("value", assignPolicy.getId());
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetAssignPolicyConfig(AssignPolicyConfig newAssignPolicyConfig, NotificationChain msgs) {
    AssignPolicyConfig oldAssignPolicyConfig = assignPolicyConfig;
    assignPolicyConfig = newAssignPolicyConfig;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, CoreconfigPackage.FIX_FLOW_CONFIG__ASSIGN_POLICY_CONFIG, oldAssignPolicyConfig, newAssignPolicyConfig);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

        }

      }
    } else {
      String typeId = assignPolicyType.getId();
      AssignPolicyConfig assignPolicyConfig = Context.getProcessEngineConfiguration().getAssignPolicyConfig();
      AssignPolicy assignPolicy = null;
      for (AssignPolicy assignPolicyObj : assignPolicyConfig.getAssignPolicy()) {
        if (assignPolicyObj.getId().equals(typeId)) {
          assignPolicy = assignPolicyObj;
          break;
        }
      }
View Full Code Here

TOP

Related Classes of com.founder.fix.bpmn2extensions.coreconfig.AssignPolicyConfig

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.