org.gridprovenance.client.impl
Class ProvenanceServiceImpl

java.lang.Object
  extended by org.gridprovenance.client.impl.ProvenanceServiceImpl
All Implemented Interfaces:
ProvenanceService

public class ProvenanceServiceImpl
extends java.lang.Object
implements ProvenanceService

An implement of ProvenanceStore interface

CSL of EU Provenance

Author:
Sheng Jiang

Constructor Summary
ProvenanceServiceImpl()
           
ProvenanceServiceImpl(RecordPort recordPort, XQueryPort xQueryPort, PQueryPort pQueryPort)
           
 
Method Summary
 org.apache.axis.message.addressing.EndpointReference getPQueryPortAddress()
          Get PQuery Port
 org.apache.axis.message.addressing.EndpointReference getRecordPortAddress()
          Get Record Port
 org.apache.axis.message.addressing.EndpointReference getXQueryPortAddress()
          Get XQuery Port
 InteractionRecord newInteractionRecord(org.apache.axis.message.addressing.EndpointReference msgSink, org.apache.axis.message.addressing.EndpointReference msgSource, java.security.Principal asserter, ViewKind vk)
          Create a new InteractionRecord
 PQuery newPQuery(java.lang.String xPath1, java.util.Map namespace1, java.lang.String xPath2, java.util.Map namespace2)
          Create a new PQuery
 PQuery newPQuery(java.lang.String xPath1, java.lang.String xPath2, java.util.Map namespace)
          Create a new PQuery
 XQuery newXQuery(java.lang.String optionString)
          Create a new XQuery
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvenanceServiceImpl

public ProvenanceServiceImpl()
                      throws CSLException
Throws:
CSLException

ProvenanceServiceImpl

public ProvenanceServiceImpl(RecordPort recordPort,
                             XQueryPort xQueryPort,
                             PQueryPort pQueryPort)
                      throws CSLException
Throws:
CSLException
Method Detail

getRecordPortAddress

public org.apache.axis.message.addressing.EndpointReference getRecordPortAddress()
                                                                          throws CSLException
Description copied from interface: ProvenanceService
Get Record Port

Specified by:
getRecordPortAddress in interface ProvenanceService
Returns:
recordPort As EndpointReference
Throws:
CSLException

getXQueryPortAddress

public org.apache.axis.message.addressing.EndpointReference getXQueryPortAddress()
                                                                          throws CSLException
Description copied from interface: ProvenanceService
Get XQuery Port

Specified by:
getXQueryPortAddress in interface ProvenanceService
Returns:
xQueryPort As EndpointReference
Throws:
CSLException

getPQueryPortAddress

public org.apache.axis.message.addressing.EndpointReference getPQueryPortAddress()
                                                                          throws CSLException
Description copied from interface: ProvenanceService
Get PQuery Port

Specified by:
getPQueryPortAddress in interface ProvenanceService
Returns:
pQueryPort As EndpointReference
Throws:
CSLException

newInteractionRecord

public InteractionRecord newInteractionRecord(org.apache.axis.message.addressing.EndpointReference msgSink,
                                              org.apache.axis.message.addressing.EndpointReference msgSource,
                                              java.security.Principal asserter,
                                              ViewKind vk)
                                       throws java.lang.Exception,
                                              CSLException
Description copied from interface: ProvenanceService
Create a new InteractionRecord

Specified by:
newInteractionRecord in interface ProvenanceService
Returns:
InteractionRecord
Throws:
java.lang.Exception
CSLException

newXQuery

public XQuery newXQuery(java.lang.String optionString)
                 throws CSLException
Description copied from interface: ProvenanceService
Create a new XQuery

Specified by:
newXQuery in interface ProvenanceService
Returns:
XQuery
Throws:
CSLException

newPQuery

public PQuery newPQuery(java.lang.String xPath1,
                        java.lang.String xPath2,
                        java.util.Map namespace)
                 throws CSLException
Description copied from interface: ProvenanceService
Create a new PQuery

Specified by:
newPQuery in interface ProvenanceService
Returns:
PQuery
Throws:
CSLException

newPQuery

public PQuery newPQuery(java.lang.String xPath1,
                        java.util.Map namespace1,
                        java.lang.String xPath2,
                        java.util.Map namespace2)
                 throws CSLException
Description copied from interface: ProvenanceService
Create a new PQuery

Specified by:
newPQuery in interface ProvenanceService
Returns:
PQuery
Throws:
CSLException