Qore ServiceNowRestDataProvider Module Reference 1.2
Loading...
Searching...
No Matches
ServiceNowTablesDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
29
30public:
33
34protected:
37
39 *hash<auto> access;
40
42 *hash<auto> accessid;
43
45 *hash<auto> meta;
46
48 hash<string, string> scmap;
49
52
53public:
54
57
58
60 string getName();
61
62
64 string getDesc();
65
66
68protected:
69 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
70public:
71
72
74
76protected:
78public:
79
80
82
86protected:
88public:
89
90
92 *list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
93
94
96protected:
97 *hash<auto> getAllAccess();
98public:
99
100
102protected:
103 *hash<auto> getAccess(string name);
104public:
105
106
108protected:
109 *hash<auto> getAccessIdIntern(string sys_id, reference<string> name);
110public:
111
112
114protected:
115 *hash<auto> getMetadata(string name);
116public:
117
118
120protected:
121 *hash<auto> getMetadataIntern(string name);
122public:
123
124
126 static hash<string, bool> parseBools(hash<auto> h);
127};
128};
The ServiceNowTablesDataProvider data provider class.
Definition: ServiceNowTablesDataProvider.qc.dox.h:28
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
bool all_access
Flag if all access info has been queried.
Definition: ServiceNowTablesDataProvider.qc.dox.h:36
*hash< auto > getAllAccess()
Returns access info for all tables.
ServiceNowRestClient::ServiceNowRestClient rest
The REST client object for API calls.
Definition: ServiceNowTablesDataProvider.qc.dox.h:32
*hash< auto > getMetadataIntern(string name)
Returns metadata for the given table; must have the lock held.
*hash< auto > meta
Metadata keyed by table name.
Definition: ServiceNowTablesDataProvider.qc.dox.h:45
hash< string, string > scmap
Superclass map; child -> parent.
Definition: ServiceNowTablesDataProvider.qc.dox.h:48
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
string getDesc()
Returns the data provider description.
string getName()
Returns the data provider name.
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
static hash< string, bool > parseBools(hash< auto > h)
Returns a hash with all values parsed to boolean values.
constructor(ServiceNowRestClient rest)
Creates the object from the arguments.
*hash< auto > getMetadata(string name)
Returns metadata for the given table.
*hash< auto > getAccessIdIntern(string sys_id, reference< string > name)
Returns access info for one table; must be called with the lock held.
*hash< auto > accessid
Table access keyed by table ID.
Definition: ServiceNowTablesDataProvider.qc.dox.h:42
*hash< auto > access
Table access keyed by table name.
Definition: ServiceNowTablesDataProvider.qc.dox.h:39
*hash< auto > getAccess(string name)
Returns access info for one table.
Qore ServiceNowRestDataProvider module definition.
Definition: ServiceNowRestDataProvider.qc.dox.h:26