Examples of TaskPriority


Examples of com.founder.fix.bpmn2extensions.fixflow.TaskPriority

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTaskPriority(TaskPriority newTaskPriority, NotificationChain msgs) {
    TaskPriority oldTaskPriority = taskPriority;
    taskPriority = newTaskPriority;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FixFlowPackage.DOCUMENT_ROOT__TASK_PRIORITY, oldTaskPriority, newTaskPriority);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of com.founder.fix.bpmn2extensions.fixflow.TaskPriority

  public String getTaskPriority() {

    if (this.taskPriority == null) {
     
     
      TaskPriority taskPriorityObj  =EMFUtil.getExtensionElementOne(TaskPriority.class,this,FixFlowPackage.Literals.DOCUMENT_ROOT__TASK_PRIORITY);
     
      if (taskPriorityObj!=null&&taskPriorityObj.getExpression() != null) {
        this.taskPriority =taskPriorityObj.getExpression().getValue();
      }
    }
    return taskPriority;

  }
View Full Code Here

Examples of com.founder.fix.bpmn2extensions.fixflow.TaskPriority

      }
     
      //任务优先级
      JsonNode taskPriorityNode = getProperty(PROPERTY_PRIORITY, elementNode);
      if(taskPriorityNode != null){
        TaskPriority taskPriority = FixFlowFactory.eINSTANCE.createTaskPriority();
        Expression taskPriorityExpression = FixFlowFactory.eINSTANCE.createExpression();
        taskPriorityExpression.setName(taskPriorityNode.asText());
        taskPriorityExpression.setValue(taskPriorityNode.asText());
        taskPriority.setExpression(taskPriorityExpression);
        BpmnModelUtil.addExtensionElement(task, FixFlowPackage.Literals.DOCUMENT_ROOT__TASK_PRIORITY, taskPriority);
      }
     
      //任务命令
      JsonNode taskCommandNode = getProperty(PROPERTY_TASKCOMMAND, elementNode);
View Full Code Here

Examples of com.gcrm.domain.TaskPriority

                        data1.put(header[9], task.getContact().getName());
                    } else {
                        data1.put(header[8], "");
                        data1.put(header[9], "");
                    }
                    TaskPriority taskPriority = task.getPriority();
                    if (taskPriority != null) {
                        data1.put(header[10], taskPriority.getId());
                    } else {
                        data1.put(header[10], "");
                    }
                    data1.put(header[11],
                            CommonUtil.getOptionLabel(taskPriority));
View Full Code Here

Examples of com.gcrm.domain.TaskPriority

                    String priorityID = row
                            .get(getText("entity.priority_id.label"));
                    if (CommonUtil.isNullOrEmpty(priorityID)) {
                        task.setPriority(null);
                    } else {
                        TaskPriority priority = taskPriorityService
                                .getEntityById(TaskPriority.class,
                                        Integer.parseInt(priorityID));
                        task.setPriority(priority);
                    }
                    task.setDescription(CommonUtil.fromNullToEmpty(row
View Full Code Here

Examples of com.gcrm.domain.TaskPriority

            task = baseService.getEntityById(Task.class, this.getId());
            TaskStatus status = task.getStatus();
            if (status != null) {
                statusID = status.getId();
            }
            TaskPriority priority = task.getPriority();
            if (priority != null) {
                priorityID = priority.getId();
            }
            Contact contact = task.getContact();
            if (contact != null) {
                contactID = contact.getId();
                contactText = contact.getName();
View Full Code Here

Examples of com.gcrm.domain.TaskPriority

        if (statusID != null) {
            status = taskStatusService
                    .getEntityById(TaskStatus.class, statusID);
        }
        task.setStatus(status);
        TaskPriority priority = null;
        if (priorityID != null) {
            priority = taskPriorityService.getEntityById(TaskPriority.class,
                    priorityID);
        }
        task.setPriority(priority);
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.