au.gov.nehta.vendorlibrary.hi.ihi
Class ConsumerSearchIHIBatchSyncClient

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.hi.client.ClientBase<T>
      extended by au.gov.nehta.vendorlibrary.hi.client.BaseClient_30<au.net.electronichealth.ns.hi.svc.consumersearchihibatchsync._3_0.ConsumerSearchIHIBatchSyncPortType>
          extended by au.gov.nehta.vendorlibrary.hi.ihi.ConsumerSearchIHIBatchSyncClient

public class ConsumerSearchIHIBatchSyncClient
extends BaseClient_30<au.net.electronichealth.ns.hi.svc.consumersearchihibatchsync._3_0.ConsumerSearchIHIBatchSyncPortType>

An implementation of a Healthcare Identifiers (HI) - Individual Healthcare Identifier (IHI) batch search client. This class may be used to connect to the Medicare HI Service to do Consumer Search IHI Synchronized Batch searches.


Field Summary
 
Fields inherited from class au.gov.nehta.vendorlibrary.hi.client.BaseClient_30
individualQualifiedId, organisationQualifiedId, productHeader
 
Fields inherited from class au.gov.nehta.vendorlibrary.hi.client.ClientBase
EMPTY, loggingHandler, port, signingCertificate, signingPrivateKey, SSL_SOCKET_FACTORY, SSL_SOCKET_FACTORY_INTERNAL, sslSocketFactory
 
Constructor Summary
ConsumerSearchIHIBatchSyncClient(java.lang.String searchIhiServiceEndpoint, au.net.electronichealth.ns.hi.common.qualifiedidentifier._3_0.QualifiedId individualQualifiedId, javax.xml.ws.Holder<au.net.electronichealth.ns.hi.common.commoncoreelements._3_0.ProductType> productHeader, java.security.PrivateKey signingPrivateKey, java.security.cert.X509Certificate signingCertificate, javax.net.ssl.SSLSocketFactory sslSocketFactory)
          Constructor which creates a new ConsumerSearchIHIBatchSyncClient with an endpoint and an SSL Socket Factory.
 
Method Summary
 au.net.electronichealth.ns.hi.svc.consumersearchihibatchsync._3_0.SearchIHIBatchResponse batchSearch(SearchBatch request)
          Executes a SearchIHIBatchSync search.
 
Methods inherited from class au.gov.nehta.vendorlibrary.hi.client.BaseClient_30
getTimestampHeader, hasNoOrganisationQualifiedId
 
Methods inherited from class au.gov.nehta.vendorlibrary.hi.client.ClientBase
configureEndpoint, getBindingProvider, getLastSoapRequest, getLastSoapResponse, getPort, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumerSearchIHIBatchSyncClient

public ConsumerSearchIHIBatchSyncClient(java.lang.String searchIhiServiceEndpoint,
                                        au.net.electronichealth.ns.hi.common.qualifiedidentifier._3_0.QualifiedId individualQualifiedId,
                                        javax.xml.ws.Holder<au.net.electronichealth.ns.hi.common.commoncoreelements._3_0.ProductType> productHeader,
                                        java.security.PrivateKey signingPrivateKey,
                                        java.security.cert.X509Certificate signingCertificate,
                                        javax.net.ssl.SSLSocketFactory sslSocketFactory)
Constructor which creates a new ConsumerSearchIHIBatchSyncClient with an endpoint and an SSL Socket Factory.

Parameters:
searchIhiServiceEndpoint - the Web Service endpoint for the Medicare HI Service interface (Mandatory)
individualQualifiedId - The qualified user ID for connecting to the ConsumerSearchIHIBatchSync service (Mandatory)
productHeader - The product header data for connecting to the ConsumerSearchIHIBatchSync service (Mandatory)
signingPrivateKey - The private key to be used for signing (Mandatory)
signingCertificate - The certificate to be used for signing (Mandatory)
sslSocketFactory - the SSL Socket Factory to be used when connecting to the Web Service provider (Mandatory)
Method Detail

batchSearch

public final au.net.electronichealth.ns.hi.svc.consumersearchihibatchsync._3_0.SearchIHIBatchResponse batchSearch(SearchBatch request)
                                                                                                           throws au.net.electronichealth.ns.hi.svc.consumersearchihibatchsync._3_0.StandardErrorMsg
Executes a SearchIHIBatchSync search.

Parameters:
request - the SearchBatch request object containing the searches to be performed.
Returns:
the response from the SearchIHIBatchSync service
Throws:
au.net.electronichealth.ns.hi.svc.consumersearchihibatchsync._3_0.StandardErrorMsg - if the Web Service call fails.