@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
640 lines • 18.8 kB
JSON
{
"id": "Schema.sobjecttype",
"nodeType": "class",
"name": "SObjectType",
"namespace": "Schema",
"startToken": {
"type": "declaration.entity.name.class",
"text": "SObjectType",
"textToLower": "sobjecttype",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_SObjectType_-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": "A Schema.sObjectType object is returned from the field describe result using the getReferenceTo method, or from the sObject describe result using the getSObjectType method.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Schema_SObjectType.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"getdescribe()": {
"id": "Schema.sobjecttype.method.getdescribe()",
"nodeType": "method",
"name": "getDescribe",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getDescribe",
"textToLower": "getdescribe",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getDescribe_-1:0"
},
"parentId": "Schema.sobjecttype",
"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 Schema.DescribeSObjectResult getDescribe()",
"overrideSignature": "public override Schema.DescribeSObjectResult getDescribe()",
"simplifiedSignature": "getDescribe()",
"datatype": {
"id": "Schema.sobjecttype.getdescribe.datatype.Schema.DescribeSObjectResult",
"nodeType": "datatype",
"name": "Schema.DescribeSObjectResult",
"startToken": {
"type": "datatype.support.namespace",
"text": "Schema",
"textToLower": "schema",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Schema_0:7"
},
"parentId": "Schema.sobjecttype.getdescribe",
"order": 0,
"memberOrder": 0,
"type": "Schema.DescribeSObjectResult"
},
"description": "Returns the describe sObject result for this field.",
"parentName": "SObjectType",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"newsobject()": {
"id": "Schema.sobjecttype.method.newsobject()",
"nodeType": "method",
"name": "newSObject",
"startToken": {
"type": "declaration.entity.name.function",
"text": "newSObject",
"textToLower": "newsobject",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_newSObject_-1:0"
},
"parentId": "Schema.sobjecttype",
"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 sObject newSObject()",
"overrideSignature": "public override sObject newSObject()",
"simplifiedSignature": "newSObject()",
"datatype": {
"id": "Schema.sobjecttype.newsobject.datatype.sObject",
"nodeType": "datatype",
"name": "sObject",
"startToken": {
"type": "datatype.custom.class",
"text": "sObject",
"textToLower": "sobject",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 14
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_sObject_0:7"
},
"parentId": "Schema.sobjecttype.newsobject",
"order": 0,
"memberOrder": 0,
"type": "sObject"
},
"description": "Constructs a new sObject of this type.",
"parentName": "SObjectType",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"newsobject(id)": {
"id": "Schema.sobjecttype.method.newsobject(id)",
"nodeType": "method",
"name": "newSObject",
"startToken": {
"type": "declaration.entity.name.function",
"text": "newSObject",
"textToLower": "newsobject",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_newSObject_-1:0"
},
"parentId": "Schema.sobjecttype",
"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 sObject newSObject(ID id)",
"overrideSignature": "public override sObject newSObject(ID id)",
"simplifiedSignature": "newSObject(ID)",
"datatype": {
"id": "Schema.sobjecttype.newsobject.datatype.sObject",
"nodeType": "datatype",
"name": "sObject",
"startToken": {
"type": "datatype.custom.class",
"text": "sObject",
"textToLower": "sobject",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 14
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_sObject_0:7"
},
"parentId": "Schema.sobjecttype.newsobject",
"order": 0,
"memberOrder": 0,
"type": "sObject"
},
"description": "Constructs a new sObject of this type, with the specified ID.",
"parentName": "SObjectType",
"variables": {},
"params": {
"id": {
"id": "Schema.sobjecttype.method.newsobject(id).varParam.id",
"nodeType": "variable",
"name": "id",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "id",
"textToLower": "id",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 29
},
"end": {
"line": 0,
"character": 31
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_id_0:29"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "id",
"textToLower": "id",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 29
},
"end": {
"line": 0,
"character": 31
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_id_0:29"
},
"parentId": "Schema.sobjecttype.method.newsobject(id)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "Schema.sobjecttype.newsobject.datatype.ID",
"nodeType": "datatype",
"name": "ID",
"startToken": {
"type": "datatype.primitive",
"text": "ID",
"textToLower": "id",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 26
},
"end": {
"line": 0,
"character": 28
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ID_0:26"
},
"parentId": "Schema.sobjecttype.newsobject",
"order": 0,
"memberOrder": 0,
"type": "ID"
},
"description": "",
"scope": null
}
},
"queries": [],
"exceptions": []
},
"newsobject(id,boolean)": {
"id": "Schema.sobjecttype.method.newsobject(id,boolean)",
"nodeType": "method",
"name": "newSObject",
"startToken": {
"type": "declaration.entity.name.function",
"text": "newSObject",
"textToLower": "newsobject",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_newSObject_-1:0"
},
"parentId": "Schema.sobjecttype",
"order": 4,
"memberOrder": 4,
"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 sObject newSObject(ID recordTypeId, Boolean loadDefaults)",
"overrideSignature": "public override sObject newSObject(ID recordTypeId, Boolean loadDefaults)",
"simplifiedSignature": "newSObject(ID,Boolean)",
"datatype": {
"id": "Schema.sobjecttype.newsobject.datatype.sObject",
"nodeType": "datatype",
"name": "sObject",
"startToken": {
"type": "datatype.custom.class",
"text": "sObject",
"textToLower": "sobject",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 14
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_sObject_0:7"
},
"parentId": "Schema.sobjecttype.newsobject",
"order": 0,
"memberOrder": 0,
"type": "sObject"
},
"description": "Constructs a new sObject of this type, and optionally, of the specified record type ID and with default custom field values.",
"parentName": "SObjectType",
"variables": {},
"params": {
"recordtypeid": {
"id": "Schema.sobjecttype.method.newsobject(id,boolean).varParam.recordtypeid",
"nodeType": "variable",
"name": "recordTypeId",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "recordTypeId",
"textToLower": "recordtypeid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 29
},
"end": {
"line": 0,
"character": 41
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_recordTypeId_0:29"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "recordTypeId",
"textToLower": "recordtypeid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 29
},
"end": {
"line": 0,
"character": 41
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_recordTypeId_0:29"
},
"parentId": "Schema.sobjecttype.method.newsobject(id,boolean)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "Schema.sobjecttype.newsobject.datatype.ID",
"nodeType": "datatype",
"name": "ID",
"startToken": {
"type": "datatype.primitive",
"text": "ID",
"textToLower": "id",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 26
},
"end": {
"line": 0,
"character": 28
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ID_0:26"
},
"parentId": "Schema.sobjecttype.newsobject",
"order": 0,
"memberOrder": 0,
"type": "ID"
},
"scope": null
},
"loaddefaults": {
"id": "Schema.sobjecttype.method.newsobject(id,boolean).varParam.loaddefaults",
"nodeType": "variable",
"name": "loadDefaults",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "loadDefaults",
"textToLower": "loaddefaults",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 51
},
"end": {
"line": 0,
"character": 63
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_loadDefaults_0:51"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "loadDefaults",
"textToLower": "loaddefaults",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 51
},
"end": {
"line": 0,
"character": 63
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_loadDefaults_0:51"
},
"parentId": "Schema.sobjecttype.method.newsobject(id,boolean)",
"order": 2,
"memberOrder": 2,
"datatype": {
"id": "Schema.sobjecttype.newsobject.datatype.Boolean",
"nodeType": "datatype",
"name": "Boolean",
"startToken": {
"type": "datatype.primitive",
"text": "Boolean",
"textToLower": "boolean",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 43
},
"end": {
"line": 0,
"character": 50
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Boolean_0:43"
},
"parentId": "Schema.sobjecttype.newsobject",
"order": 0,
"memberOrder": 0,
"type": "Boolean"
},
"description": "Specifies the record type ID of the sObject to create. If no record type exists for this sObject, use null. If the sObject has record types and you specify null, the default record type is used. Specifies whether to populate custom fields with their predefined default values (true) or not (false).",
"scope": null
}
},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 4,
"queries": []
}