@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
577 lines • 16.3 kB
JSON
{
"id": "Approval.processresult",
"nodeType": "class",
"name": "ProcessResult",
"namespace": "Approval",
"startToken": {
"type": "declaration.entity.name.class",
"text": "ProcessResult",
"textToLower": "processresult",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_ProcessResult_-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": "After you submit a record for approval, use the ProcessResult class to process the results of an approval process.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_ProcessResult.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"getentityid()": {
"id": "Approval.processresult.method.getentityid()",
"nodeType": "method",
"name": "getEntityId",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getEntityId",
"textToLower": "getentityid",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getEntityId_-1:0"
},
"parentId": "Approval.processresult",
"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 String getEntityId()",
"overrideSignature": "public override String getEntityId()",
"simplifiedSignature": "getEntityId()",
"datatype": {
"id": "Approval.processresult.getentityid.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": "Approval.processresult.getentityid",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "The ID of the record being processed.",
"parentName": "ProcessResult",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"geterrors()": {
"id": "Approval.processresult.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": "Approval.processresult",
"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 Database.Error[] getErrors()",
"overrideSignature": "public override Database.Error[] getErrors()",
"simplifiedSignature": "getErrors()",
"datatype": {
"id": "Approval.processresult.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": "Approval.processresult.geterrors",
"order": 0,
"memberOrder": 0,
"type": "Database.Error[]"
},
"description": "If an error occurred, returns an array of one or more database error objects including the error code and description.",
"parentName": "ProcessResult",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getinstanceid()": {
"id": "Approval.processresult.method.getinstanceid()",
"nodeType": "method",
"name": "getInstanceId",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getInstanceId",
"textToLower": "getinstanceid",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getInstanceId_-1:0"
},
"parentId": "Approval.processresult",
"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 getInstanceId()",
"overrideSignature": "public override String getInstanceId()",
"simplifiedSignature": "getInstanceId()",
"datatype": {
"id": "Approval.processresult.getinstanceid.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": "Approval.processresult.getinstanceid",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "The ID of the approval process that has been submitted for approval.",
"parentName": "ProcessResult",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getinstancestatus()": {
"id": "Approval.processresult.method.getinstancestatus()",
"nodeType": "method",
"name": "getInstanceStatus",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getInstanceStatus",
"textToLower": "getinstancestatus",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getInstanceStatus_-1:0"
},
"parentId": "Approval.processresult",
"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 String getInstanceStatus()",
"overrideSignature": "public override String getInstanceStatus()",
"simplifiedSignature": "getInstanceStatus()",
"datatype": {
"id": "Approval.processresult.getinstancestatus.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": "Approval.processresult.getinstancestatus",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "The status of the current approval process. Valid values are: Approved, Rejected, Removed or Pending.",
"parentName": "ProcessResult",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getnewworkitemids()": {
"id": "Approval.processresult.method.getnewworkitemids()",
"nodeType": "method",
"name": "getNewWorkitemIds",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getNewWorkitemIds",
"textToLower": "getnewworkitemids",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getNewWorkitemIds_-1:0"
},
"parentId": "Approval.processresult",
"order": 5,
"memberOrder": 5,
"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[] getNewWorkitemIds()",
"overrideSignature": "public override ID[] getNewWorkitemIds()",
"simplifiedSignature": "getNewWorkitemIds()",
"datatype": {
"id": "Approval.processresult.getnewworkitemids.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": "Approval.processresult.getnewworkitemids",
"order": 0,
"memberOrder": 0,
"type": "ID[]"
},
"description": "The IDs of the new items submitted to the approval process. There can be 0 or 1 approval processes.",
"parentName": "ProcessResult",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"issuccess()": {
"id": "Approval.processresult.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": "Approval.processresult",
"order": 6,
"memberOrder": 6,
"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": "Approval.processresult.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": "Approval.processresult.issuccess",
"order": 0,
"memberOrder": 0,
"type": "Boolean"
},
"description": "A Boolean value that is set to true if the approval process completed successfully; otherwise, it is set to false.",
"parentName": "ProcessResult",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 6,
"queries": []
}