Qore ServiceNowRestDataProvider Module Reference 1.2.1
Loading...
Searching...
No Matches
ServiceNowTablesDataProvider.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
29
30public:
31protected:
34
36 *hash<auto> access;
37
39 *hash<auto> accessid;
40
42 *hash<auto> meta;
43
45 hash<string, string> scmap;
46
49
50public:
51
54
55
57 string getName();
58
59
61 string getDesc();
62
63
65protected:
66 hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
67public:
68
69
71
73protected:
75public:
76
77
79
83protected:
85public:
86
87
89 *list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
90
91
93protected:
94 *hash<auto> getAllAccess();
95public:
96
97
99protected:
100 *hash<auto> getAccess(string name);
101public:
102
103
105protected:
106 *hash<auto> getAccessIdIntern(string sys_id, reference<string> name);
107public:
108
109
111protected:
112 *hash<auto> getMetadata(string name);
113public:
114
115
117protected:
118 *hash<auto> getMetadataIntern(string name);
119public:
120
121
123 static hash<string, bool> parseBools(hash<auto> h);
124};
125};
The ServiceNowRest data provider class.
Definition: ServiceNowRestDataProviderBase.qc.dox.h:28
ServiceNowRestClient::ServiceNowRestClient rest
The REST client object for API calls.
Definition: ServiceNowRestDataProviderBase.qc.dox.h:33
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:33
*hash< auto > getAllAccess()
Returns access info for all tables.
*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:42
hash< string, string > scmap
Superclass map; child -> parent.
Definition: ServiceNowTablesDataProvider.qc.dox.h:45
*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:39
*hash< auto > access
Table access keyed by table name.
Definition: ServiceNowTablesDataProvider.qc.dox.h:36
*hash< auto > getAccess(string name)
Returns access info for one table.
Qore ServiceNowRestDataProvider module definition.
Definition: ServiceNowRestDataProvider.qc.dox.h:26