Package eu.planets_project.ifr.core.storage.api

Examples of eu.planets_project.ifr.core.storage.api.InvocationEvent


     * @throws  RepositoryException
     * @throws  URISyntaxException
     */
    public InvocationEvent retrieveInvocationEvent(String id) throws ItemNotFoundException, RepositoryException, URISyntaxException {
      log.fine("JCRManager.retrieveWorkflowExecution()");
      InvocationEvent _retVal = null;
      try {
        this.getSession();
        Node _execNode = session.getNodeByUUID(id);
          Property _propService = _execNode.getProperty("service");
          Property _propOperation = _execNode.getProperty("operation");
          Property _propInFile = _execNode.getProperty("inFile");
          Property _propOutFile = _execNode.getProperty("outFile");
          Property _propStart = _execNode.getProperty("start");
          Property _propEnd = _execNode.getProperty("end");
          _retVal = new InvocationEvent(id,
                          new URI(_propService.getString()),
                          _propOperation.getString(),
                          new URI(_propInFile.getString()),
                          new URI(_propOutFile.getString()),
                          _propStart.getDate().getTime(),
View Full Code Here


 
    /**
     * @see eu.planets_project.ifr.core.storage.api.WorkflowManager#getInvocationEvent(java.lang.String)
     */
  public InvocationEvent getInvocationEvent(String id) throws ItemNotFoundException {
    InvocationEvent _retVal = null;
    try {
      _retVal = this.jcrManager.retrieveInvocationEvent(id);
    } catch (LoginException _exp) {
      throw new RuntimeException(_exp);
    } catch (RepositoryException _exp) {
View Full Code Here

TOP

Related Classes of eu.planets_project.ifr.core.storage.api.InvocationEvent

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.