@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
459 lines • 14.3 kB
JSON
{
"id": "Datasource.provider",
"nodeType": "class",
"name": "Provider",
"namespace": "Datasource",
"startToken": {
"type": "declaration.entity.name.class",
"text": "Provider",
"textToLower": "provider",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_Provider_-1:0"
},
"order": 0,
"memberOrder": 0,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "global",
"textToLower": "global",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "keyword.modifier.access_global_-1:0"
},
"sharingModifier": {
"type": "keyword.modifier.sharing",
"text": "without sharing",
"textToLower": "without sharing",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "keyword.modifier.sharing_without sharing_-1:0"
},
"description": "Extend this base class to create a custom adapter for Salesforce Connect. The class informs Salesforce of the functional and authentication capabilities that are supported by or required to connect to the external system. This class extends the DataSourceUtil class and inherits its methods.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_DataSource_Provider.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"getauthenticationcapabilities()": {
"id": "Datasource.provider.method.getauthenticationcapabilities()",
"nodeType": "method",
"name": "getAuthenticationCapabilities",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getAuthenticationCapabilities",
"textToLower": "getauthenticationcapabilities",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getAuthenticationCapabilities_-1:0"
},
"parentId": "Datasource.provider",
"order": 1,
"memberOrder": 1,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "public",
"textToLower": "public",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 6
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_public_0:0"
},
"signature": "public List<DataSource.AuthenticationCapability> getAuthenticationCapabilities()",
"overrideSignature": "public override List<DataSource.AuthenticationCapability> getAuthenticationCapabilities()",
"simplifiedSignature": "getAuthenticationCapabilities()",
"datatype": {
"id": "Datasource.provider.getauthenticationcapabilities.datatype.List<DataSource.AuthenticationCapability>",
"nodeType": "datatype",
"name": "List<DataSource.AuthenticationCapability>",
"startToken": {
"type": "datatype.collection",
"text": "List",
"textToLower": "list",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 11
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_List_0:7"
},
"parentId": "Datasource.provider.getauthenticationcapabilities",
"order": 0,
"memberOrder": 0,
"type": "List",
"value": {
"id": "Datasource.provider.getauthenticationcapabilities.datatype.List<DataSource.AuthenticationCapability>.value.DataSource.AuthenticationCapability",
"nodeType": "datatype",
"name": "DataSource.AuthenticationCapability",
"startToken": {
"type": "datatype.support.namespace",
"text": "DataSource",
"textToLower": "datasource",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 12
},
"end": {
"line": 0,
"character": 22
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_DataSource_0:12"
},
"order": 0,
"memberOrder": 0,
"type": "DataSource.AuthenticationCapability"
}
},
"description": "Returns the types of authentication that can be used to access the external system.",
"parentName": "Provider",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getcapabilities()": {
"id": "Datasource.provider.method.getcapabilities()",
"nodeType": "method",
"name": "getCapabilities",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getCapabilities",
"textToLower": "getcapabilities",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getCapabilities_-1:0"
},
"parentId": "Datasource.provider",
"order": 2,
"memberOrder": 2,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "public",
"textToLower": "public",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 6
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_public_0:0"
},
"signature": "public List<DataSource.Capability> getCapabilities()",
"overrideSignature": "public override List<DataSource.Capability> getCapabilities()",
"simplifiedSignature": "getCapabilities()",
"datatype": {
"id": "Datasource.provider.getcapabilities.datatype.List<DataSource.Capability>",
"nodeType": "datatype",
"name": "List<DataSource.Capability>",
"startToken": {
"type": "datatype.collection",
"text": "List",
"textToLower": "list",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 11
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_List_0:7"
},
"parentId": "Datasource.provider.getcapabilities",
"order": 0,
"memberOrder": 0,
"type": "List",
"value": {
"id": "Datasource.provider.getcapabilities.datatype.List<DataSource.Capability>.value.DataSource.Capability",
"nodeType": "datatype",
"name": "DataSource.Capability",
"startToken": {
"type": "datatype.support.namespace",
"text": "DataSource",
"textToLower": "datasource",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 12
},
"end": {
"line": 0,
"character": 22
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_DataSource_0:12"
},
"order": 0,
"memberOrder": 0,
"type": "DataSource.Capability"
}
},
"description": "Returns the functional operations that the external system supports and the required endpoint settings for the external data source definition in Salesforce.",
"parentName": "Provider",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getconnection(datasource.connectionparams)": {
"id": "Datasource.provider.method.getconnection(datasource.connectionparams)",
"nodeType": "method",
"name": "getConnection",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getConnection",
"textToLower": "getconnection",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getConnection_-1:0"
},
"parentId": "Datasource.provider",
"order": 3,
"memberOrder": 3,
"accessModifier": {
"type": "keyword.modifier.access",
"text": "public",
"textToLower": "public",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 6
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_public_0:0"
},
"signature": "public DataSource.Connection getConnection(DataSource.ConnectionParams connectionParams)",
"overrideSignature": "public override DataSource.Connection getConnection(DataSource.ConnectionParams connectionParams)",
"simplifiedSignature": "getConnection(DataSource.ConnectionParams)",
"datatype": {
"id": "Datasource.provider.getconnection.datatype.DataSource.Connection",
"nodeType": "datatype",
"name": "DataSource.Connection",
"startToken": {
"type": "datatype.support.namespace",
"text": "DataSource",
"textToLower": "datasource",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 17
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_DataSource_0:7"
},
"parentId": "Datasource.provider.getconnection",
"order": 0,
"memberOrder": 0,
"type": "DataSource.Connection"
},
"description": "Returns a connection that points to an instance of the external data source.",
"parentName": "Provider",
"variables": {},
"params": {
"connectionparams": {
"id": "Datasource.provider.method.getconnection(datasource.connectionparams).varParam.connectionparams",
"nodeType": "variable",
"name": "connectionParams",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "connectionParams",
"textToLower": "connectionparams",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 71
},
"end": {
"line": 0,
"character": 87
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_connectionParams_0:71"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "connectionParams",
"textToLower": "connectionparams",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 71
},
"end": {
"line": 0,
"character": 87
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_connectionParams_0:71"
},
"parentId": "Datasource.provider.method.getconnection(datasource.connectionparams)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "Datasource.provider.getconnection.datatype.DataSource.ConnectionParams",
"nodeType": "datatype",
"name": "DataSource.ConnectionParams",
"startToken": {
"type": "datatype.support.namespace",
"text": "DataSource",
"textToLower": "datasource",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 43
},
"end": {
"line": 0,
"character": 53
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_DataSource_0:43"
},
"parentId": "Datasource.provider.getconnection",
"order": 0,
"memberOrder": 0,
"type": "DataSource.ConnectionParams"
},
"description": "Credentials for authenticating to the external system.",
"scope": null
}
},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 3,
"queries": []
}