@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
487 lines • 13.3 kB
JSON
{
"id": "Auth.communitiesutil",
"nodeType": "class",
"name": "CommunitiesUtil",
"namespace": "Auth",
"startToken": {
"type": "declaration.entity.name.class",
"text": "CommunitiesUtil",
"textToLower": "communitiesutil",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_CommunitiesUtil_-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": "Contains methods for getting information about a community user.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Auth_CommunitiesUtil.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"getlogouturl()": {
"id": "Auth.communitiesutil.method.getlogouturl()",
"nodeType": "method",
"name": "getLogoutUrl",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getLogoutUrl",
"textToLower": "getlogouturl",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getLogoutUrl_-1:0"
},
"parentId": "Auth.communitiesutil",
"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"
},
"static": {
"type": "keyword.modifier.static",
"text": "static",
"textToLower": "static",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_static_0:7"
},
"signature": "public static String getLogoutUrl()",
"overrideSignature": "public static override String getLogoutUrl()",
"simplifiedSignature": "getLogoutUrl()",
"datatype": {
"id": "Auth.communitiesutil.getlogouturl.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 20
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:14"
},
"parentId": "Auth.communitiesutil.getlogouturl",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Returns the page to display after the current community user logs out.",
"parentName": "CommunitiesUtil",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getuserdisplayname()": {
"id": "Auth.communitiesutil.method.getuserdisplayname()",
"nodeType": "method",
"name": "getUserDisplayName",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getUserDisplayName",
"textToLower": "getuserdisplayname",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getUserDisplayName_-1:0"
},
"parentId": "Auth.communitiesutil",
"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"
},
"static": {
"type": "keyword.modifier.static",
"text": "static",
"textToLower": "static",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_static_0:7"
},
"signature": "public static String getUserDisplayName()",
"overrideSignature": "public static override String getUserDisplayName()",
"simplifiedSignature": "getUserDisplayName()",
"datatype": {
"id": "Auth.communitiesutil.getuserdisplayname.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 20
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:14"
},
"parentId": "Auth.communitiesutil.getuserdisplayname",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "Returns the current user’s community display name.",
"parentName": "CommunitiesUtil",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"isguestuser()": {
"id": "Auth.communitiesutil.method.isguestuser()",
"nodeType": "method",
"name": "isGuestUser",
"startToken": {
"type": "declaration.entity.name.function",
"text": "isGuestUser",
"textToLower": "isguestuser",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_isGuestUser_-1:0"
},
"parentId": "Auth.communitiesutil",
"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"
},
"static": {
"type": "keyword.modifier.static",
"text": "static",
"textToLower": "static",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_static_0:7"
},
"signature": "public static Boolean isGuestUser()",
"overrideSignature": "public static override Boolean isGuestUser()",
"simplifiedSignature": "isGuestUser()",
"datatype": {
"id": "Auth.communitiesutil.isguestuser.datatype.Boolean",
"nodeType": "datatype",
"name": "Boolean",
"startToken": {
"type": "datatype.primitive",
"text": "Boolean",
"textToLower": "boolean",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 21
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Boolean_0:14"
},
"parentId": "Auth.communitiesutil.isguestuser",
"order": 0,
"memberOrder": 0,
"type": "Boolean"
},
"description": "Indicates whether the current user isn’t logged in to the community and may need to be redirected to log in, if required.",
"parentName": "CommunitiesUtil",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"isinternaluser()": {
"id": "Auth.communitiesutil.method.isinternaluser()",
"nodeType": "method",
"name": "isInternalUser",
"startToken": {
"type": "declaration.entity.name.function",
"text": "isInternalUser",
"textToLower": "isinternaluser",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_isInternalUser_-1:0"
},
"parentId": "Auth.communitiesutil",
"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"
},
"static": {
"type": "keyword.modifier.static",
"text": "static",
"textToLower": "static",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 7
},
"end": {
"line": 0,
"character": 13
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_static_0:7"
},
"signature": "public static Boolean isInternalUser()",
"overrideSignature": "public static override Boolean isInternalUser()",
"simplifiedSignature": "isInternalUser()",
"datatype": {
"id": "Auth.communitiesutil.isinternaluser.datatype.Boolean",
"nodeType": "datatype",
"name": "Boolean",
"startToken": {
"type": "datatype.primitive",
"text": "Boolean",
"textToLower": "boolean",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 21
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_Boolean_0:14"
},
"parentId": "Auth.communitiesutil.isinternaluser",
"order": 0,
"memberOrder": 0,
"type": "Boolean"
},
"description": "Indicates whether the current user is logged in as a member of the parent Salesforce organization, such as an employee.",
"parentName": "CommunitiesUtil",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 4,
"queries": []
}