Qore ServiceNowRestDataProvider Module Reference 1.2.1
Loading...
Searching...
No Matches
ServiceNowRestDataProvider::ServiceNowTablesDataProvider Class Reference

The ServiceNowTablesDataProvider data provider class. More...

#include <ServiceNowTablesDataProvider.qc.dox.h>

Inheritance diagram for ServiceNowRestDataProvider::ServiceNowTablesDataProvider:
[legend]

Public Member Methods

 constructor (ServiceNowRestClient rest)
 Creates the object from the arguments.
 
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo ()
 Return data provider summary info.
 
string getDesc ()
 Returns the data provider description.
 
string getName ()
 Returns the data provider name.
 
- Public Member Methods inherited from ServiceNowRestDataProvider::ServiceNowRestDataProviderBase
 constructor ()
 Creates the object.
 
 constructor (ServiceNowRestClient::ServiceNowRestClient rest)
 Creates the object.
 
 setLogger (*LoggerInterface logger)
 Accepts a LoggerInterface object for logging (or clears it)
 

Static Public Member Methods

static hash< string, bool > parseBools (hash< auto > h)
 Returns a hash with all values parsed to boolean values.
 

Private Member Methods

*hash< auto > getAccess (string name)
 Returns access info for one 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 > getAllAccess ()
 Returns access info for all tables.
 
*DataProvider::AbstractDataProvider getChildProviderImpl (string name)
 Returns the given child provider or NOTHING if the given child is unknown. More...
 
*list< string > getChildProviderNamesImpl ()
 Returns a list of child data provider names, if any. More...
 
*hash< auto > getMetadata (string name)
 Returns metadata for the given table.
 
*hash< auto > getMetadataIntern (string name)
 Returns metadata for the given table; must have the lock held.
 
hash< DataProvider::DataProviderInfogetStaticInfoImpl ()
 Returns data provider static info.
 
Qore::Thread::Mutex lck ()
 Metadata mutex.
 

Private Attributes

*hash< auto > access
 Table access keyed by table name.
 
*hash< auto > accessid
 Table access keyed by table ID.
 
bool all_access
 Flag if all access info has been queried.
 
*hash< auto > meta
 Metadata keyed by table name.
 
hash< string, string > scmap
 Superclass map; child -> parent.
 
- Private Attributes inherited from ServiceNowRestDataProvider::ServiceNowRestDataProviderBase
ServiceNowRestClient::ServiceNowRestClient rest
 The REST client object for API calls.
 

Detailed Description

The ServiceNowTablesDataProvider data provider class.

Member Function Documentation

◆ getChildProviderImpl()

*DataProvider::AbstractDataProvider ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getChildProviderImpl ( string  name)
private

Returns the given child provider or NOTHING if the given child is unknown.

Returns
the given child provider or NOTHING if the given child is unknown
See also
getChildProviderEx()

◆ getChildProviderNamesImpl()

*list< string > ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getChildProviderNamesImpl ( )
private

Returns a list of child data provider names, if any.

Returns
a list of child data provider names, if any