$darkmode
Qore ServiceNowRestDataProvider Module Reference 1.2.1
ServiceNowTablesDataProvider.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
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 
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 };
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< auto > getAccess(string name)
Returns access info for one table.
*hash< auto > getAllAccess()
Returns access info for all tables.
bool all_access
Flag if all access info has been queried.
Definition: ServiceNowTablesDataProvider.qc.dox.h:33
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
static hash< string, bool > parseBools(hash< auto > h)
Returns a hash with all values parsed to boolean values.
*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
*hash< auto > getAccessIdIntern(string sys_id, reference< string > name)
Returns access info for one table; must be called with the lock held.
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.
constructor(ServiceNowRestClient rest)
Creates the object from the arguments.
*hash< auto > accessid
Table access keyed by table ID.
Definition: ServiceNowTablesDataProvider.qc.dox.h:39
*hash< auto > getMetadataIntern(string name)
Returns metadata for the given table; must have the lock held.
*hash< auto > access
Table access keyed by table name.
Definition: ServiceNowTablesDataProvider.qc.dox.h:36
*hash< auto > getMetadata(string name)
Returns metadata for the given table.
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
Qore ServiceNowRestDataProvider module definition.
Definition: ServiceNowRestDataProvider.qc.dox.h:26