Qore ServiceNowRestDataProvider Module Reference  1.0.1
ServiceNowRestDataProvider::ServiceNowTablesDataProvider Class Reference

The ServiceNowTablesDataProvider data provider class. More...

Inheritance diagram for ServiceNowRestDataProvider::ServiceNowTablesDataProvider:

Public Member Methods

 constructor (ServiceNowRestClient rest)
 Creates the object from the arguments.
 
string getName ()
 Returns the data provider name.
 

Static Public Member Methods

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

Public Attributes

ServiceNowRestClient::ServiceNowRestClient rest
 The REST client object for API calls.
 

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< stringgetChildProviderNamesImpl ()
 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, stringscmap
 Superclass map; child -> parent.
 

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