eu.transformproject.provenance.ws
public class ProvenanceWS_MiddlewareTool extends CommonInstantiation implements ProvenanceWS_middleware_Interface
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MIDDLEWARE_GRAPH_PROJECT_NAME_IN_MIDDLEWARE |
MIDDLEWARE_GRAPH_PROJECT_NAME, server| Constructor and Description |
|---|
ProvenanceWS_MiddlewareTool() |
ProvenanceWS_MiddlewareTool(java.lang.String localZoneName,
java.lang.String fxmlConfig,
boolean isResource) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
aggregateResultsForMultiSourceQuery(java.lang.String aggregationQueryA,
java.lang.String dataSourceAgentName,
java.lang.Object[] dataSourcesA,
java.lang.Object aggregatedResults,
java.util.Date start)
aggregateResultsForMultiSourceQuery, annotates the aggregation result process at the moment it finishes.
|
java.lang.String[] |
analizeMultiSourceQuery(java.lang.String decryptedQueryA,
java.lang.String[] subqueries,
java.lang.String aggregatedQuery,
java.util.Date start)
analizeMultiSourceQuery, annotates the process of analyzing multisource queries at the moment the analysis has finished.
|
void |
endsPackageData(java.lang.Object signedDetails,
java.lang.Object encryptedPackage)
Ends of the packaging process.
|
java.lang.String |
receiveData(java.lang.String receptorQueueName,
java.lang.Object encryptedReceivedData)
Reception of an encrypted data.
|
void |
sendData(java.lang.String receptorQueueName,
java.lang.String encryptedDataA)
Send an encrypted data.
|
java.lang.String |
startPackageData(java.lang.String uriDataToPackage,
java.util.Date start)
Starts of the packaging processing.
|
java.lang.String |
unpackageData(java.lang.String encryptedReceivedDataA,
java.lang.String provenanceA,
java.lang.Object decryptedDataA,
java.util.Date start)
Decryptation of an encrypted data.
|
closeSession, createSession, finalize, getSyncDateTime, login, logoutequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, createSession, getSyncDateTime, login, logoutpublic static java.lang.String MIDDLEWARE_GRAPH_PROJECT_NAME_IN_MIDDLEWARE
public ProvenanceWS_MiddlewareTool(java.lang.String localZoneName,
java.lang.String fxmlConfig,
boolean isResource)
throws java.lang.Exception
java.lang.Exceptionpublic ProvenanceWS_MiddlewareTool()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String[] analizeMultiSourceQuery(java.lang.String decryptedQueryA,
java.lang.String[] subqueries,
java.lang.String aggregatedQuery,
java.util.Date start)
throws java.lang.Exception
ProvenanceWS_middleware_InterfaceanalizeMultiSourceQuery in interface ProvenanceWS_middleware_Interfacestart - date time when the analysis beginsjava.lang.Exceptionpublic java.lang.String aggregateResultsForMultiSourceQuery(java.lang.String aggregationQueryA,
java.lang.String dataSourceAgentName,
java.lang.Object[] dataSourcesA,
java.lang.Object aggregatedResults,
java.util.Date start)
throws java.lang.Exception
ProvenanceWS_middleware_InterfaceaggregateResultsForMultiSourceQuery in interface ProvenanceWS_middleware_Interfacejava.lang.Exceptionpublic java.lang.String startPackageData(java.lang.String uriDataToPackage,
java.util.Date start)
throws java.lang.Exception
CommomInstantiationInterfacestartPackageData in interface CommomInstantiationInterfacestartPackageData in class CommonInstantiationuriDataToPackage - the uri of the artifact associated to the object to be transmitted. This value needs to be obtained
through any of the provenance server method.start - the time in which the packaging process started.java.lang.Exceptionpublic void endsPackageData(java.lang.Object signedDetails,
java.lang.Object encryptedPackage)
throws java.lang.Exception
CommomInstantiationInterfaceendsPackageData in interface CommomInstantiationInterfaceendsPackageData in class CommonInstantiationsignedDetails - sign object created during encryptation.encryptedPackage - the encrypted object.java.lang.Exceptionpublic void sendData(java.lang.String receptorQueueName,
java.lang.String encryptedDataA)
throws java.lang.Exception
CommomInstantiationInterfacesendData in interface CommomInstantiationInterfacesendData in class CommonInstantiationreceptorQueueName - an string that identifies the queue that controls the sent data messages (e.g. "QW2MW", "MW2DC", etc.).encryptedDataA - identifier of the encryptedData artifact, as returned by the packageData method.java.lang.Exceptionpublic java.lang.String receiveData(java.lang.String receptorQueueName,
java.lang.Object encryptedReceivedData)
throws java.lang.Exception
CommomInstantiationInterfacereceiveData in interface CommomInstantiationInterfacereceiveData in class CommonInstantiationreceptorQueueName - an string that identifies the queue that controls the reception of data messages (e.g. "QW2MW", "MW2DC", etc.).encryptedReceivedData - an object describing the data recovered from the queue.java.lang.Exceptionpublic java.lang.String unpackageData(java.lang.String encryptedReceivedDataA,
java.lang.String provenanceA,
java.lang.Object decryptedDataA,
java.util.Date start)
throws java.lang.Exception
CommomInstantiationInterfaceunpackageData in interface CommomInstantiationInterfaceunpackageData in class CommonInstantiationencryptedReceivedDataA - identifier of the generated encrypted received data artifact, as returned by receiveData or packageData methodsprovenanceA - identifier of the provenance artifact from which the encrypted received data comes from. This data needs to be extracted
from the transmitted package, and should contain the artifact identifier of the transmitted data.decryptedDataA - an object describing the data decrypted data.start - the time when the unpackage process starts.java.lang.Exception