org.apache.airavata.persistance.registry.jpa.impl
Class AiravataJPARegistry

java.lang.Object
  extended by java.util.Observable
      extended by org.apache.airavata.registry.api.AiravataRegistry2
          extended by org.apache.airavata.persistance.registry.jpa.impl.AiravataJPARegistry
All Implemented Interfaces:
AiravataSubRegistry, ConfigurationRegistry, DescriptorRegistry, ProjectsRegistry, ProvenanceRegistry, PublishedWorkflowRegistry, UserWorkflowRegistry

public class AiravataJPARegistry
extends AiravataRegistry2


Field Summary
 
Fields inherited from class org.apache.airavata.registry.api.AiravataRegistry2
SERVICE_TTL
 
Constructor Summary
AiravataJPARegistry()
           
 
Method Summary
 void addApplicationDescriptor(ServiceDescription serviceDescription, HostDescription hostDescriptor, ApplicationDescription descriptor)
           
 void addApplicationDescriptor(String serviceName, String hostName, ApplicationDescription descriptor)
           
 void addConfiguration(String key, String value, Date expire)
           
 void addExperiment(String projectName, AiravataExperiment experiment)
           
 void addGFacURI(URI uri)
           
 void addGFacURI(URI uri, Date expire)
           
 void addHostDescriptor(HostDescription descriptor)
           
 void addServiceDescriptor(ServiceDescription descriptor)
           
 void addWorkflow(String workflowName, String workflowGraphXml)
           
 void addWorkflowInstance(String experimentId, String workflowInstanceId, String templateName)
           
 void addWorkflowInstanceNode(String workflowInstanceId, String nodeId)
           
 void addWorkflowInterpreterURI(URI uri)
           
 void addWorkflowInterpreterURI(URI uri, Date expire)
           
 void addWorkspaceProject(WorkspaceProject project)
           
 void deleteWorkspaceProject(String projectName)
           
 AiravataUser getAiravataUser()
           
 List<ExperimentData> getAllExperimentMetaInformation(String user)
           
 ApplicationDescription getApplicationDescriptor(String serviceName, String hostname, String applicationName)
           
 ResourceMetadata getApplicationDescriptorMetadata(String serviceName, String hostName, String applicationName)
           
 Map<String[],ApplicationDescription> getApplicationDescriptors()
           
 Map<String,ApplicationDescription> getApplicationDescriptors(String serviceName)
           
 ApplicationDescription getApplicationDescriptors(String serviceName, String hostname)
           
 PasswordCallback getCallback()
           
 Object getConfiguration(String key)
          ---------------------------------Configuration Registry----------------------------------
 List<Object> getConfigurationList(String key)
           
 URI getConnectionURI()
           
 URI getEventingServiceURI()
           
 ExperimentData getExperiment(String experimentId)
           
 List<ExperimentData> getExperimentByUser(String user)
           
 List<ExperimentData> getExperimentByUser(String user, int pageSize, int pageNo)
           
 String getExperimentExecutionUser(String experimentId)
           
 List<String> getExperimentIdByUser(String user)
           
 String getExperimentMetadata(String experimentId)
           
 ExperimentData getExperimentMetaInformation(String experimentId)
           
 String getExperimentName(String experimentId)
           
 List<AiravataExperiment> getExperiments()
           
 List<AiravataExperiment> getExperiments(Date from, Date to)
           
 List<AiravataExperiment> getExperiments(String projectName)
           
 List<AiravataExperiment> getExperiments(String projectName, Date from, Date to)
           
 List<WorkflowExecution> getExperimentWorkflowInstances(String experimentId)
           
 List<URI> getGFacURIs()
           
 HostDescription getHostDescriptor(String hostName)
           
 ResourceMetadata getHostDescriptorMetadata(String hostName)
           
 List<HostDescription> getHostDescriptors()
           
 URI getMessageBoxURI()
           
 String getPublishedWorkflowGraphXML(String workflowName)
           
 ResourceMetadata getPublishedWorkflowMetadata(String workflowName)
           
 List<String> getPublishedWorkflowNames()
           
 Map<String,String> getPublishedWorkflows()
           
 ServiceDescription getServiceDescriptor(String serviceName)
           
 ResourceMetadata getServiceDescriptorMetadata(String serviceName)
           
 List<ServiceDescription> getServiceDescriptors()
           
 org.apache.airavata.common.utils.Version getVersion()
           
 List<WorkflowIOData> getWorkflowExecutionOutput(String experimentId)
          Deprecated. 
 WorkflowIOData getWorkflowExecutionOutput(String experimentId, String outputNodeName)
          Deprecated. 
 String[] getWorkflowExecutionOutputNames(String exeperimentId)
          Deprecated. 
 String getWorkflowExecutionTemplateName(String workflowInstanceId)
           
 String getWorkflowGraphXML(String workflowName)
           
 WorkflowExecutionData getWorkflowInstanceData(String workflowInstanceId)
           
 NodeExecutionData getWorkflowInstanceNodeData(String workflowInstanceId, String nodeId)
           
 List<WorkflowNodeIOData> getWorkflowInstanceNodeInput(String workflowInstanceId, String nodeType)
           
 List<WorkflowNodeIOData> getWorkflowInstanceNodeOutput(String workflowInstanceId, String nodeType)
           
 WorkflowExecutionStatus getWorkflowInstanceStatus(String instanceId)
           
 List<URI> getWorkflowInterpreterURIs()
           
 ResourceMetadata getWorkflowMetadata(String workflowName)
           
 Date getWorkflowNodeStartTime(WorkflowInstanceNode workflowNode)
           
 NodeExecutionStatus getWorkflowNodeStatus(WorkflowInstanceNode workflowNode)
           
 Map<String,String> getWorkflows()
           
 Date getWorkflowStartTime(WorkflowExecution workflowInstance)
           
 WorkspaceProject getWorkspaceProject(String projectName)
           
 List<WorkspaceProject> getWorkspaceProjects()
           
protected  void initialize()
           
 boolean isActive()
           
 boolean isApplicationDescriptorExists(String serviceName, String hostName, String descriptorName)
           
 boolean isExperimentExists(String experimentId)
           
 boolean isExperimentExists(String experimentId, boolean createIfNotPresent)
          ---------------------------------Provenance Registry----------------------------------
 boolean isExperimentNameExist(String experimentName)
           
 boolean isHostDescriptorExists(String descriptorName)
          ---------------------------------Descriptor Registry----------------------------------
 boolean isPublishedWorkflowExists(String workflowName)
          ---------------------------------Published Workflow Registry----------------------------------
 boolean isServiceDescriptorExists(String descriptorName)
           
 boolean isWorkflowExists(String workflowName)
          ---------------------------------User Workflow Registry----------------------------------
 boolean isWorkflowInstanceExists(String instanceId)
           
 boolean isWorkflowInstanceExists(String instanceId, boolean createIfNotPresent)
           
 boolean isWorkflowInstanceNodePresent(String workflowInstanceId, String nodeId)
           
 boolean isWorkflowInstanceNodePresent(String workflowInstanceId, String nodeId, boolean createIfNotPresent)
           
 boolean isWorkspaceProjectExists(String projectName)
           
 boolean isWorkspaceProjectExists(String projectName, boolean createIfNotExists)
           
 void publishWorkflow(String workflowName)
           
 void publishWorkflow(String workflowName, String publishWorkflowName)
           
 void removeAllConfiguration(String key)
           
 void removeAllGFacURI()
           
 void removeAllWorkflowInterpreterURI()
           
 void removeApplicationDescriptor(String serviceName, String hostName, String applicationName)
           
 void removeConfiguration(String key, String value)
           
 void removeExperiment(String experimentId)
           
 void removeGFacURI(URI uri)
           
 void removeHostDescriptor(String hostName)
           
 void removePublishedWorkflow(String workflowName)
           
 void removeServiceDescriptor(String serviceName)
           
 void removeWorkflow(String workflowName)
           
 void removeWorkflowInterpreterURI(URI uri)
           
 void saveWorkflowExecutionOutput(String experimentId, String outputNodeName, String output)
          Deprecated. 
 void saveWorkflowExecutionOutput(String experimentId, WorkflowIOData data)
          Deprecated. 
 List<ExperimentData> searchExperiments(String user, String experimentNameRegex)
           
 List<WorkflowNodeIOData> searchWorkflowInstanceNodeInput(String experimentIdRegEx, String workflowNameRegEx, String nodeNameRegEx)
           
 List<WorkflowNodeIOData> searchWorkflowInstanceNodeOutput(String experimentIdRegEx, String workflowNameRegEx, String nodeNameRegEx)
           
 void setAiravataRegistry(AiravataRegistry2 registry)
           
 void setAiravataUser(AiravataUser user)
           
 void setCallback(PasswordCallback callback)
           
 void setConfiguration(String key, String value, Date expire)
           
 void setConnectionURI(URI connectionURI)
           
 void setEventingURI(URI uri)
           
 void setEventingURI(URI uri, Date expire)
           
 void setMessageBoxURI(URI uri)
           
 void setMessageBoxURI(URI uri, Date expire)
           
 void setWorkflowInstanceTemplateName(String workflowInstanceId, String templateName)
           
 void udpateApplicationDescriptor(ServiceDescription serviceDescription, HostDescription hostDescriptor, ApplicationDescription descriptor)
           
 void unsetEventingURI()
           
 void unsetMessageBoxURI()
           
 void updateApplicationDescriptor(String serviceName, String hostName, ApplicationDescription descriptor)
           
 void updateExperimentExecutionUser(String experimentId, String user)
           
 void updateExperimentMetadata(String experimentId, String metadata)
           
 void updateExperimentName(String experimentId, String experimentName)
           
 void updateHostDescriptor(HostDescription descriptor)
           
 void updateServiceDescriptor(ServiceDescription descriptor)
           
 void updateWorkflow(String workflowName, String workflowGraphXml)
           
 void updateWorkflowInstanceStatus(String instanceId, WorkflowExecutionStatus.State status)
           
 void updateWorkflowInstanceStatus(WorkflowExecutionStatus status)
           
 void updateWorkflowNodeGramData(WorkflowNodeGramData workflowNodeGramData)
           
 void updateWorkflowNodeInput(WorkflowInstanceNode node, String data)
           
 void updateWorkflowNodeOutput(WorkflowInstanceNode node, String data)
           
 void updateWorkflowNodeStatus(NodeExecutionStatus workflowStatusNode)
           
 void updateWorkflowNodeStatus(String workflowInstanceId, String nodeId, WorkflowExecutionStatus.State status)
           
 void updateWorkflowNodeStatus(WorkflowInstanceNode workflowNode, WorkflowExecutionStatus.State status)
           
 void updateWorkflowNodeType(WorkflowInstanceNode node, WorkflowNodeType type)
           
 void updateWorkspaceProject(WorkspaceProject project)
           
 
Methods inherited from class org.apache.airavata.registry.api.AiravataRegistry2
getGateway, getUser, preInitialize, setGateway, setUser
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AiravataJPARegistry

public AiravataJPARegistry()
Method Detail

initialize

protected void initialize()
                   throws RegistryException
Specified by:
initialize in class AiravataRegistry2
Throws:
RegistryException

isActive

public boolean isActive()

getConfiguration

public Object getConfiguration(String key)
---------------------------------Configuration Registry----------------------------------


getConfigurationList

public List<Object> getConfigurationList(String key)

setConfiguration

public void setConfiguration(String key,
                             String value,
                             Date expire)

addConfiguration

public void addConfiguration(String key,
                             String value,
                             Date expire)

removeAllConfiguration

public void removeAllConfiguration(String key)

removeConfiguration

public void removeConfiguration(String key,
                                String value)

getGFacURIs

public List<URI> getGFacURIs()

getWorkflowInterpreterURIs

public List<URI> getWorkflowInterpreterURIs()

getEventingServiceURI

public URI getEventingServiceURI()

getMessageBoxURI

public URI getMessageBoxURI()

addGFacURI

public void addGFacURI(URI uri)

addWorkflowInterpreterURI

public void addWorkflowInterpreterURI(URI uri)

setEventingURI

public void setEventingURI(URI uri)

setMessageBoxURI

public void setMessageBoxURI(URI uri)

addGFacURI

public void addGFacURI(URI uri,
                       Date expire)

addWorkflowInterpreterURI

public void addWorkflowInterpreterURI(URI uri,
                                      Date expire)

setEventingURI

public void setEventingURI(URI uri,
                           Date expire)

setMessageBoxURI

public void setMessageBoxURI(URI uri,
                             Date expire)

removeGFacURI

public void removeGFacURI(URI uri)

removeWorkflowInterpreterURI

public void removeWorkflowInterpreterURI(URI uri)

removeAllGFacURI

public void removeAllGFacURI()

removeAllWorkflowInterpreterURI

public void removeAllWorkflowInterpreterURI()

unsetEventingURI

public void unsetEventingURI()

unsetMessageBoxURI

public void unsetMessageBoxURI()

isHostDescriptorExists

public boolean isHostDescriptorExists(String descriptorName)
                               throws RegistryException
---------------------------------Descriptor Registry----------------------------------

Throws:
RegistryException

addHostDescriptor

public void addHostDescriptor(HostDescription descriptor)
                       throws RegistryException
Throws:
RegistryException

updateHostDescriptor

public void updateHostDescriptor(HostDescription descriptor)
                          throws RegistryException
Throws:
RegistryException

getHostDescriptor

public HostDescription getHostDescriptor(String hostName)
                                  throws RegistryException
Throws:
RegistryException

removeHostDescriptor

public void removeHostDescriptor(String hostName)
                          throws RegistryException
Throws:
RegistryException

getHostDescriptors

public List<HostDescription> getHostDescriptors()
                                         throws MalformedDescriptorException,
                                                RegistryException
Throws:
MalformedDescriptorException
RegistryException

getHostDescriptorMetadata

public ResourceMetadata getHostDescriptorMetadata(String hostName)
                                           throws RegistryException
Throws:
RegistryException

isServiceDescriptorExists

public boolean isServiceDescriptorExists(String descriptorName)
                                  throws RegistryException
Throws:
RegistryException

addServiceDescriptor

public void addServiceDescriptor(ServiceDescription descriptor)
                          throws RegistryException
Throws:
RegistryException

updateServiceDescriptor

public void updateServiceDescriptor(ServiceDescription descriptor)
                             throws RegistryException
Throws:
RegistryException

getServiceDescriptor

public ServiceDescription getServiceDescriptor(String serviceName)
                                        throws RegistryException,
                                               MalformedDescriptorException
Throws:
RegistryException
MalformedDescriptorException

removeServiceDescriptor

public void removeServiceDescriptor(String serviceName)
                             throws RegistryException
Throws:
RegistryException

getServiceDescriptors

public List<ServiceDescription> getServiceDescriptors()
                                               throws MalformedDescriptorException,
                                                      RegistryException
Throws:
MalformedDescriptorException
RegistryException

getServiceDescriptorMetadata

public ResourceMetadata getServiceDescriptorMetadata(String serviceName)
                                              throws RegistryException
Throws:
RegistryException

isApplicationDescriptorExists

public boolean isApplicationDescriptorExists(String serviceName,
                                             String hostName,
                                             String descriptorName)
                                      throws RegistryException
Throws:
RegistryException

addApplicationDescriptor

public void addApplicationDescriptor(ServiceDescription serviceDescription,
                                     HostDescription hostDescriptor,
                                     ApplicationDescription descriptor)
                              throws RegistryException
Throws:
RegistryException

addApplicationDescriptor

public void addApplicationDescriptor(String serviceName,
                                     String hostName,
                                     ApplicationDescription descriptor)
                              throws RegistryException
Throws:
RegistryException

udpateApplicationDescriptor

public void udpateApplicationDescriptor(ServiceDescription serviceDescription,
                                        HostDescription hostDescriptor,
                                        ApplicationDescription descriptor)
                                 throws RegistryException
Throws:
RegistryException

updateApplicationDescriptor

public void updateApplicationDescriptor(String serviceName,
                                        String hostName,
                                        ApplicationDescription descriptor)
                                 throws RegistryException
Throws:
RegistryException

getApplicationDescriptor

public ApplicationDescription getApplicationDescriptor(String serviceName,
                                                       String hostname,
                                                       String applicationName)
                                                throws DescriptorDoesNotExistsException,
                                                       MalformedDescriptorException,
                                                       RegistryException
Throws:
DescriptorDoesNotExistsException
MalformedDescriptorException
RegistryException

getApplicationDescriptors

public ApplicationDescription getApplicationDescriptors(String serviceName,
                                                        String hostname)
                                                 throws RegistryException
Throws:
RegistryException

getApplicationDescriptors

public Map<String,ApplicationDescription> getApplicationDescriptors(String serviceName)
                                                             throws RegistryException
Throws:
RegistryException

getApplicationDescriptors

public Map<String[],ApplicationDescription> getApplicationDescriptors()
                                                               throws MalformedDescriptorException,
                                                                      RegistryException
Throws:
MalformedDescriptorException
RegistryException

removeApplicationDescriptor

public void removeApplicationDescriptor(String serviceName,
                                        String hostName,
                                        String applicationName)
                                 throws RegistryException
Throws:
RegistryException

getApplicationDescriptorMetadata

public ResourceMetadata getApplicationDescriptorMetadata(String serviceName,
                                                         String hostName,
                                                         String applicationName)
                                                  throws RegistryException
Throws:
RegistryException

isWorkspaceProjectExists

public boolean isWorkspaceProjectExists(String projectName)
                                 throws RegistryException
Throws:
RegistryException

isWorkspaceProjectExists

public boolean isWorkspaceProjectExists(String projectName,
                                        boolean createIfNotExists)
                                 throws RegistryException
Throws:
RegistryException

addWorkspaceProject

public void addWorkspaceProject(WorkspaceProject project)
                         throws RegistryException
Throws:
RegistryException

updateWorkspaceProject

public void updateWorkspaceProject(WorkspaceProject project)
                            throws RegistryException
Throws:
RegistryException

deleteWorkspaceProject

public void deleteWorkspaceProject(String projectName)
                            throws RegistryException
Throws:
RegistryException

getWorkspaceProject

public WorkspaceProject getWorkspaceProject(String projectName)
                                     throws RegistryException
Throws:
RegistryException

getWorkspaceProjects

public List<WorkspaceProject> getWorkspaceProjects()
                                            throws RegistryException
Throws:
RegistryException

addExperiment

public void addExperiment(String projectName,
                          AiravataExperiment experiment)
                   throws RegistryException
Throws:
RegistryException

removeExperiment

public void removeExperiment(String experimentId)
                      throws ExperimentDoesNotExistsException
Throws:
ExperimentDoesNotExistsException

getExperiments

public List<AiravataExperiment> getExperiments()
                                        throws RegistryException
Throws:
RegistryException

getExperiments

public List<AiravataExperiment> getExperiments(String projectName)
                                        throws RegistryException
Throws:
RegistryException

getExperiments

public List<AiravataExperiment> getExperiments(Date from,
                                               Date to)
                                        throws RegistryException
Throws:
RegistryException

getExperiments

public List<AiravataExperiment> getExperiments(String projectName,
                                               Date from,
                                               Date to)
                                        throws RegistryException
Throws:
RegistryException

isPublishedWorkflowExists

public boolean isPublishedWorkflowExists(String workflowName)
                                  throws RegistryException
---------------------------------Published Workflow Registry----------------------------------

Throws:
RegistryException

publishWorkflow

public void publishWorkflow(String workflowName,
                            String publishWorkflowName)
                     throws RegistryException
Throws:
RegistryException

publishWorkflow

public void publishWorkflow(String workflowName)
                     throws RegistryException
Throws:
RegistryException

getPublishedWorkflowGraphXML

public String getPublishedWorkflowGraphXML(String workflowName)
                                    throws RegistryException
Throws:
RegistryException

getPublishedWorkflowNames

public List<String> getPublishedWorkflowNames()
                                       throws RegistryException
Throws:
RegistryException

getPublishedWorkflows

public Map<String,String> getPublishedWorkflows()
                                         throws RegistryException
Throws:
RegistryException

removePublishedWorkflow

public void removePublishedWorkflow(String workflowName)
                             throws RegistryException
Throws:
RegistryException

getPublishedWorkflowMetadata

public ResourceMetadata getPublishedWorkflowMetadata(String workflowName)
                                              throws RegistryException
Throws:
RegistryException

isWorkflowExists

public boolean isWorkflowExists(String workflowName)
                         throws RegistryException
---------------------------------User Workflow Registry----------------------------------

Throws:
RegistryException

addWorkflow

public void addWorkflow(String workflowName,
                        String workflowGraphXml)
                 throws RegistryException
Throws:
RegistryException

updateWorkflow

public void updateWorkflow(String workflowName,
                           String workflowGraphXml)
                    throws RegistryException
Throws:
RegistryException

getWorkflowGraphXML

public String getWorkflowGraphXML(String workflowName)
                           throws RegistryException
Throws:
RegistryException

getWorkflows

public Map<String,String> getWorkflows()
                                throws RegistryException
Throws:
RegistryException

removeWorkflow

public void removeWorkflow(String workflowName)
                    throws RegistryException
Throws:
RegistryException

getWorkflowMetadata

public ResourceMetadata getWorkflowMetadata(String workflowName)
                                     throws RegistryException
Throws:
RegistryException

setAiravataRegistry

public void setAiravataRegistry(AiravataRegistry2 registry)

setAiravataUser

public void setAiravataUser(AiravataUser user)

getAiravataUser

public AiravataUser getAiravataUser()

isExperimentExists

public boolean isExperimentExists(String experimentId,
                                  boolean createIfNotPresent)
                           throws RegistryException
---------------------------------Provenance Registry----------------------------------

Throws:
RegistryException

isExperimentExists

public boolean isExperimentExists(String experimentId)
                           throws RegistryException
Throws:
RegistryException

updateExperimentExecutionUser

public void updateExperimentExecutionUser(String experimentId,
                                          String user)
                                   throws RegistryException
Throws:
RegistryException

getExperimentExecutionUser

public String getExperimentExecutionUser(String experimentId)
                                  throws RegistryException
Throws:
RegistryException

isExperimentNameExist

public boolean isExperimentNameExist(String experimentName)
                              throws RegistryException
Throws:
RegistryException

getExperimentName

public String getExperimentName(String experimentId)
                         throws RegistryException
Throws:
RegistryException

updateExperimentName

public void updateExperimentName(String experimentId,
                                 String experimentName)
                          throws RegistryException
Throws:
RegistryException

getExperimentMetadata

public String getExperimentMetadata(String experimentId)
                             throws RegistryException
Throws:
RegistryException

updateExperimentMetadata

public void updateExperimentMetadata(String experimentId,
                                     String metadata)
                              throws RegistryException
Throws:
RegistryException

getWorkflowExecutionTemplateName

public String getWorkflowExecutionTemplateName(String workflowInstanceId)
                                        throws RegistryException
Throws:
RegistryException

setWorkflowInstanceTemplateName

public void setWorkflowInstanceTemplateName(String workflowInstanceId,
                                            String templateName)
                                     throws RegistryException
Throws:
RegistryException

getExperimentWorkflowInstances

public List<WorkflowExecution> getExperimentWorkflowInstances(String experimentId)
                                                       throws RegistryException
Throws:
RegistryException

isWorkflowInstanceExists

public boolean isWorkflowInstanceExists(String instanceId,
                                        boolean createIfNotPresent)
                                 throws RegistryException
Throws:
RegistryException

isWorkflowInstanceExists

public boolean isWorkflowInstanceExists(String instanceId)
                                 throws RegistryException
Throws:
RegistryException

updateWorkflowInstanceStatus

public void updateWorkflowInstanceStatus(String instanceId,
                                         WorkflowExecutionStatus.State status)
                                  throws RegistryException
Throws:
RegistryException

updateWorkflowInstanceStatus

public void updateWorkflowInstanceStatus(WorkflowExecutionStatus status)
                                  throws RegistryException
Throws:
RegistryException

getWorkflowInstanceStatus

public WorkflowExecutionStatus getWorkflowInstanceStatus(String instanceId)
                                                  throws RegistryException
Throws:
RegistryException

updateWorkflowNodeInput

public void updateWorkflowNodeInput(WorkflowInstanceNode node,
                                    String data)
                             throws RegistryException
Throws:
RegistryException

updateWorkflowNodeOutput

public void updateWorkflowNodeOutput(WorkflowInstanceNode node,
                                     String data)
                              throws RegistryException
Throws:
RegistryException

searchWorkflowInstanceNodeInput

public List<WorkflowNodeIOData> searchWorkflowInstanceNodeInput(String experimentIdRegEx,
                                                                String workflowNameRegEx,
                                                                String nodeNameRegEx)
                                                         throws RegistryException
Throws:
RegistryException

searchWorkflowInstanceNodeOutput

public List<WorkflowNodeIOData> searchWorkflowInstanceNodeOutput(String experimentIdRegEx,
                                                                 String workflowNameRegEx,
                                                                 String nodeNameRegEx)
                                                          throws RegistryException
Throws:
RegistryException

getWorkflowInstanceNodeInput

public List<WorkflowNodeIOData> getWorkflowInstanceNodeInput(String workflowInstanceId,
                                                             String nodeType)
                                                      throws RegistryException
Throws:
RegistryException

getWorkflowInstanceNodeOutput

public List<WorkflowNodeIOData> getWorkflowInstanceNodeOutput(String workflowInstanceId,
                                                              String nodeType)
                                                       throws RegistryException
Throws:
RegistryException

saveWorkflowExecutionOutput

@Deprecated
public void saveWorkflowExecutionOutput(String experimentId,
                                                   String outputNodeName,
                                                   String output)
                                 throws RegistryException
Deprecated. 

Throws:
RegistryException

saveWorkflowExecutionOutput

@Deprecated
public void saveWorkflowExecutionOutput(String experimentId,
                                                   WorkflowIOData data)
                                 throws RegistryException
Deprecated. 

Throws:
RegistryException

getWorkflowExecutionOutput

@Deprecated
public WorkflowIOData getWorkflowExecutionOutput(String experimentId,
                                                            String outputNodeName)
                                          throws RegistryException
Deprecated. 

Throws:
RegistryException

getWorkflowExecutionOutput

@Deprecated
public List<WorkflowIOData> getWorkflowExecutionOutput(String experimentId)
                                                throws RegistryException
Deprecated. 

Throws:
RegistryException

getWorkflowExecutionOutputNames

@Deprecated
public String[] getWorkflowExecutionOutputNames(String exeperimentId)
                                         throws RegistryException
Deprecated. 

Throws:
RegistryException

getExperiment

public ExperimentData getExperiment(String experimentId)
                             throws RegistryException
Throws:
RegistryException

getExperimentIdByUser

public List<String> getExperimentIdByUser(String user)
                                   throws RegistryException
Throws:
RegistryException

getExperimentByUser

public List<ExperimentData> getExperimentByUser(String user)
                                         throws RegistryException
Throws:
RegistryException

getExperimentByUser

public List<ExperimentData> getExperimentByUser(String user,
                                                int pageSize,
                                                int pageNo)
                                         throws RegistryException
Throws:
RegistryException

updateWorkflowNodeStatus

public void updateWorkflowNodeStatus(NodeExecutionStatus workflowStatusNode)
                              throws RegistryException
Throws:
RegistryException

updateWorkflowNodeStatus

public void updateWorkflowNodeStatus(String workflowInstanceId,
                                     String nodeId,
                                     WorkflowExecutionStatus.State status)
                              throws RegistryException
Throws:
RegistryException

updateWorkflowNodeStatus

public void updateWorkflowNodeStatus(WorkflowInstanceNode workflowNode,
                                     WorkflowExecutionStatus.State status)
                              throws RegistryException
Throws:
RegistryException

getWorkflowNodeStatus

public NodeExecutionStatus getWorkflowNodeStatus(WorkflowInstanceNode workflowNode)
                                          throws RegistryException
Throws:
RegistryException

getWorkflowNodeStartTime

public Date getWorkflowNodeStartTime(WorkflowInstanceNode workflowNode)
                              throws RegistryException
Throws:
RegistryException

getWorkflowStartTime

public Date getWorkflowStartTime(WorkflowExecution workflowInstance)
                          throws RegistryException
Throws:
RegistryException

updateWorkflowNodeGramData

public void updateWorkflowNodeGramData(WorkflowNodeGramData workflowNodeGramData)
                                throws RegistryException
Throws:
RegistryException

getWorkflowInstanceData

public WorkflowExecutionData getWorkflowInstanceData(String workflowInstanceId)
                                              throws RegistryException
Throws:
RegistryException

getWorkflowInstanceNodeData

public NodeExecutionData getWorkflowInstanceNodeData(String workflowInstanceId,
                                                     String nodeId)
                                              throws RegistryException
Throws:
RegistryException

isWorkflowInstanceNodePresent

public boolean isWorkflowInstanceNodePresent(String workflowInstanceId,
                                             String nodeId)
                                      throws RegistryException
Throws:
RegistryException

isWorkflowInstanceNodePresent

public boolean isWorkflowInstanceNodePresent(String workflowInstanceId,
                                             String nodeId,
                                             boolean createIfNotPresent)
                                      throws RegistryException
Throws:
RegistryException

addWorkflowInstance

public void addWorkflowInstance(String experimentId,
                                String workflowInstanceId,
                                String templateName)
                         throws RegistryException
Throws:
RegistryException

updateWorkflowNodeType

public void updateWorkflowNodeType(WorkflowInstanceNode node,
                                   WorkflowNodeType type)
                            throws RegistryException
Throws:
RegistryException

addWorkflowInstanceNode

public void addWorkflowInstanceNode(String workflowInstanceId,
                                    String nodeId)
                             throws RegistryException
Throws:
RegistryException

getExperimentMetaInformation

public ExperimentData getExperimentMetaInformation(String experimentId)
                                            throws RegistryException
Throws:
RegistryException

getAllExperimentMetaInformation

public List<ExperimentData> getAllExperimentMetaInformation(String user)
                                                     throws RegistryException
Throws:
RegistryException

searchExperiments

public List<ExperimentData> searchExperiments(String user,
                                              String experimentNameRegex)
                                       throws RegistryException
Throws:
RegistryException

getVersion

public org.apache.airavata.common.utils.Version getVersion()

setConnectionURI

public void setConnectionURI(URI connectionURI)

getConnectionURI

public URI getConnectionURI()

setCallback

public void setCallback(PasswordCallback callback)

getCallback

public PasswordCallback getCallback()


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.