org.gridprovenance.client
Interface InteractionRecord

All Known Implementing Classes:
InteractionRecordImpl

public interface InteractionRecord

InteractionRecord Interface

CSL of EU Provenance

Author:
Sheng Jiang

Method Summary
 GlobalPAssertionKey addActorStatePAssertion(org.w3c.dom.Element actorState)
          Add an ActorStatePAssertion using Verbatim Documentation Style
 GlobalPAssertionKey addActorStatePAssertion(org.w3c.dom.Element actorState, java.net.URI ds)
          Add an ActorStatePAssertion
 GlobalPAssertionKey addInteractionPAssertion(org.w3c.dom.Element message)
          Add a InteractionPAssertion using Verbatim Documentation Style
 GlobalPAssertionKey addInteractionPAssertion(org.w3c.dom.Element message, java.net.URI ds)
          Add a InteractionPAssertion
 GlobalPAssertionKey addRelationshipPAssertion(RelationObject[] relationObject, java.net.URI relationship, RelationSubject relationSubject)
          Add a relationshipPAssertion
 java.security.Principal getAsserter()
          get the Asserter
 InteractionKey getInteractionKey()
          Get the InteractionKey
 org.apache.axis.message.addressing.EndpointReference getRecordPortAddress()
          Get the Record Address
 ViewKind getViewKind()
          get the Side
 RecordResult record()
          Record PAssertions to Provenance Service
 void setAsserter(java.security.Principal asserter)
          set the Asserter
 void setInteractionKey(InteractionKey ik)
          set the InteractionKey
 void setViewKind(ViewKind viewKind)
          Set the Side
 

Method Detail

addInteractionPAssertion

GlobalPAssertionKey addInteractionPAssertion(org.w3c.dom.Element message)
                                             throws java.lang.Exception,
                                                    CSLException
Add a InteractionPAssertion using Verbatim Documentation Style

Parameters:
message - As Element
Throws:
java.lang.Exception
CSLException

addInteractionPAssertion

GlobalPAssertionKey addInteractionPAssertion(org.w3c.dom.Element message,
                                             java.net.URI ds)
                                             throws java.lang.Exception,
                                                    CSLException
Add a InteractionPAssertion

Parameters:
message - As Element
ds - documentationStyle As java.net.URI
Throws:
java.lang.Exception
CSLException

addActorStatePAssertion

GlobalPAssertionKey addActorStatePAssertion(org.w3c.dom.Element actorState)
                                            throws java.lang.Exception,
                                                   CSLException
Add an ActorStatePAssertion using Verbatim Documentation Style

Parameters:
actorState - As Element
Throws:
java.lang.Exception
CSLException

addActorStatePAssertion

GlobalPAssertionKey addActorStatePAssertion(org.w3c.dom.Element actorState,
                                            java.net.URI ds)
                                            throws java.lang.Exception,
                                                   CSLException
Add an ActorStatePAssertion

Parameters:
actorState - As Element
ds - documentationStyle as java.net.URI
Throws:
java.lang.Exception
CSLException

addRelationshipPAssertion

GlobalPAssertionKey addRelationshipPAssertion(RelationObject[] relationObject,
                                              java.net.URI relationship,
                                              RelationSubject relationSubject)
                                              throws java.lang.Exception,
                                                     CSLException
Add a relationshipPAssertion

Throws:
java.lang.Exception
CSLException

getInteractionKey

InteractionKey getInteractionKey()
                                 throws CSLException
Get the InteractionKey

Returns:
InteractionKey
Throws:
CSLException

getRecordPortAddress

org.apache.axis.message.addressing.EndpointReference getRecordPortAddress()
                                                                          throws CSLException
Get the Record Address

Returns:
recordAddress As EndpointReference
Throws:
CSLException

getViewKind

ViewKind getViewKind()
                     throws CSLException
get the Side

return true if it is sender side return false if it is receive side

Throws:
CSLException

getAsserter

java.security.Principal getAsserter()
                                    throws CSLException
get the Asserter

Returns:
asserter As Principal
Throws:
CSLException

setInteractionKey

void setInteractionKey(InteractionKey ik)
                       throws CSLException
set the InteractionKey

Parameters:
ik - As InteractionKey
Throws:
CSLException

setViewKind

void setViewKind(ViewKind viewKind)
                 throws CSLException
Set the Side

true if it is sender side false if it is receive side

Throws:
CSLException

setAsserter

void setAsserter(java.security.Principal asserter)
                 throws CSLException
set the Asserter

Parameters:
asserter - As Principal
Throws:
CSLException

record

RecordResult record()
                    throws java.lang.Exception,
                           CSLException
Record PAssertions to Provenance Service

Throws:
java.lang.Exception
CSLException