@PayloadRoot(
      localPart = Constants.GET_ALL_COLLECTION_PATHS_REQUEST,
      namespace = Constants.NAMESPACE)
  public GetAllCollectionPathsResponse getSearchResult(
      GetAllCollectionPathsRequest getPathsRequest) {

    List<String> temp = tripleStoreQueryService.fetchAllCollectionPaths();

    GetAllCollectionPathsResponse response = new GetAllCollectionPathsResponse();

    response.getPaths().addAll(temp);

    return response;
  }