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

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


    /**
     * save published workflow to the database
     */
    public void save() {
        EntityManager em = ResourceUtils.getEntityManager();
        Published_Workflow existingWF = em.find(Published_Workflow.class, new Published_Workflow_PK(gateway.getGatewayName(), name));
        em.close();

        em = ResourceUtils.getEntityManager();
        em.getTransaction().begin();
        Published_Workflow publishedWorkflow = new Published_Workflow();
View Full Code Here


     */
    public void save() throws RegistryException{
        EntityManager em = null;
        try {
            em = ResourceUtils.getEntityManager();
            Published_Workflow existingWF = em.find(Published_Workflow.class, new Published_Workflow_PK(gateway.getGatewayName(), name));
            em.close();

            em = ResourceUtils.getEntityManager();
            em.getTransaction().begin();
            Published_Workflow publishedWorkflow = new Published_Workflow();
View Full Code Here

TOP

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

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.