Qore ServiceNowRestDataProvider Module Reference  1.2
ServiceNowRestDataProvider::ServiceNowTablesDataProvider Class Reference

The ServiceNowTablesDataProvider data provider class. More...

Inherits DataProvider::AbstractDataProvider.

Public Member Functions

 constructor (ServiceNowRestClient rest)
 Creates the object from the arguments.
 
__7_ list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo ()
 Return data provider summary info.
 
string getDesc ()
 Returns the data provider description.
 
string getName ()
 Returns the data provider name.
 

Static Public Member Functions

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.
 

Protected Member Functions

__7_ hash< auto > getAccess (string name)
 Returns access info for one table.
 
__7_ hash< auto > getAccessIdIntern (string sys_id, reference< string > name)
 Returns access info for one table; must be called with the lock held.
 
__7_ hash< auto > getAllAccess ()
 Returns access info for all tables.
 
__7_ DataProvider::AbstractDataProvider getChildProviderImpl (string name)
 Returns the given child provider or NOTHING if the given child is unknown. More...
 
__7_ list< stringgetChildProviderNamesImpl ()
 Returns a list of child data provider names, if any. More...
 
__7_ hash< auto > getMetadata (string name)
 Returns metadata for the given table.
 
__7_ hash< auto > getMetadataIntern (string name)
 Returns metadata for the given table; must have the lock held.
 
hash< DataProvider::DataProviderInfo > getStaticInfoImpl ()
 Returns data provider static info.
 
Qore::Thread::Mutex lck ()
 Metadata mutex.
 

Protected Attributes

__7_ hash< auto > access
 Table access keyed by table name.
 
__7_ hash< auto > accessid
 Table access keyed by table ID.
 
bool all_access
 Flag if all access info has been queried.
 
__7_ 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()

__7_ DataProvider::AbstractDataProvider ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getChildProviderImpl ( string  name)
protected

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()

__7_ list<string> ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getChildProviderNamesImpl ( )
protected

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

Returns
a list of child data provider names, if any