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

Examples of org.apache.airavata.persistance.registry.jpa.resources.GFacJobStatusResource.save()


        dataResource = jpa.getWorker().getGFacJob(jobId);
      }
      GFacJobStatusResource s = (GFacJobStatusResource)dataResource.create(ResourceType.GFAC_JOB_STATUS);
      s.setStatus(status.toString());
      s.setStatusUpdateTime(new Timestamp(updatedTime.getTime()));
      s.save();
    }
  }

}
View Full Code Here


        dataResource = jpa.getWorker().getGFacJob(jobId);
      }
      GFacJobStatusResource s = (GFacJobStatusResource)dataResource.create(ResourceType.GFAC_JOB_STATUS);
      s.setStatus(status.toString());
      s.setStatusUpdateTime(new Timestamp(updatedTime.getTime()));
      s.save();
    }
  }

}
View Full Code Here

        dataResource = jpa.getWorker().getGFacJob(jobId);
      }
      GFacJobStatusResource s = (GFacJobStatusResource)dataResource.create(ResourceType.GFAC_JOB_STATUS);
      s.setStatus(status.toString());
      s.setStatusUpdateTime(new Timestamp(updatedTime.getTime()));
      s.save();
    }
  }

}
View Full Code Here

        dataResource = jpa.getWorker().getGFacJob(jobId);
      }
      GFacJobStatusResource s = (GFacJobStatusResource)dataResource.create(ResourceType.GFAC_JOB_STATUS);
      s.setStatus(status.toString());
      s.setStatusUpdateTime(new Timestamp(updatedTime.getTime()));
      s.save();
    }
  }

  @Override
  public boolean isCredentialExist(String gatewayId, String tokenId)
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.