org.nhind.xdr
Class DocumentRepositoryAbstract

java.lang.Object
  extended by org.nhind.xdr.DocumentRepositoryAbstract
Direct Known Subclasses:
XDR

public abstract class DocumentRepositoryAbstract
extends Object

Base class for handling incoming XDR requests.

Author:
Vince

Field Summary
protected  String action
           
protected  WebServiceContext context
           
protected  String directFrom
           
protected  String directTo
           
protected  String endpoint
           
protected  String messageId
           
protected  String relatesTo
           
protected  String to
           
 
Constructor Summary
DocumentRepositoryAbstract()
           
 
Method Summary
abstract  oasis.names.tc.ebxml_regrep.xsd.rs._3.RegistryResponseType documentRepositoryProvideAndRegisterDocumentSetB(ihe.iti.xds_b._2007.ProvideAndRegisterDocumentSetRequestType body)
          Handle an incoming XDR request with a ProvideAndRegisterDocumentSetRequestType object.
abstract  ihe.iti.xds_b._2007.RetrieveDocumentSetResponseType documentRepositoryRetrieveDocumentSet(ihe.iti.xds_b._2007.RetrieveDocumentSetRequestType body)
          Handle an incoming XDR request with a RetrieveDocumentSetRequestType object
protected  void getHeaderData()
          Extract header values from a ThreadData object.
protected  oasis.names.tc.ebxml_regrep.xsd.rs._3.RegistryResponseType getRepositoryProvideResponse(String messageId)
          Create a RegistryResponseType object.
protected  oasis.names.tc.ebxml_regrep.xsd.rs._3.RegistryResponseType provideAndRegisterDocumentSet(ihe.iti.xds_b._2007.ProvideAndRegisterDocumentSetRequestType prdst)
          Handle an incoming ProvideAndRegisterDocumentSetRequestType object and transform to XDM or relay to another XDR endponit.
 void setAuditMessageGenerator(AuditMessageGenerator auditMessageGenerator)
          Set the value of auditMessageGenerator.
 void setConfig(XdConfig config)
           
protected  void setHeaderData()
          Build a ThreadData object with header information.
 void setMailClient(MailClient mailClient)
          Set the value of mailClient.
 void setResolver(org.nhindirect.xd.routing.RoutingResolver resolver)
          Set the value of resolver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected WebServiceContext context

endpoint

protected String endpoint

messageId

protected String messageId

relatesTo

protected String relatesTo

action

protected String action

to

protected String to

directTo

protected String directTo

directFrom

protected String directFrom
Constructor Detail

DocumentRepositoryAbstract

public DocumentRepositoryAbstract()
Method Detail

documentRepositoryProvideAndRegisterDocumentSetB

public abstract oasis.names.tc.ebxml_regrep.xsd.rs._3.RegistryResponseType documentRepositoryProvideAndRegisterDocumentSetB(ihe.iti.xds_b._2007.ProvideAndRegisterDocumentSetRequestType body)
Handle an incoming XDR request with a ProvideAndRegisterDocumentSetRequestType object.

Parameters:
body - The ProvideAndRegisterDocumentSetRequestType object representing an XDR message
Returns:
a RegistryResponseType object

documentRepositoryRetrieveDocumentSet

public abstract ihe.iti.xds_b._2007.RetrieveDocumentSetResponseType documentRepositoryRetrieveDocumentSet(ihe.iti.xds_b._2007.RetrieveDocumentSetRequestType body)
Handle an incoming XDR request with a RetrieveDocumentSetRequestType object

Parameters:
body - The RetrieveDocumentSetRequestType object representing an XDR message
Returns:
a RetrieveDocumentSetRequestType object

provideAndRegisterDocumentSet

protected oasis.names.tc.ebxml_regrep.xsd.rs._3.RegistryResponseType provideAndRegisterDocumentSet(ihe.iti.xds_b._2007.ProvideAndRegisterDocumentSetRequestType prdst)
                                                                                            throws Exception
Handle an incoming ProvideAndRegisterDocumentSetRequestType object and transform to XDM or relay to another XDR endponit.

Parameters:
prdst - The incoming ProvideAndRegisterDocumentSetRequestType object
Returns:
a RegistryResponseType object
Throws:
Exception

getRepositoryProvideResponse

protected oasis.names.tc.ebxml_regrep.xsd.rs._3.RegistryResponseType getRepositoryProvideResponse(String messageId)
                                                                                           throws Exception
Create a RegistryResponseType object.

Parameters:
messageId - The message ID
Returns:
a RegistryResponseType object
Throws:
Exception

setMailClient

public void setMailClient(MailClient mailClient)
Set the value of mailClient.

Parameters:
mailClient - the value of mailClient.

setConfig

public void setConfig(XdConfig config)

setAuditMessageGenerator

public void setAuditMessageGenerator(AuditMessageGenerator auditMessageGenerator)
Set the value of auditMessageGenerator.

Parameters:
auditMessageGenerator - the value of auditMessageGenerator.

setResolver

public void setResolver(org.nhindirect.xd.routing.RoutingResolver resolver)
Set the value of resolver.

Parameters:
resolver - the value of resolver.

getHeaderData

protected void getHeaderData()
Extract header values from a ThreadData object.


setHeaderData

protected void setHeaderData()
Build a ThreadData object with header information.



Copyright © 2010-2011 HNIN Direct. All Rights Reserved.