@aurahelper/languages
Version:
Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more
539 lines • 16 kB
JSON
{
"id": "ConnectApi.communities",
"nodeType": "class",
"name": "Communities",
"namespace": "ConnectApi",
"startToken": {
"type": "declaration.entity.name.class",
"text": "Communities",
"textToLower": "communities",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.class_Communities_-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": "Access general information about communities in your organization.",
"documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_ConnectAPI_Communities_static_methods.htm",
"classes": {},
"interfaces": {},
"enums": {},
"variables": {},
"methods": {
"getcommunities()": {
"id": "ConnectApi.communities.method.getcommunities()",
"nodeType": "method",
"name": "getCommunities",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getCommunities",
"textToLower": "getcommunities",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getCommunities_-1:0"
},
"parentId": "ConnectApi.communities",
"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 ConnectApi.CommunityPage getCommunities()",
"overrideSignature": "public static override ConnectApi.CommunityPage getCommunities()",
"simplifiedSignature": "getCommunities()",
"datatype": {
"id": "ConnectApi.communities.getcommunities.datatype.ConnectApi.CommunityPage",
"nodeType": "datatype",
"name": "ConnectApi.CommunityPage",
"startToken": {
"type": "datatype.support.namespace",
"text": "ConnectApi",
"textToLower": "connectapi",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 24
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ConnectApi_0:14"
},
"parentId": "ConnectApi.communities.getcommunities",
"order": 0,
"memberOrder": 0,
"type": "ConnectApi.CommunityPage"
},
"description": "Get a list of communities that the context user has access to.",
"parentName": "Communities",
"variables": {},
"params": {},
"queries": [],
"exceptions": []
},
"getcommunities(connectapi.communitystatus)": {
"id": "ConnectApi.communities.method.getcommunities(connectapi.communitystatus)",
"nodeType": "method",
"name": "getCommunities",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getCommunities",
"textToLower": "getcommunities",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getCommunities_-1:0"
},
"parentId": "ConnectApi.communities",
"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 ConnectApi.CommunityPage getCommunities(ConnectApi.CommunityStatus communityStatus)",
"overrideSignature": "public static override ConnectApi.CommunityPage getCommunities(ConnectApi.CommunityStatus communityStatus)",
"simplifiedSignature": "getCommunities(ConnectApi.CommunityStatus)",
"datatype": {
"id": "ConnectApi.communities.getcommunities.datatype.ConnectApi.CommunityPage",
"nodeType": "datatype",
"name": "ConnectApi.CommunityPage",
"startToken": {
"type": "datatype.support.namespace",
"text": "ConnectApi",
"textToLower": "connectapi",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 24
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ConnectApi_0:14"
},
"parentId": "ConnectApi.communities.getcommunities",
"order": 0,
"memberOrder": 0,
"type": "ConnectApi.CommunityPage"
},
"description": "Get a list of communities with the specified status that the context user has access to.",
"parentName": "Communities",
"variables": {},
"params": {
"communitystatus": {
"id": "ConnectApi.communities.method.getcommunities(connectapi.communitystatus).varParam.communitystatus",
"nodeType": "variable",
"name": "communityStatus",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "communityStatus",
"textToLower": "communitystatus",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 81
},
"end": {
"line": 0,
"character": 96
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityStatus_0:81"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "communityStatus",
"textToLower": "communitystatus",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 81
},
"end": {
"line": 0,
"character": 96
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityStatus_0:81"
},
"parentId": "ConnectApi.communities.method.getcommunities(connectapi.communitystatus)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "ConnectApi.communities.getcommunities.datatype.ConnectApi.CommunityStatus",
"nodeType": "datatype",
"name": "ConnectApi.CommunityStatus",
"startToken": {
"type": "datatype.support.namespace",
"text": "ConnectApi",
"textToLower": "connectapi",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 54
},
"end": {
"line": 0,
"character": 64
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ConnectApi_0:54"
},
"parentId": "ConnectApi.communities.getcommunities",
"order": 0,
"memberOrder": 0,
"type": "ConnectApi.CommunityStatus"
},
"description": "communityStatus—Status of the community. Values are: Live Inactive UnderConstruction",
"scope": null
}
},
"queries": [],
"exceptions": []
},
"getcommunity(string)": {
"id": "ConnectApi.communities.method.getcommunity(string)",
"nodeType": "method",
"name": "getCommunity",
"startToken": {
"type": "declaration.entity.name.function",
"text": "getCommunity",
"textToLower": "getcommunity",
"isAux": false,
"range": {
"start": {
"line": -1,
"character": 0
},
"end": {
"line": -1,
"character": 0
},
"isEmpty": true,
"isSingleLine": true
},
"id": "declaration.entity.name.function_getCommunity_-1:0"
},
"parentId": "ConnectApi.communities",
"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 ConnectApi.Community getCommunity(String communityId)",
"overrideSignature": "public static override ConnectApi.Community getCommunity(String communityId)",
"simplifiedSignature": "getCommunity(String)",
"datatype": {
"id": "ConnectApi.communities.getcommunity.datatype.ConnectApi.Community",
"nodeType": "datatype",
"name": "ConnectApi.Community",
"startToken": {
"type": "datatype.support.namespace",
"text": "ConnectApi",
"textToLower": "connectapi",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 14
},
"end": {
"line": 0,
"character": 24
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_ConnectApi_0:14"
},
"parentId": "ConnectApi.communities.getcommunity",
"order": 0,
"memberOrder": 0,
"type": "ConnectApi.Community"
},
"description": "Get information about a community.",
"parentName": "Communities",
"variables": {},
"params": {
"communityid": {
"id": "ConnectApi.communities.method.getcommunity(string).varParam.communityid",
"nodeType": "variable",
"name": "communityId",
"startToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 55
},
"end": {
"line": 0,
"character": 66
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:55"
},
"endToken": {
"type": "declaration.entity.name.variable",
"text": "communityId",
"textToLower": "communityid",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 55
},
"end": {
"line": 0,
"character": 66
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_communityId_0:55"
},
"parentId": "ConnectApi.communities.method.getcommunity(string)",
"order": 1,
"memberOrder": 1,
"datatype": {
"id": "ConnectApi.communities.getcommunity.datatype.String",
"nodeType": "datatype",
"name": "String",
"startToken": {
"type": "datatype.primitive",
"text": "String",
"textToLower": "string",
"isAux": false,
"range": {
"start": {
"line": 0,
"character": 48
},
"end": {
"line": 0,
"character": 54
},
"isEmpty": false,
"isSingleLine": true
},
"id": "token.type.identifier_String_0:48"
},
"parentId": "ConnectApi.communities.getcommunity",
"order": 0,
"memberOrder": 0,
"type": "String"
},
"description": "ID of a community. You can’t specify null or internal.",
"scope": null
}
},
"queries": [],
"exceptions": []
}
},
"constructors": {},
"extendsType": "",
"implementTypes": [],
"implements": {},
"totalMembers": 3,
"queries": []
}