@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
614 lines • 18.4 kB
JSON
{
"id": "ConnectApi.records",
"nodeType": "class",
"name": "Records",
"namespace": "ConnectApi",
"startToken": {
"type": "declaration.entity.name.class",
"text": "Records",
"textToLower": "records",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_Records_-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": "Access information about record motifs, which are small icons used to distinguish record types in the Salesforce UI.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_ConnectAPI_Records_static_methods.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"getmotif(string,string)": {
"id": "ConnectApi.records.method.getmotif(string,string)",
"nodeType": "method",
"name": "getMotif",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getMotif",
"textToLower": "getmotif",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getMotif_-1:0"
},
"parentId": "ConnectApi.records",
"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"
},
"static": {
"type": "keyword.modifier.static",
"text": "static",
"textToLower": "static",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_static_0:7"
},
"signature": "public static ConnectApi.Motif getMotif(String communityId, String idOrPrefix)",
"overrideSignature": "public static override ConnectApi.Motif getMotif(String communityId, String idOrPrefix)",
"simplifiedSignature": "getMotif(String,String)",
"datatype": {
"id": "ConnectApi.records.getmotif.datatype.ConnectApi.Motif",
"nodeType": "datatype",
"name": "ConnectApi.Motif",
"startToken": {
"type": "datatype.support.namespace",
"text": "ConnectApi",
"textToLower": "connectapi",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 24
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ConnectApi_0:14"
},
"parentId": "ConnectApi.records.getmotif",
"order": 0,
"memberOrder": 0,
"type": "ConnectApi.Motif"
},
"description": "Get a motif that contains the URLs for a set of small, medium, and large motif icons for a record. It can also contain a base color for the record.",
"parentName": "Records",
"variables": {},
"params": {
"communityid": {
"id": "ConnectApi.records.method.getmotif(string,string).varParam.communityid",
"nodeType": "variable",
"name": "communityId",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 47
},
"end": {
"line": 0,
"character": 58
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:47"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 47
},
"end": {
"line": 0,
"character": 58
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:47"
},
"parentId": "ConnectApi.records.method.getmotif(string,string)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "ConnectApi.records.getmotif.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 40
},
"end": {
"line": 0,
"character": 46
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:40"
},
"parentId": "ConnectApi.records.getmotif",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"idorprefix": {
"id": "ConnectApi.records.method.getmotif(string,string).varParam.idorprefix",
"nodeType": "variable",
"name": "idOrPrefix",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "idOrPrefix",
"textToLower": "idorprefix",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 67
},
"end": {
"line": 0,
"character": 77
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_idOrPrefix_0:67"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "idOrPrefix",
"textToLower": "idorprefix",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 67
},
"end": {
"line": 0,
"character": 77
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_idOrPrefix_0:67"
},
"parentId": "ConnectApi.records.method.getmotif(string,string)",
"order": 2,
"memberOrder": 2,
"datatype": {
"id": "ConnectApi.records.getmotif.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 60
},
"end": {
"line": 0,
"character": 66
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:60"
},
"parentId": "ConnectApi.records.getmotif",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Use either the ID for a community, internal, or null. An ID or key prefix.",
"scope": null
}
},
"queries": [],
"exceptions": []
},
"getmotifbatch(string,list<string>)": {
"id": "ConnectApi.records.method.getmotifbatch(string,list<string>)",
"nodeType": "method",
"name": "getMotifBatch",
"startToken": {
"type": "declaration.entity.name.function",
"text": "",
"textToLower": "",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function__-1:0"
},
"parentId": "ConnectApi.records",
"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"
},
"static": {
"type": "keyword.modifier.static",
"text": "static",
"textToLower": "static",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_static_0:7"
},
"signature": "public static ConnectApi.BatchResult[] getMotifBatch(String communityId, List<String> idOrPrefixList)",
"overrideSignature": "public static override ConnectApi.BatchResult[] getMotifBatch(String communityId, List<String> idOrPrefixList)",
"simplifiedSignature": "getMotifBatch(String,List<String>)",
"datatype": {
"id": "ConnectApi.records..datatype.ConnectApi.BatchResult[]",
"nodeType": "datatype",
"name": "ConnectApi.BatchResult[]",
"startToken": {
"type": "datatype.support.namespace",
"text": "ConnectApi",
"textToLower": "connectapi",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 24
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ConnectApi_0:14"
},
"parentId": "ConnectApi.records.",
"order": 0,
"memberOrder": 0,
"type": "ConnectApi.BatchResult[]"
},
"description": "Get a motif for a list of objects.",
"parentName": "Records",
"variables": {},
"params": {
"communityid": {
"id": "ConnectApi.records.method.getmotifbatch(string,list<string>).varParam.communityid",
"nodeType": "variable",
"name": "communityId",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 60
},
"end": {
"line": 0,
"character": 71
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:60"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 60
},
"end": {
"line": 0,
"character": 71
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:60"
},
"parentId": "ConnectApi.records.method.getmotifbatch(string,list<string>)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "ConnectApi.records..datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 53
},
"end": {
"line": 0,
"character": 59
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:53"
},
"parentId": "ConnectApi.records.",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"scope": null
},
"idorprefixlist": {
"id": "ConnectApi.records.method.getmotifbatch(string,list<string>).varParam.idorprefixlist",
"nodeType": "variable",
"name": "idOrPrefixList",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "idOrPrefixList",
"textToLower": "idorprefixlist",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 86
},
"end": {
"line": 0,
"character": 100
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_idOrPrefixList_0:86"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "idOrPrefixList",
"textToLower": "idorprefixlist",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 86
},
"end": {
"line": 0,
"character": 100
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_idOrPrefixList_0:86"
},
"parentId": "ConnectApi.records.method.getmotifbatch(string,list<string>)",
"order": 2,
"memberOrder": 2,
"datatype": {
"id": "ConnectApi.records..datatype.List<String>",
"nodeType": "datatype",
"name": "List<String>",
"startToken": {
"type": "datatype.collection",
"text": "List",
"textToLower": "list",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 73
},
"end": {
"line": 0,
"character": 77
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_List_0:73"
},
"parentId": "ConnectApi.records.",
"order": 0,
"memberOrder": 0,
"type": "List",
"value": {
"id": "ConnectApi.records..datatype.List<String>.value.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 78
},
"end": {
"line": 0,
"character": 84
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:78"
},
"order": 0,
"memberOrder": 0,
"type": "String"
}
},
"description": "Use either the ID for a community, internal, or null. A list of object IDs or prefixes.",
"scope": null
}
},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 2,
"queries": []
}