Examples of addIdentityLink()


Examples of org.activiti.engine.impl.persistence.entity.ExecutionEntity.addIdentityLink()

    if (processInstance == null) {
      throw new ActivitiObjectNotFoundException("Cannot find process instance with id " + processInstanceId, ExecutionEntity.class);
    }

    processInstance.addIdentityLink(userId, groupId, type);

    commandContext.getHistoryManager().createProcessInstanceIdentityLinkComment(processInstanceId, userId, groupId, type, true);

    return null;
View Full Code Here

Examples of org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.addIdentityLink()

   
    if (processDefinition == null) {
      throw new ActivitiObjectNotFoundException("Cannot find process definition with id " + processDefinitionId, ProcessDefinition.class);
    }
   
    processDefinition.addIdentityLink(userId, groupId);
   
    return null
  }
 
}
View Full Code Here

Examples of org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity.addIdentityLink()

   
    if (processDefinition == null) {
      throw new ActivitiException("Cannot find process definition with id " + processDefinitionId);
    }
   
    processDefinition.addIdentityLink(userId, groupId);
   
    return null
  }
 
}
View Full Code Here

Examples of org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity.addIdentityLink()

      .getProcessDefinitionManager()
      .findLatestProcessDefinitionById(processDefinitionId);

    EnsureUtil.ensureNotNull("Cannot find process definition with id " + processDefinitionId, "processDefinition", processDefinition);

    processDefinition.addIdentityLink(userId, groupId);

    return null;
  }
 
}
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.