@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
239 lines • 6.9 kB
JSON
{
"id": "TxnSecurity.policycondition",
"nodeType": "interface",
"name": "PolicyCondition",
"namespace": "TxnSecurity",
"startToken": {
"type": "declaration.entity.name.class",
"text": "PolicyCondition",
"textToLower": "policycondition",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_PolicyCondition_-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": "Apex interface that allows an implementing class to specify actions to take when certain events occur based on a transaction security policy.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_interface_TxnSecurity_PolicyCondition.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"evaluate(txnsecurity.event)": {
"id": "TxnSecurity.policycondition.method.evaluate(txnsecurity.event)",
"nodeType": "method",
"name": "evaluate",
"startToken": {
"type": "declaration.entity.name.function",
"text": "evaluate",
"textToLower": "evaluate",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_evaluate_-1:0"
},
"parentId": "TxnSecurity.policycondition",
"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 Boolean evaluate(TxnSecurity.Event event)",
"overrideSignature": "public override Boolean evaluate(TxnSecurity.Event event)",
"simplifiedSignature": "evaluate(TxnSecurity.Event)",
"datatype": {
"id": "TxnSecurity.policycondition.evaluate.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": "TxnSecurity.policycondition.evaluate",
"order": 0,
"memberOrder": 0,
"type": "Boolean"
},
"description": "Evaluates an event against a transaction security policy. If the event triggers the policy, true is returned.",
"parentName": "PolicyCondition",
"variables": {},
"params": {
"event": {
"id": "TxnSecurity.policycondition.method.evaluate(txnsecurity.event).varParam.event",
"nodeType": "variable",
"name": "event",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "event",
"textToLower": "event",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 42
},
"end": {
"line": 0,
"character": 47
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_event_0:42"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "event",
"textToLower": "event",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 42
},
"end": {
"line": 0,
"character": 47
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_event_0:42"
},
"parentId": "TxnSecurity.policycondition.method.evaluate(txnsecurity.event)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "TxnSecurity.policycondition.evaluate.datatype.TxnSecurity.Event",
"nodeType": "datatype",
"name": "TxnSecurity.Event",
"startToken": {
"type": "datatype.support.namespace",
"text": "TxnSecurity",
"textToLower": "txnsecurity",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 24
},
"end": {
"line": 0,
"character": 35
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_TxnSecurity_0:24"
},
"parentId": "TxnSecurity.policycondition.evaluate",
"order": 0,
"memberOrder": 0,
"type": "TxnSecurity.Event"
},
"description": "The event to check against the transaction security policy.",
"scope": null
}
},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 1,
"queries": []
}