Package org.apache.airavata.persistance.registry.jpa.model

Examples of org.apache.airavata.persistance.registry.jpa.model.WorkflowNodeDetail


                errorDetail.setTask(taskDetail);
                errorDetail.setTaskId(taskDetail.getTaskId());
            }

            if (nodeDetail != null) {
                WorkflowNodeDetail workflowNodeDetail = em.find(WorkflowNodeDetail.class, nodeDetail.getNodeInstanceId());
                errorDetail.setNodeDetails(workflowNodeDetail);
                errorDetail.setNodeId(workflowNodeDetail.getNodeId());
            }
            errorDetail.setCreationTime(creationTime);
            errorDetail.setActualErrorMsg(actualErrorMsg.toCharArray());
            errorDetail.setUserFriendlyErrorMsg(userFriendlyErrorMsg);
            errorDetail.setTransientPersistent(transientPersistent);
View Full Code Here


            em.close();

            em = ResourceUtils.getEntityManager();
            em.getTransaction().begin();
            NodeOutput nodeOutput = new NodeOutput();
            WorkflowNodeDetail nodeDetail = em.find(WorkflowNodeDetail.class, nodeDetailResource.getNodeInstanceId());
            nodeOutput.setNode(nodeDetail);
            nodeOutput.setNodeId(nodeDetail.getNodeId());
            nodeOutput.setOutputKey(outputKey);
            nodeOutput.setOutputKeyType(outputType);
            nodeOutput.setValue(value);
            nodeOutput.setMetadata(metadata);

            if (existingOutput != null) {
                existingOutput.setNode(nodeDetail);
                existingOutput.setNodeId(nodeDetail.getNodeId());
                existingOutput.setOutputKey(outputKey);
                existingOutput.setOutputKeyType(outputType);
                existingOutput.setValue(value);
                existingOutput.setMetadata(metadata);
                nodeOutput = em.merge(existingOutput);
View Full Code Here

            em.close();

            em = ResourceUtils.getEntityManager();
            em.getTransaction().begin();
            NodeInput nodeInput = new NodeInput();
            WorkflowNodeDetail nodeDetail = em.find(WorkflowNodeDetail.class, nodeDetailResource.getNodeInstanceId());
            nodeInput.setNodeDetails(nodeDetail);
            nodeInput.setNodeId(nodeDetail.getNodeId());
            nodeInput.setInputKey(inputKey);
            nodeInput.setInputKeyType(inputType);
            nodeInput.setValue(value);
            nodeInput.setMetadata(metadata);

            if (existingInput != null){
                existingInput.setNodeDetails(nodeDetail);
                existingInput.setNodeId(nodeDetail.getNodeId());
                existingInput.setInputKey(inputKey);
                existingInput.setInputKeyType(inputType);
                existingInput.setValue(value);
                existingInput.setMetadata(metadata);
                nodeInput = em.merge(existingInput);
View Full Code Here

TOP

Related Classes of org.apache.airavata.persistance.registry.jpa.model.WorkflowNodeDetail

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.