Qore SoapDataProvider Module Reference  1.1
SoapRequestDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
26 namespace SoapDataProvider {
29 
30 public:
32  *SoapClient soapclient;
33 
35  *hash<string, AbstractDataField> record_type;
36 
38  constructor(WebService webservice, *SoapClient soapclient, WSOperation op)
39  ;
40 
41 
43  string getName();
44 
45 
47  hash<DataProviderInfo> getInfo();
48 
49 
51 
53 protected:
54  *hash<string, AbstractDataField> getRecordTypeImpl(*hash<auto> search_options);
55 public:
56 
57 
59 protected:
60  *AbstractDataProviderType getRequestTypeImpl();
61 public:
62 
63 
65 
71 protected:
72  *AbstractDataProviderType getResponseTypeImpl();
73 public:
74 
75 
77 protected:
78  *hash<string, AbstractDataProviderType> getErrorResponseTypesImpl();
79 public:
80 
81 
83 
88 protected:
89  auto doRequestImpl(auto req, *hash<auto> request_options);
90 public:
91 
92 
94 
99 protected:
100  AbstractDataProviderRecordIterator searchRecordsImpl(*hash<auto> where_cond, *hash<auto> search_options);
101 public:
102 
103 
105 protected:
106  auto doRequestIntern(auto req, *hash<auto> options);
107 public:
108 
109 
111 protected:
112  SoapClient getSoapClient();
113 public:
114 
115 
117 protected:
118  hash<DataProviderInfo> getStaticInfoImpl();
119 public:
120 
121 
123 protected:
124  *hash<string, hash<DataProviderOptionInfo>> getApiOptions();
125 public:
126 
127 
129 private:
130  *hash<string, AbstractDataField> getRecordTypeIntern();
131 public:
132 
133 };
134 };
The Soap data provider base class.
Definition: SoapDataProviderBase.qc.dox.h:28
WebService webservice
The WebService object.
Definition: SoapDataProviderBase.qc.dox.h:33
WSOperation op
The operation object.
Definition: SoapDataProviderBase.qc.dox.h:36
The Soap data provider class.
Definition: SoapRequestDataProvider.qc.dox.h:28
auto doRequestImpl(auto req, *hash< auto > request_options)
Makes a request and returned the response.
AbstractDataProviderRecordIterator searchRecordsImpl(*hash< auto > where_cond, *hash< auto > search_options)
Returns an iterator for zero or more records matching the search options.
*hash< string, AbstractDataField > record_type
If the request supports a list of hashes in the response and therefore the record API.
Definition: SoapRequestDataProvider.qc.dox.h:35
*hash< string, hash< DataProviderOptionInfo > > getApiOptions()
Returns API options for the current operation.
*hash< string, AbstractDataProviderType > getErrorResponseTypesImpl()
Returns a hash of error responses, if any.
*hash< string, AbstractDataField > getRecordTypeIntern()
Returns the description of the record type, if any.
string getName()
Returns the data provider name.
constructor(WebService webservice, *SoapClient soapclient, WSOperation op)
Creates the object from the arguments.
*AbstractDataProviderType getResponseTypeImpl()
Returns the description of a response message, if this object represents a response message.
auto doRequestIntern(auto req, *hash< auto > options)
Makes a REST request and returns the response.
*AbstractDataProviderType getRequestTypeImpl()
Returns the description of a successful request message, if any.
hash< DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
SoapClient getSoapClient()
Returns a REST client for HTTP operations.
hash< DataProviderInfo > getInfo()
Returns data provider info.
*hash< string, AbstractDataField > getRecordTypeImpl(*hash< auto > search_options)
Returns the description of the record type, if any.
*SoapClient soapclient
The SOAP client object for API calls.
Definition: SoapRequestDataProvider.qc.dox.h:32
Qore SoapDataProvider module definition.
Definition: SoapDataProvider.qc.dox.h:26