UNPKG

@aurahelper/languages

Version:

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

238 lines 6.8 kB
{ "id": "TxnSecurity.eventcondition", "nodeType": "interface", "name": "EventCondition", "namespace": "TxnSecurity", "startToken": { "type": "declaration.entity.name.class", "text": "EventCondition", "textToLower": "eventcondition", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.class_EventCondition_-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": "Allows an implementing class to specify whether to take action when certain events occur based on a transaction security policy. This interface is only used for Apex policies created in Real-Time Event Monitoring.", "documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_interface_TxnSecurity_EventCondition.htm", "classes": {}, "interfaces": {}, "enums": {}, "variables": {}, "methods": { "evaluate(sobject)": { "id": "TxnSecurity.eventcondition.method.evaluate(sobject)", "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.eventcondition", "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(SObject event)", "overrideSignature": "public override Boolean evaluate(SObject event)", "simplifiedSignature": "evaluate(SObject)", "datatype": { "id": "TxnSecurity.eventcondition.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.eventcondition.evaluate", "order": 0, "memberOrder": 0, "type": "Boolean" }, "description": "Evaluates an event against a transaction security policy created in Real-Time Event Monitoring. If the event triggers the policy, the method returns true.", "parentName": "EventCondition", "variables": {}, "params": { "event": { "id": "TxnSecurity.eventcondition.method.evaluate(sobject).varParam.event", "nodeType": "variable", "name": "event", "startToken": { "type": "declaration.entity.name.variable", "text": "event", "textToLower": "event", "isAux": false, "range": { "start": { "line": 0, "character": 32 }, "end": { "line": 0, "character": 37 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_event_0:32" }, "endToken": { "type": "declaration.entity.name.variable", "text": "event", "textToLower": "event", "isAux": false, "range": { "start": { "line": 0, "character": 32 }, "end": { "line": 0, "character": 37 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_event_0:32" }, "parentId": "TxnSecurity.eventcondition.method.evaluate(sobject)", "order": 1, "memberOrder": 1, "datatype": { "id": "TxnSecurity.eventcondition.evaluate.datatype.SObject", "nodeType": "datatype", "name": "SObject", "startToken": { "type": "datatype.custom.class", "text": "SObject", "textToLower": "sobject", "isAux": false, "range": { "start": { "line": 0, "character": 24 }, "end": { "line": 0, "character": 31 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_SObject_0:24" }, "parentId": "TxnSecurity.eventcondition.evaluate", "order": 0, "memberOrder": 0, "type": "SObject" }, "scope": null } }, "queries": [], "exceptions": [] } }, "constructors": {}, "extendsType": "", "implementTypes": [], "implements": {}, "totalMembers": 1, "queries": [] }