| Qore ServiceNowRestDataProvider Module Reference 2.0

Loading...
Searching...
No Matches
ServiceNowTablesDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
26 namespace ServiceNowRestDataProvider {
28 class ServiceNowTablesDataProvider : public ServiceNowRestDataProviderBase {
29
30 public:
31 protected:
33 bool all_access;
34
36 *hash<auto> access;
37
39 *hash<auto> accessid;
40
42 *hash<auto> meta;
43
45 hash<string, string> scmap;
46
48 Qore::Thread::Mutex lck();
49
50 public:
51
53 constructor(ServiceNowRestClient rest) ;
54
55
57 string getName();
58
59
61 string getDesc();
62
63
65 protected:
66 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
67 public:
68
69
71
73 protected:
74 *list<string> getChildProviderNamesImpl();
75 public:
76
77
79
83 protected:
84 *DataProvider::AbstractDataProvider getChildProviderImpl(string name);
85 public:
86
87
89 *list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
90
91
93 protected:
94 *hash<auto> getAllAccess();
95 public:
96
97
99 protected:
100 *hash<auto> getAccess(string name);
101 public:
102
103
105 protected:
106 *hash<auto> getAccessIdIntern(string sys_id, reference<string> name);
107 public:
108
109
111 protected:
112 *hash<auto> getMetadata(string name);
113 public:
114
115
117 protected:
118 *hash<auto> getMetadataIntern(string name);
119 public:
120
121
123 static hash<string, bool> parseBools(hash<auto> h);
124};
125};
Qore::Thread::Mutex
ServiceNowRestDataProvider::ServiceNowRestDataProviderBase
The ServiceNowRest data provider class.
Definition ServiceNowRestDataProviderBase.qc.dox.h:28
ServiceNowRestDataProvider::ServiceNowRestDataProviderBase::rest
ServiceNowRestClient::ServiceNowRestClient rest
The REST client object for API calls.
Definition ServiceNowRestDataProviderBase.qc.dox.h:33
ServiceNowRestDataProvider::ServiceNowTablesDataProvider
The ServiceNowTablesDataProvider data provider class.
Definition ServiceNowTablesDataProvider.qc.dox.h:28
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getChildProviderSummaryInfo
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::all_access
bool all_access
Flag if all access info has been queried.
Definition ServiceNowTablesDataProvider.qc.dox.h:33
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getAllAccess
*hash< auto > getAllAccess()
Returns access info for all tables.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::lck
Qore::Thread::Mutex lck()
Metadata mutex.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getMetadataIntern
*hash< auto > getMetadataIntern(string name)
Returns metadata for the given table; must have the lock held.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::meta
*hash< auto > meta
Metadata keyed by table name.
Definition ServiceNowTablesDataProvider.qc.dox.h:42
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::scmap
hash< string, string > scmap
Superclass map; child -> parent.
Definition ServiceNowTablesDataProvider.qc.dox.h:45
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getDesc
string getDesc()
Returns the data provider description.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getName
string getName()
Returns the data provider name.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getChildProviderImpl
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::parseBools
static hash< string, bool > parseBools(hash< auto > h)
Returns a hash with all values parsed to boolean values.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::constructor
constructor(ServiceNowRestClient rest)
Creates the object from the arguments.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getMetadata
*hash< auto > getMetadata(string name)
Returns metadata for the given table.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getAccessIdIntern
*hash< auto > getAccessIdIntern(string sys_id, reference< string > name)
Returns access info for one table; must be called with the lock held.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::accessid
*hash< auto > accessid
Table access keyed by table ID.
Definition ServiceNowTablesDataProvider.qc.dox.h:39
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::access
*hash< auto > access
Table access keyed by table name.
Definition ServiceNowTablesDataProvider.qc.dox.h:36
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getAccess
*hash< auto > getAccess(string name)
Returns access info for one table.
ServiceNowRestDataProvider
Qore ServiceNowRestDataProvider module definition.
Definition ServiceNowRestDataProvider.qc.dox.h:26