org.nhind.mail.service
Class DocumentRepository

java.lang.Object
  extended by org.nhind.mail.service.DocumentRepository

public class DocumentRepository
extends Object

Document repository class for handling XDS webservice calls.

Author:
Vince

Constructor Summary
DocumentRepository()
           
 
Method Summary
 String forwardRequest(String endpoint, ihe.iti.xds_b._2007.ProvideAndRegisterDocumentSetRequestType prds, String directTo, String directFrom)
          Forward a given ProvideAndRegisterDocumentSetRequestType object to the given XDR endpoint.
protected  void setHeaderData()
          Set header data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentRepository

public DocumentRepository()
Method Detail

forwardRequest

public String forwardRequest(String endpoint,
                             ihe.iti.xds_b._2007.ProvideAndRegisterDocumentSetRequestType prds,
                             String directTo,
                             String directFrom)
                      throws Exception
Forward a given ProvideAndRegisterDocumentSetRequestType object to the given XDR endpoint.

Parameters:
endpoint - A URL representing an XDR endpoint.
prds - The ProvideAndRegisterDocumentSetRequestType object.
Throws:
Exception

setHeaderData

protected void setHeaderData()
Set header data. TODO: Investigate the usefulness of this method. It sets null known null values.



Copyright © 2012. All Rights Reserved.