Package org.activiti.engine.task

Examples of org.activiti.engine.task.DelegationState


 
  @Autowired
  protected HistoryService historyService;

  protected DelegationState getDelegationState(String delegationState) {
    DelegationState state = null;
    if (delegationState != null) {
      if (DelegationState.RESOLVED.name().toLowerCase().equals(delegationState)) {
        return DelegationState.RESOLVED;
      } else if (DelegationState.PENDING.name().toLowerCase().equals(delegationState)) {
        return DelegationState.PENDING;
View Full Code Here


    if (taskRequest.isFormKeySet()) {
      task.setFormKey(taskRequest.getFormKey());
    }

    if (taskRequest.isDelegationStateSet()) {
      DelegationState delegationState = getDelegationState(taskRequest.getDelegationState());
      task.setDelegationState(delegationState);
    }
  }
View Full Code Here

    }
    if (request.getUnassigned() != null) {
      taskQuery.taskUnassigned();
    }
    if (request.getDelegationState() != null) {
      DelegationState state = getDelegationState(request.getDelegationState());
      if (state != null) {
        taskQuery.taskDelegationState(state);
      }
    }
    if (request.getCandidateUser() != null) {
View Full Code Here

TOP

Related Classes of org.activiti.engine.task.DelegationState

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.