CoreDiscovery
Core Discovery interface Class to allow applications to search for hyperties and DataObjects using the message bus
Constructor Summary
Public Constructor | ||
public |
constructor(msgbus: MessageBus, runtimeURL: RuntimeURL, graphConnector: graphConnector) To initialise the Discovery, which will provide the support for hyperties to query users registered in outside the internal core. |
Member Summary
Public Members | ||
public get |
messageBus: * Returns the MessageBus. |
|
public set |
messageBus(messageBus: MessageBus): * Sets the MessageBus. |
Method Summary
Public Methods | ||
public |
discoverDataObjectPerURL(url: String, domain: String): Promise function to request about dataObject registered in domain registry, and return the dataObject information, if found. |
|
public |
discoverDataObjects(user: String, dataSchemes: Array<string>, resources: Array<string>, domain: String): * Advanced Search for DataObjects registered in domain registry and associated with some user ID |
|
public |
Advanced Search for DataObjects registered in domain registry associated with some GUID |
|
public |
discoverDataObjectsPerName(name: String, dataSchemes: Array<string>, resources: Array<string>, domain: String): * Advanced Search for dataObjects registered in domain registry |
|
public |
discoverDataObjectsPerReporter(reporter: String, scdataSchemeshema: Array<string>, resources: Array<string>, domain: String): * function to request about specific reporter dataObject registered in domain registry, and return the dataObjects from that reporter. |
|
public |
discoverDataObjectsPerUserProfileData(userIdentifier: String, dataSchemes: Array<string>, resources: Array<string>): * Advanced Search for DataObjects registered in domain registry associated with some user identifier (eg email, name ...) |
|
public |
discoverGUIDPerUserIdentifier(userIdentifier: String): Promise function to request discovery service about the GUID associated with some user identifier (eg email, name ...) |
|
public |
discoverHyperties(user: String, dataSchemes: Array<string>, resources: Array<string>, domain: String): * Advanced Search for Hyperties registered in domain registry and associated with some user ID |
|
public |
Advanced Search for Hyperties registered in domain registry associated with some GUID |
|
public |
discoverHypertiesPerUserProfileData(userIdentifier: String, dataSchemes: Array<string>, resources: Array<string>): * Advanced Search for Hyperties registered in domain registry associated with some user identifier (eg email, name ...) |
|
public |
discoverHypertyPerURL(url: String, domain: String): Promise function to request about hyperties registered in domain registry, and return the hyperty information, if found. |
|
public |
discoverUserIdsPerGUID(guid: String): Promise function to request global registry about the user IDs associated with some GUID |
|
public |
discoveryManager(msg: *): * |
Public Constructors
public constructor(msgbus: MessageBus, runtimeURL: RuntimeURL, graphConnector: graphConnector) source
To initialise the Discovery, which will provide the support for hyperties to query users registered in outside the internal core.
Params:
Name | Type | Attribute | Description |
msgbus | MessageBus | msgbus |
|
runtimeURL | RuntimeURL | runtimeURL |
|
graphConnector | graphConnector |
Public Members
Public Methods
public discoverDataObjectPerURL(url: String, domain: String): Promise source
function to request about dataObject registered in domain registry, and return the dataObject information, if found.
public discoverDataObjects(user: String, dataSchemes: Array<string>, resources: Array<string>, domain: String): * source
Advanced Search for DataObjects registered in domain registry and associated with some user ID
Return:
* |
public discoverDataObjectsPerGUID(guid: String, dataSchemes: Array<string>, resources: Array<string>): * source
Advanced Search for DataObjects registered in domain registry associated with some GUID
Return:
* |
public discoverDataObjectsPerName(name: String, dataSchemes: Array<string>, resources: Array<string>, domain: String): * source
Advanced Search for dataObjects registered in domain registry
Return:
* |
public discoverDataObjectsPerReporter(reporter: String, scdataSchemeshema: Array<string>, resources: Array<string>, domain: String): * source
function to request about specific reporter dataObject registered in domain registry, and return the dataObjects from that reporter.
Return:
* |
public discoverDataObjectsPerUserProfileData(userIdentifier: String, dataSchemes: Array<string>, resources: Array<string>): * source
Advanced Search for DataObjects registered in domain registry associated with some user identifier (eg email, name ...)
Return:
* |
public discoverGUIDPerUserIdentifier(userIdentifier: String): Promise source
function to request discovery service about the GUID associated with some user identifier (eg email, name ...)
Params:
Name | Type | Attribute | Description |
userIdentifier | String |
public discoverHyperties(user: String, dataSchemes: Array<string>, resources: Array<string>, domain: String): * source
Advanced Search for Hyperties registered in domain registry and associated with some user ID
Return:
* |
public discoverHypertiesPerGUID(guid: String, dataSchemes: Array<string>, resources: Array<string>): * source
Advanced Search for Hyperties registered in domain registry associated with some GUID
Return:
* |
public discoverHypertiesPerUserProfileData(userIdentifier: String, dataSchemes: Array<string>, resources: Array<string>): * source
Advanced Search for Hyperties registered in domain registry associated with some user identifier (eg email, name ...)
Return:
* |
public discoverHypertyPerURL(url: String, domain: String): Promise source
function to request about hyperties registered in domain registry, and return the hyperty information, if found.