{
  "id": "Datasource.searchutils",
  "nodeType": "class",
  "name": "SearchUtils",
  "namespace": "Datasource",
  "startToken": {
    "type": "declaration.entity.name.class",
    "text": "SearchUtils",
    "textToLower": "searchutils",
    "isAux": false,
    "range": {
      "start": {
        "line": -1,
        "character": 0
      },
      "end": {
        "line": -1,
        "character": 0
      },
      "isEmpty": true,
      "isSingleLine": true
    },
    "id": "declaration.entity.name.class_SearchUtils_-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": "Helper class for implementing search on a custom adapter for Salesforce Connect.",
  "documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_DataSource_SearchUtils.htm",
  "classes": {},
  "interfaces": {},
  "enums": {},
  "variables": {},
  "methods": {
    "searchbyname(datasource.searchcontext,datasource.connection)": {
      "id": "Datasource.searchutils.method.searchbyname(datasource.searchcontext,datasource.connection)",
      "nodeType": "method",
      "name": "searchByName",
      "startToken": {
        "type": "declaration.entity.name.function",
        "text": "searchByName",
        "textToLower": "searchbyname",
        "isAux": false,
        "range": {
          "start": {
            "line": -1,
            "character": 0
          },
          "end": {
            "line": -1,
            "character": 0
          },
          "isEmpty": true,
          "isSingleLine": true
        },
        "id": "declaration.entity.name.function_searchByName_-1:0"
      },
      "parentId": "Datasource.searchutils",
      "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 List<DataSource.TableResult> searchByName(DataSource.SearchContext searchDetails, DataSource.Connection connection)",
      "overrideSignature": "public static override List<DataSource.TableResult> searchByName(DataSource.SearchContext searchDetails, DataSource.Connection connection)",
      "simplifiedSignature": "searchByName(DataSource.SearchContext,DataSource.Connection)",
      "datatype": {
        "id": "Datasource.searchutils.searchbyname.datatype.List<DataSource.TableResult>",
        "nodeType": "datatype",
        "name": "List<DataSource.TableResult>",
        "startToken": {
          "type": "datatype.collection",
          "text": "List",
          "textToLower": "list",
          "isAux": false,
          "range": {
            "start": {
              "line": 0,
              "character": 14
            },
            "end": {
              "line": 0,
              "character": 18
            },
            "isEmpty": false,
            "isSingleLine": true
          },
          "id": "token.type.identifier_List_0:14"
        },
        "parentId": "Datasource.searchutils.searchbyname",
        "order": 0,
        "memberOrder": 0,
        "type": "List",
        "value": {
          "id": "Datasource.searchutils.searchbyname.datatype.List<DataSource.TableResult>.value.DataSource.TableResult",
          "nodeType": "datatype",
          "name": "DataSource.TableResult",
          "startToken": {
            "type": "datatype.support.namespace",
            "text": "DataSource",
            "textToLower": "datasource",
            "isAux": false,
            "range": {
              "start": {
                "line": 0,
                "character": 19
              },
              "end": {
                "line": 0,
                "character": 29
              },
              "isEmpty": false,
              "isSingleLine": true
            },
            "id": "token.type.identifier_DataSource_0:19"
          },
          "order": 0,
          "memberOrder": 0,
          "type": "DataSource.TableResult"
        }
      },
      "description": "Queries all the tables and returns each row whose designated name field contains the search phrase.",
      "parentName": "SearchUtils",
      "variables": {},
      "params": {
        "searchdetails": {
          "id": "Datasource.searchutils.method.searchbyname(datasource.searchcontext,datasource.connection).varParam.searchdetails",
          "nodeType": "variable",
          "name": "searchDetails",
          "startToken": {
            "type": "declaration.entity.name.variable",
            "text": "searchDetails",
            "textToLower": "searchdetails",
            "isAux": false,
            "range": {
              "start": {
                "line": 0,
                "character": 81
              },
              "end": {
                "line": 0,
                "character": 94
              },
              "isEmpty": false,
              "isSingleLine": true
            },
            "id": "token.type.identifier_searchDetails_0:81"
          },
          "endToken": {
            "type": "declaration.entity.name.variable",
            "text": "searchDetails",
            "textToLower": "searchdetails",
            "isAux": false,
            "range": {
              "start": {
                "line": 0,
                "character": 81
              },
              "end": {
                "line": 0,
                "character": 94
              },
              "isEmpty": false,
              "isSingleLine": true
            },
            "id": "token.type.identifier_searchDetails_0:81"
          },
          "parentId": "Datasource.searchutils.method.searchbyname(datasource.searchcontext,datasource.connection)",
          "order": 1,
          "memberOrder": 1,
          "datatype": {
            "id": "Datasource.searchutils.searchbyname.datatype.DataSource.SearchContext",
            "nodeType": "datatype",
            "name": "DataSource.SearchContext",
            "startToken": {
              "type": "datatype.support.namespace",
              "text": "DataSource",
              "textToLower": "datasource",
              "isAux": false,
              "range": {
                "start": {
                  "line": 0,
                  "character": 56
                },
                "end": {
                  "line": 0,
                  "character": 66
                },
                "isEmpty": false,
                "isSingleLine": true
              },
              "id": "token.type.identifier_DataSource_0:56"
            },
            "parentId": "Datasource.searchutils.searchbyname",
            "order": 0,
            "memberOrder": 0,
            "type": "DataSource.SearchContext"
          },
          "scope": null
        },
        "connection": {
          "id": "Datasource.searchutils.method.searchbyname(datasource.searchcontext,datasource.connection).varParam.connection",
          "nodeType": "variable",
          "name": "connection",
          "startToken": {
            "type": "declaration.entity.name.variable",
            "text": "connection",
            "textToLower": "connection",
            "isAux": false,
            "range": {
              "start": {
                "line": 0,
                "character": 118
              },
              "end": {
                "line": 0,
                "character": 128
              },
              "isEmpty": false,
              "isSingleLine": true
            },
            "id": "token.type.identifier_connection_0:118"
          },
          "endToken": {
            "type": "declaration.entity.name.variable",
            "text": "connection",
            "textToLower": "connection",
            "isAux": false,
            "range": {
              "start": {
                "line": 0,
                "character": 118
              },
              "end": {
                "line": 0,
                "character": 128
              },
              "isEmpty": false,
              "isSingleLine": true
            },
            "id": "token.type.identifier_connection_0:118"
          },
          "parentId": "Datasource.searchutils.method.searchbyname(datasource.searchcontext,datasource.connection)",
          "order": 2,
          "memberOrder": 2,
          "datatype": {
            "id": "Datasource.searchutils.searchbyname.datatype.DataSource.Connection",
            "nodeType": "datatype",
            "name": "DataSource.Connection",
            "startToken": {
              "type": "datatype.support.namespace",
              "text": "DataSource",
              "textToLower": "datasource",
              "isAux": false,
              "range": {
                "start": {
                  "line": 0,
                  "character": 96
                },
                "end": {
                  "line": 0,
                  "character": 106
                },
                "isEmpty": false,
                "isSingleLine": true
              },
              "id": "token.type.identifier_DataSource_0:96"
            },
            "parentId": "Datasource.searchutils.searchbyname",
            "order": 0,
            "memberOrder": 0,
            "type": "DataSource.Connection"
          },
          "description": "The SearchContext class that specifies which data to search and what to search for. The DataSource.Connection class that connects to the external system.",
          "scope": null
        }
      },
      "queries": [],
      "exceptions": []
    }
  },
  "constructors": {},
  "extendsType": "",
  "implementTypes": [],
  "implements": {},
  "totalMembers": 1,
  "queries": []
}