webapps folder of Tomcat 5.5 (or similar)
logbook-service.properties in the webapps/logbook-service/WEB-INF/classes folder of Tomcat appropriately.
| Method Summary | |
|---|---|
void |
addQuad(String graphName,
String subject,
String predicate,
String object)
Stores the quad of arguments |
String[] |
getAllNestedRuns()
Gets the LSIDs of all the nested workflow runs in store. |
String[] |
getAllWorkflowRuns()
Gets the LSIDs of all the workflow runs in store. |
byte[] |
getBytesDataItem(String dataItemLSID)
Returns the Taverna data object corresponding to dataItemLSID as an array of bytes if that is the type of
the data object, null otherwise. |
String[] |
getDataCollectionLSIDs(String dataCollectionLSID)
Returns the LSIDs in dataCollectionLSID. |
byte[] |
getDataItem(String dataItemLSID)
Returns the Taverna data object corresponding to dataItemLSID as an array of bytes, even if it is a string. |
String[] |
getDataPortNames(String dataURN)
Returns the names of the Taverna (input and output) ports where dataURN has passed through. |
String[] |
getDataSyntacticTypes(String dataLSID)
Returns the declared syntactic types for the ports dataLSID
has passed through. |
String[] |
getDatatypePropertyValues(String sourceIndividual,
String datatypeProperty)
Gets the array of (String representations of) the targets of datatypeProperty for sourceIndividual. |
String |
getFirstDatatypePropertyValue(String sourceIndividual,
String datatypeProperty)
Gets the first String value of datatypeProperty for
sourceIndividual. |
String |
getFirstObjectPropertyValue(String sourceIndividual,
String objectProperty)
Gets the String representation of the first target of objectProperty for sourceIndividual. |
String[] |
getIndividualsOfType(String type)
Returns all the individuals of type. |
String[] |
getInputDataPortNames(String dataURN)
Returns the names of the Taverna input ports where dataURN
has passed through. |
String[] |
getNestedRuns(String workflowRunId)
Gets the names of the nested workflow runs for workflowRun. |
String[] |
getNonNestedProcessRuns(String workflowRunId)
Gets all the (ids of) process runs executed by workflowRunLSID that are not nested workflows. |
String[] |
getObjectPropertyValues(String sourceIndividual,
String objectProperty)
Gets the array of (String representations of) the targets of objectProperty for sourceIndividual. |
String[] |
getOutputDataPortNames(String dataURN)
Returns the names of the Taverna output ports where dataURN
has passed through. |
String[] |
getProcessInputs(String processID)
Gets all the (ids of) inputs for processID |
String[] |
getProcessOutputs(String processID)
Gets all the (ids of) outputs for processID |
String[] |
getProcessRuns(String workflowRunId)
Gets all the (ids of) process runs executed by workflowRunLSID |
String |
getStringDataItem(String dataItemLSID)
Returns the Taverna data object corresponding to dataItemLSID as a String if that is the type of the data
object, null otherwise. |
String |
getUnparsedProcessEndDate(String processRun)
Returns the end date of processRun. |
String |
getUnparsedWorkflowStartDate(String workflowRun)
Returns the start date of workflowRun. |
String[] |
getUserWorkFlows(String experimenter)
Returns the LSIDs of all the runs executed by experimenter. |
String |
getWorkflow(String workflowLSID)
Returns the Scufl workflow (as an XML string) with (dynamically assigned) LSID workflowLSID. |
String |
getWorkflowExecutedByRun(String workflowRun)
Returns the Scufl workflow (as an XML string) that was executed in workflowRun |
String[] |
getWorkflowInputs(String lsid)
Gets all the (ids of) workflow inputs for workflowRunLSID |
String[] |
getWorkflowOutputs(String workflowRunLSID)
Gets all the (ids of) workflow outputs for workflowRunLSID |
String |
getWorkflowRun(String workflowRunId)
Retrieves the graph corresponding to workflowRunId
together with all the subgraphs of processes and nested runs and returns
it as a String containing its RDF/XML representation. |
boolean |
isIndividualOfType(String individual,
String type)
Returns true if individual is of type
type. |
boolean |
isProcessIteration(String processURI)
Returns true if processURI is an iteration
run. |
boolean |
isProcessWithIterations(String processURI)
Returns true if processURI contains
iterations. |
void |
removeGraph(String graphName)
Removes the graph graphName. |
void |
removeWorkflowRun(String workflowRun)
Removes the graph corresponding to workflowRun from the
repository and then does the same by recursion for all its possible
nested workflow runs and process runs. |
String |
retrieveGraph(String workflowRunId)
Retrieves the graph corresponding to graphName and returns
it as a String containing its RDF/XML representation. |
void |
storeModelFromURL(String url,
String graphName)
Stores under graphName the RDF graph corresponding to the
OWL ontology at url. |
void |
storeRDFGraph(String rdfGraph,
String graphName)
Stores rdfGraph under graphName. |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getWorkflowExecutedByRun(String workflowRun)
workflowRun
workflowRun - the LSID of a workflow run.
getWorkflow(String)public String getWorkflow(String workflowLSID)
workflowLSID. Note that workflowLSID
is not the declared LSID for the workflow, but rather the one dynamically
assigned by the LogBook during its execution in Taverna.
workflowLSID -
getWorkflowExecutedByRun(String)public byte[] getDataItem(String dataItemLSID)
dataItemLSID as an array of bytes, even if it is a string.
dataItemLSID -
public byte[] getBytesDataItem(String dataItemLSID)
dataItemLSID as an array of bytes if that is the type of
the data object, null otherwise.
dataItemLSID -
public String getStringDataItem(String dataItemLSID)
dataItemLSID as a String if that is the type of the data
object, null otherwise.
dataItemLSID -
public String[] getDataPortNames(String dataURN)
dataURN has passed through.
dataURN -
public String[] getInputDataPortNames(String dataURN)
dataURN
has passed through.
dataURN -
public String[] getOutputDataPortNames(String dataURN)
dataURN
has passed through.
dataURN -
public String[] getDataCollectionLSIDs(String dataCollectionLSID)
dataCollectionLSID.
dataCollectionLSID -
public String[] getDataSyntacticTypes(String dataLSID)
dataLSID
has passed through.
dataLSID -
public void storeRDFGraph(String rdfGraph,
String graphName)
rdfGraph under graphName. Note that
if a graph with the same name already exists it will be replaced with the
new one.
rdfGraph - a String consisting of (an XML serialization of) an RDF graph.graphName - a String.
public void storeModelFromURL(String url,
String graphName)
graphName the RDF graph corresponding to the
OWL ontology at url. Note that if a graph with the same
name already exists it will be replaced with the new one.
url - a URL pointing to an OWL ontology.graphName - a String.
public void addQuad(String graphName,
String subject,
String predicate,
String object)
graphName - subject - predicate - object - public String retrieveGraph(String workflowRunId)
graphName and returns
it as a String containing its RDF/XML representation.
workflowRunId - a String.
public void removeGraph(String graphName)
graphName.
graphName - the name of the graph to be removed.public void removeWorkflowRun(String workflowRun)
workflowRun from the
repository and then does the same by recursion for all its possible
nested workflow runs and process runs.
workflowRun - public String getWorkflowRun(String workflowRunId)
workflowRunId
together with all the subgraphs of processes and nested runs and returns
it as a String containing its RDF/XML representation.
workflowRunId - a String.
public String[] getAllWorkflowRuns()
public String[] getProcessRuns(String workflowRunId)
workflowRunLSID
workflowRunId -
getNonNestedProcessRuns(String)public String[] getNestedRuns(String workflowRunId)
workflowRun.
workflowRunId -
public String[] getAllNestedRuns()
public String[] getNonNestedProcessRuns(String workflowRunId)
workflowRunLSID that are not nested workflows.
workflowRunId -
getProcessRuns(String)public String[] getWorkflowInputs(String lsid)
workflowRunLSID
lsid -
public String[] getWorkflowOutputs(String workflowRunLSID)
workflowRunLSID
workflowRunLSID -
public String[] getProcessOutputs(String processID)
processID
processID -
public String[] getProcessInputs(String processID)
processID
processID -
public String[] getUserWorkFlows(String experimenter)
experimenter.
Note that the experimenter for a run is set by default to
http://www.someplace/someuser.
experimenter -
public boolean isProcessIteration(String processURI)
true if processURI is an iteration
run.
processURI -
public boolean isProcessWithIterations(String processURI)
true if processURI contains
iterations.
processURI -
public String getUnparsedWorkflowStartDate(String workflowRun)
workflowRun.
workflowRun -
public String getUnparsedProcessEndDate(String processRun)
processRun.
processRun -
public String[] getObjectPropertyValues(String sourceIndividual,
String objectProperty)
objectProperty for sourceIndividual.
sourceIndividual - StringobjectProperty - String
public String getFirstObjectPropertyValue(String sourceIndividual,
String objectProperty)
objectProperty for sourceIndividual.
sourceIndividual - StringobjectProperty - String
public String[] getDatatypePropertyValues(String sourceIndividual,
String datatypeProperty)
datatypeProperty for sourceIndividual.
sourceIndividual - StringdatatypeProperty - String
public String getFirstDatatypePropertyValue(String sourceIndividual,
String datatypeProperty)
datatypeProperty for
sourceIndividual.
sourceIndividual - StringdatatypeProperty - String
public String[] getIndividualsOfType(String type)
type.
type -
public boolean isIndividualOfType(String individual,
String type)
true if individual is of type
type.
individual - type -
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| | logbook-service.png | manage | 146.8 K | 19 Feb 2007 - 16:22 | DanieleTuri | Screenshot of available services |
| | logbook-service.war | manage | 20157.6 K | 19 Feb 2007 - 16:46 | DanieleTuri | WAR file |