@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
438 lines • 12.4 kB
JSON
{
"id": "Database.duplicateerror",
"nodeType": "class",
"name": "DuplicateError",
"namespace": "Database",
"startToken": {
"type": "declaration.entity.name.class",
"text": "DuplicateError",
"textToLower": "duplicateerror",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_DuplicateError_-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": "Contains information about an error that occurred when an attempt was made to save a duplicate record. Use if your organization has set up duplicate rules, which are part of the Duplicate Management feature.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Database_DuplicateError.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"getduplicateresult()": {
"id": "Database.duplicateerror.method.getduplicateresult()",
"nodeType": "method",
"name": "getDuplicateResult",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getDuplicateResult",
"textToLower": "getduplicateresult",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getDuplicateResult_-1:0"
},
"parentId": "Database.duplicateerror",
"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 Datacloud.DuplicateResult getDuplicateResult()",
"overrideSignature": "public override Datacloud.DuplicateResult getDuplicateResult()",
"simplifiedSignature": "getDuplicateResult()",
"datatype": {
"id": "Database.duplicateerror.getduplicateresult.datatype.Datacloud.DuplicateResult",
"nodeType": "datatype",
"name": "Datacloud.DuplicateResult",
"startToken": {
"type": "datatype.support.namespace",
"text": "Datacloud",
"textToLower": "datacloud",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 16
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Datacloud_0:7"
},
"parentId": "Database.duplicateerror.getduplicateresult",
"order": 0,
"memberOrder": 0,
"type": "Datacloud.DuplicateResult"
},
"description": "Returns the details of a duplicate rule and duplicate records found by the duplicate rule.",
"parentName": "DuplicateError",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getfields()": {
"id": "Database.duplicateerror.method.getfields()",
"nodeType": "method",
"name": "getFields",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getFields",
"textToLower": "getfields",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getFields_-1:0"
},
"parentId": "Database.duplicateerror",
"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<String> getFields()",
"overrideSignature": "public override List<String> getFields()",
"simplifiedSignature": "getFields()",
"datatype": {
"id": "Database.duplicateerror.getfields.datatype.List<String>",
"nodeType": "datatype",
"name": "List<String>",
"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": "Database.duplicateerror.getfields",
"order": 0,
"memberOrder": 0,
"type": "List",
"value": {
"id": "Database.duplicateerror.getfields.datatype.List<String>.value.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 12
},
"end": {
"line": 0,
"character": 18
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:12"
},
"order": 0,
"memberOrder": 0,
"type": "String"
}
},
"description": "Returns an array of one or more field names. Identifies which fields in the object, if any, affected the error condition.",
"parentName": "DuplicateError",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getmessage()": {
"id": "Database.duplicateerror.method.getmessage()",
"nodeType": "method",
"name": "getMessage",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getMessage",
"textToLower": "getmessage",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getMessage_-1:0"
},
"parentId": "Database.duplicateerror",
"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 String getMessage()",
"overrideSignature": "public override String getMessage()",
"simplifiedSignature": "getMessage()",
"datatype": {
"id": "Database.duplicateerror.getmessage.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:7"
},
"parentId": "Database.duplicateerror.getmessage",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Returns the error message text.",
"parentName": "DuplicateError",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getstatuscode()": {
"id": "Database.duplicateerror.method.getstatuscode()",
"nodeType": "method",
"name": "getStatusCode",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getStatusCode",
"textToLower": "getstatuscode",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getStatusCode_-1:0"
},
"parentId": "Database.duplicateerror",
"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 StatusCode getStatusCode()",
"overrideSignature": "public override StatusCode getStatusCode()",
"simplifiedSignature": "getStatusCode()",
"datatype": {
"id": "Database.duplicateerror.getstatuscode.datatype.StatusCode",
"nodeType": "datatype",
"name": "StatusCode",
"startToken": {
"type": "datatype.custom.class",
"text": "StatusCode",
"textToLower": "statuscode",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 17
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_StatusCode_0:7"
},
"parentId": "Database.duplicateerror.getstatuscode",
"order": 0,
"memberOrder": 0,
"type": "StatusCode"
},
"description": "Returns a code that characterizes the error.",
"parentName": "DuplicateError",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 4,
"queries": []
}