001package ca.uhn.fhir.rest.gclient;
002
003import java.util.*;
004
005import ca.uhn.fhir.model.api.IQueryParameterType;
006
007/*
008 * #%L
009 * HAPI FHIR - Core Library
010 * %%
011 * Copyright (C) 2014 - 2017 University Health Network
012 * %%
013 * Licensed under the Apache License, Version 2.0 (the "License");
014 * you may not use this file except in compliance with the License.
015 * You may obtain a copy of the License at
016 * 
017 *      http://www.apache.org/licenses/LICENSE-2.0
018 * 
019 * Unless required by applicable law or agreed to in writing, software
020 * distributed under the License is distributed on an "AS IS" BASIS,
021 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
022 * See the License for the specific language governing permissions and
023 * limitations under the License.
024 * #L%
025 */
026
027public interface IBaseQuery<T extends IBaseQuery<?>> {
028
029    T where(ICriterion<?> theCriterion);
030
031    T where(Map<String, List<IQueryParameterType>> theCriterion);
032
033    T and(ICriterion<?> theCriterion);
034
035}