Loading...
Searching...
No Matches
ServiceNowTablesDataProvider.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace ServiceNowRestDataProvider {
class ServiceNowTablesDataProvider : public ServiceNowRestDataProviderBase {
public:
protected:
bool all_access;
*hash<auto> access;
*hash<auto> accessid;
*hash<auto> meta;
hash<string, string> scmap;
Qore::Thread::Mutex lck();
public:
constructor(ServiceNowRestClient rest) ;
string getName();
string getDesc();
protected:
hash<DataProvider::DataProviderInfo> getStaticInfoImpl();
public:
protected:
*list<string> getChildProviderNamesImpl();
public:
protected:
*DataProvider::AbstractDataProvider getChildProviderImpl(string name);
public:
*list<hash<DataProviderSummaryInfo>> getChildProviderSummaryInfo();
protected:
*hash<auto> getAllAccess();
public:
protected:
*hash<auto> getAccess(string name);
public:
protected:
*hash<auto> getAccessIdIntern(string sys_id, reference<string> name);
public:
protected:
*hash<auto> getMetadata(string name);
public:
protected:
*hash<auto> getMetadataIntern(string name);
public:
static hash<string, bool> parseBools(hash<auto> h);
};
};
Qore::Thread::Mutex
ServiceNowRestDataProvider::ServiceNowRestDataProviderBase
The ServiceNowRest data provider class.
Definition: ServiceNowRestDataProviderBase.qc.dox.h:28
ServiceNowRestDataProvider::ServiceNowRestDataProviderBase::rest
ServiceNowRestClient::ServiceNowRestClient rest
The REST client object for API calls.
Definition: ServiceNowRestDataProviderBase.qc.dox.h:33
ServiceNowRestDataProvider::ServiceNowTablesDataProvider
The ServiceNowTablesDataProvider data provider class.
Definition: ServiceNowTablesDataProvider.qc.dox.h:28
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getStaticInfoImpl
hash< DataProvider::DataProviderInfo > getStaticInfoImpl()
Returns data provider static info.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getChildProviderSummaryInfo
*list< hash< DataProviderSummaryInfo > > getChildProviderSummaryInfo()
Return data provider summary info.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::all_access
bool all_access
Flag if all access info has been queried.
Definition: ServiceNowTablesDataProvider.qc.dox.h:33
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getAllAccess
*hash< auto > getAllAccess()
Returns access info for all tables.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::lck
Qore::Thread::Mutex lck()
Metadata mutex.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getMetadataIntern
*hash< auto > getMetadataIntern(string name)
Returns metadata for the given table; must have the lock held.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::meta
*hash< auto > meta
Metadata keyed by table name.
Definition: ServiceNowTablesDataProvider.qc.dox.h:42
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::scmap
hash< string, string > scmap
Superclass map; child -> parent.
Definition: ServiceNowTablesDataProvider.qc.dox.h:45
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getChildProviderNamesImpl
*list< string > getChildProviderNamesImpl()
Returns a list of child data provider names, if any.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getDesc
string getDesc()
Returns the data provider description.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getName
string getName()
Returns the data provider name.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getChildProviderImpl
*DataProvider::AbstractDataProvider getChildProviderImpl(string name)
Returns the given child provider or NOTHING if the given child is unknown.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::parseBools
static hash< string, bool > parseBools(hash< auto > h)
Returns a hash with all values parsed to boolean values.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::constructor
constructor(ServiceNowRestClient rest)
Creates the object from the arguments.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getMetadata
*hash< auto > getMetadata(string name)
Returns metadata for the given table.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getAccessIdIntern
*hash< auto > getAccessIdIntern(string sys_id, reference< string > name)
Returns access info for one table; must be called with the lock held.
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::accessid
*hash< auto > accessid
Table access keyed by table ID.
Definition: ServiceNowTablesDataProvider.qc.dox.h:39
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::access
*hash< auto > access
Table access keyed by table name.
Definition: ServiceNowTablesDataProvider.qc.dox.h:36
ServiceNowRestDataProvider::ServiceNowTablesDataProvider::getAccess
*hash< auto > getAccess(string name)
Returns access info for one table.
ServiceNowRestDataProvider
Qore ServiceNowRestDataProvider module definition.
Definition: ServiceNowRestDataProvider.qc.dox.h:26