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

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


     * @throws  ItemNotFoundException
     * @throws  RepositoryException
     */
  public WorkflowExecution retrieveWorkflowExecution(String id) throws ItemNotFoundException, RepositoryException {
      log.fine("JCRManager.retrieveWorkflowExecution()");
      WorkflowExecution _retVal = null;
      try {
        this.getSession();
        Node _defNode = session.getNodeByUUID(id);
          Property _propId = _defNode.getProperty("id");
          Property _propUser = _defNode.getProperty("userName");
          Property _propWorkflowId = _defNode.getProperty("workflowId");
          _retVal = new WorkflowExecution(_propId.getString(), _propUser.getString());
          _retVal.setWorkflowId(_propWorkflowId.getString());
      } finally {
        log.fine("logging out session");
        session.logout();
      }
     
View Full Code Here


 
    /**
     * @see eu.planets_project.ifr.core.storage.api.WorkflowManager#getWorkflowInstance(java.lang.String)
     */
  public WorkflowExecution getWorkflowInstance(String id) throws ItemNotFoundException {
    WorkflowExecution _retVal = null;
    try {
      _retVal = this.jcrManager.retrieveWorkflowExecution(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.WorkflowExecution

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.