UNPKG

@aurahelper/languages

Version:

Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more

328 lines 8.9 kB
{ "id": "Database.saveresult", "nodeType": "class", "name": "SaveResult", "namespace": "Database", "startToken": { "type": "declaration.entity.name.class", "text": "SaveResult", "textToLower": "saveresult", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.class_SaveResult_-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": "The result of an insert or update DML operation returned by a Database method.", "documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_database_saveresult.htm", "classes": {}, "interfaces": {}, "enums": {}, "variables": {}, "methods": { "geterrors()": { "id": "Database.saveresult.method.geterrors()", "nodeType": "method", "name": "getErrors", "startToken": { "type": "declaration.entity.name.function", "text": "getErrors", "textToLower": "geterrors", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_getErrors_-1:0" }, "parentId": "Database.saveresult", "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 Database.Error[] getErrors()", "overrideSignature": "public override Database.Error[] getErrors()", "simplifiedSignature": "getErrors()", "datatype": { "id": "Database.saveresult.geterrors.datatype.Database.Error[]", "nodeType": "datatype", "name": "Database.Error[]", "startToken": { "type": "datatype.support.namespace", "text": "Database", "textToLower": "database", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 15 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_Database_0:7" }, "parentId": "Database.saveresult.geterrors", "order": 0, "memberOrder": 0, "type": "Database.Error[]" }, "description": "If an error occurred, returns an array of one or more database error objects providing the error code and description. If no error occurred, returns an empty set.", "parentName": "SaveResult", "variables": {}, "params": {}, "queries": [], "exceptions": [] }, "getid()": { "id": "Database.saveresult.method.getid()", "nodeType": "method", "name": "getId", "startToken": { "type": "declaration.entity.name.function", "text": "getId", "textToLower": "getid", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_getId_-1:0" }, "parentId": "Database.saveresult", "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 ID getId()", "overrideSignature": "public override ID getId()", "simplifiedSignature": "getId()", "datatype": { "id": "Database.saveresult.getid.datatype.ID", "nodeType": "datatype", "name": "ID", "startToken": { "type": "datatype.primitive", "text": "ID", "textToLower": "id", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 9 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_ID_0:7" }, "parentId": "Database.saveresult.getid", "order": 0, "memberOrder": 0, "type": "ID" }, "description": "Returns the ID of the sObject you were trying to insert or update.", "parentName": "SaveResult", "variables": {}, "params": {}, "queries": [], "exceptions": [] }, "issuccess()": { "id": "Database.saveresult.method.issuccess()", "nodeType": "method", "name": "isSuccess", "startToken": { "type": "declaration.entity.name.function", "text": "isSuccess", "textToLower": "issuccess", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_isSuccess_-1:0" }, "parentId": "Database.saveresult", "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 Boolean isSuccess()", "overrideSignature": "public override Boolean isSuccess()", "simplifiedSignature": "isSuccess()", "datatype": { "id": "Database.saveresult.issuccess.datatype.Boolean", "nodeType": "datatype", "name": "Boolean", "startToken": { "type": "datatype.primitive", "text": "Boolean", "textToLower": "boolean", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 14 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_Boolean_0:7" }, "parentId": "Database.saveresult.issuccess", "order": 0, "memberOrder": 0, "type": "Boolean" }, "description": "Returns a Boolean that is set to true if the DML operation was successful for this object, false otherwise.", "parentName": "SaveResult", "variables": {}, "params": {}, "queries": [], "exceptions": [] } }, "constructors": {}, "extendsType": "", "implementTypes": [], "implements": {}, "totalMembers": 3, "queries": [] }