|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ohf.ihe.xds.source.Source
public class Source
OHF Source Actor implementation of the IHE XDS Source Actor provides a utility class
for composing and submitting IHE XDS Provide and Register Document Set
transactions to the IHE XDS Repository. This is described in the IHE ITI-15
transaction.
Externally (and initially) this actor interacts with two services:
SubmitTransactionData for more information):
SubmitTransactionData)
(note: per IHE XDS - a transaction can hold 0 or more documents, and ALL documents must
belong to the same patient)
| Constructor Summary | |
|---|---|
Source(java.lang.String repositoryURL)
Constructor |
|
Source(java.lang.String repositoryURL,
boolean doAudit)
Deprecated. use AtnaAgentFactory.getAtnaAgent().setDoAudit(doAudit) to turn auditing on and off for all your actors |
|
Source(java.net.URI uri)
Constructor |
|
Source(java.net.URI uri,
boolean doAudit)
Deprecated. use AtnaAgentFactory.getAtnaAgent().setDoAudit(doAudit) to turn auditing on and off for all your actors |
|
| Method Summary | |
|---|---|
java.net.URI |
getRepositoryURI()
|
java.lang.String |
getRepositoryURL()
|
boolean |
isDoAudit()
|
void |
setDoAudit(boolean doAudit)
Deprecated. use AtnaAgentFactory.getAtnaAgent().setDoAudit(doAudit) to turn auditing on and off for all your actors |
void |
setRepositoryURI(java.net.URI repositoryURI)
Sets the the URI of the repository |
void |
setRepositoryURL(java.lang.String repositoryURL)
Sets the string url to be the URI of the repository |
void |
submit(SubmitTransactionData txnData,
java.lang.String initiatingUser)
Submits the Provide and Register Document Set transaction to the XDS Repository Actor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Source(java.lang.String repositoryURL,
boolean doAudit)
repositoryURL - the string URL for the repository to submit to.doAudit - whether to enable or disable auditing for the source actorpublic Source(java.lang.String repositoryURL)
repositoryURL - the string URL for the repository to submit to.
public Source(java.net.URI uri,
boolean doAudit)
repositoryURI - the URI for the repository to submit to.doAudit - whether to enable or disable auditing for the source actorpublic Source(java.net.URI uri)
repositoryURI - the URI for the repository to submit to.| Method Detail |
|---|
public boolean isDoAudit()
public void setDoAudit(boolean doAudit)
doAudit - the doAudit to setpublic java.lang.String getRepositoryURL()
public void setRepositoryURL(java.lang.String repositoryURL)
repositoryURL - The repositoryURL to set.public java.net.URI getRepositoryURI()
public void setRepositoryURI(java.net.URI repositoryURI)
repositoryURL - The URI to set.
public void submit(SubmitTransactionData txnData,
java.lang.String initiatingUser)
throws java.lang.Exception
txnData - transaction payload data: XDS metadata and corresponding documentsinitiatingUser - initiating user for auditing purposes
java.lang.Exception - If the transaction failed to complete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||