@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
565 lines • 16.5 kB
JSON
{
"id": "Approval.processrequest",
"nodeType": "class",
"name": "ProcessRequest",
"namespace": "Approval",
"startToken": {
"type": "declaration.entity.name.class",
"text": "ProcessRequest",
"textToLower": "processrequest",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_ProcessRequest_-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 ProcessRequest class is the parent class for the ProcessSubmitRequest and ProcessWorkitemRequest classes. Use the ProcessRequest class to write generic Apex that can process objects from either class.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_ProcessRequest.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"getcomments()": {
"id": "Approval.processrequest.method.getcomments()",
"nodeType": "method",
"name": "getComments",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getComments",
"textToLower": "getcomments",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getComments_-1:0"
},
"parentId": "Approval.processrequest",
"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 getComments()",
"overrideSignature": "public override String getComments()",
"simplifiedSignature": "getComments()",
"datatype": {
"id": "Approval.processrequest.getcomments.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.processrequest.getcomments",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Returns the comments that have been added previously to the approval request.",
"parentName": "ProcessRequest",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getnextapproverids()": {
"id": "Approval.processrequest.method.getnextapproverids()",
"nodeType": "method",
"name": "getNextApproverIds",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getNextApproverIds",
"textToLower": "getnextapproverids",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getNextApproverIds_-1:0"
},
"parentId": "Approval.processrequest",
"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[] getNextApproverIds()",
"overrideSignature": "public override ID[] getNextApproverIds()",
"simplifiedSignature": "getNextApproverIds()",
"datatype": {
"id": "Approval.processrequest.getnextapproverids.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.processrequest.getnextapproverids",
"order": 0,
"memberOrder": 0,
"type": "ID[]"
},
"description": "Returns the list of user IDs of user specified as approvers.",
"parentName": "ProcessRequest",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"setcomments(string)": {
"id": "Approval.processrequest.method.setcomments(string)",
"nodeType": "method",
"name": "setComments",
"startToken": {
"type": "declaration.entity.name.function",
"text": "setComments",
"textToLower": "setcomments",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_setComments_-1:0"
},
"parentId": "Approval.processrequest",
"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 Void setComments(String comments)",
"overrideSignature": "public override Void setComments(String comments)",
"simplifiedSignature": "setComments(String)",
"datatype": {
"id": "Approval.processrequest.setcomments.datatype.Void",
"nodeType": "datatype",
"name": "Void",
"startToken": {
"type": "datatype.primitive",
"text": "Void",
"textToLower": "void",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 11
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Void_0:7"
},
"parentId": "Approval.processrequest.setcomments",
"order": 0,
"memberOrder": 0,
"type": "Void"
},
"description": "Sets the comments to be added to the approval request.",
"parentName": "ProcessRequest",
"variables": {},
"params": {
"comments": {
"id": "Approval.processrequest.method.setcomments(string).varParam.comments",
"nodeType": "variable",
"name": "comments",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "comments",
"textToLower": "comments",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 31
},
"end": {
"line": 0,
"character": 39
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_comments_0:31"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "comments",
"textToLower": "comments",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 31
},
"end": {
"line": 0,
"character": 39
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_comments_0:31"
},
"parentId": "Approval.processrequest.method.setcomments(string)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "Approval.processrequest.setcomments.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 24
},
"end": {
"line": 0,
"character": 30
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:24"
},
"parentId": "Approval.processrequest.setcomments",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "",
"scope": null
}
},
"queries": [],
"exceptions": []
},
"setnextapproverids(id[])": {
"id": "Approval.processrequest.method.setnextapproverids(id[])",
"nodeType": "method",
"name": "setNextApproverIds",
"startToken": {
"type": "declaration.entity.name.function",
"text": "setNextApproverIds",
"textToLower": "setnextapproverids",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_setNextApproverIds_-1:0"
},
"parentId": "Approval.processrequest",
"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 Void setNextApproverIds(ID[] nextApproverIds)",
"overrideSignature": "public override Void setNextApproverIds(ID[] nextApproverIds)",
"simplifiedSignature": "setNextApproverIds(ID[])",
"datatype": {
"id": "Approval.processrequest.setnextapproverids.datatype.Void",
"nodeType": "datatype",
"name": "Void",
"startToken": {
"type": "datatype.primitive",
"text": "Void",
"textToLower": "void",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 11
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Void_0:7"
},
"parentId": "Approval.processrequest.setnextapproverids",
"order": 0,
"memberOrder": 0,
"type": "Void"
},
"description": "If the next step in your approval process is another Apex approval process, you specify exactly one user ID as the next approver. If not, you cannot specify a user ID and this method must be null.",
"parentName": "ProcessRequest",
"variables": {},
"params": {
"nextapproverids": {
"id": "Approval.processrequest.method.setnextapproverids(id[]).varParam.nextapproverids",
"nodeType": "variable",
"name": "nextApproverIds",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "nextApproverIds",
"textToLower": "nextapproverids",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 36
},
"end": {
"line": 0,
"character": 51
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_nextApproverIds_0:36"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "nextApproverIds",
"textToLower": "nextapproverids",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 36
},
"end": {
"line": 0,
"character": 51
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_nextApproverIds_0:36"
},
"parentId": "Approval.processrequest.method.setnextapproverids(id[])",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "Approval.processrequest.setnextapproverids.datatype.ID[]",
"nodeType": "datatype",
"name": "ID[]",
"startToken": {
"type": "datatype.primitive",
"text": "ID",
"textToLower": "id",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 31
},
"end": {
"line": 0,
"character": 33
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ID_0:31"
},
"parentId": "Approval.processrequest.setnextapproverids",
"order": 0,
"memberOrder": 0,
"type": "ID[]"
},
"description": "Must be a single-entry list.",
"scope": null
}
},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 4,
"queries": []
}