Package ca.uhn.fhir.rest.client

Examples of ca.uhn.fhir.rest.client.GetClientInvocation


    return retVal;
  }

  public static GetClientInvocation createConformanceInvocation() {
    return new GetClientInvocation("metadata");
  }
View Full Code Here


    return toResourceList(response);
  }

  @Override
  public GetClientInvocation invokeClient(Object[] theArgs) {
    GetClientInvocation retVal;
    IdDt id = ((IdDt) theArgs[myIdIndex]);
    if (myVersionIdIndex == null) {
      String resourceName = getResourceName();
      retVal = createReadInvocation(id, resourceName);
    } else {
View Full Code Here

   
    return retVal;
  }

  public static GetClientInvocation createVReadInvocation(IdDt theId, IdDt vid, String resourceName) {
    return new GetClientInvocation(resourceName, theId.getValue(), Constants.URL_TOKEN_HISTORY, vid.getValue());
  }
View Full Code Here

  public static GetClientInvocation createVReadInvocation(IdDt theId, IdDt vid, String resourceName) {
    return new GetClientInvocation(resourceName, theId.getValue(), Constants.URL_TOKEN_HISTORY, vid.getValue());
  }

  public static GetClientInvocation createReadInvocation(IdDt theId, String resourceName) {
    return new GetClientInvocation(resourceName, theId.getValue());
  }
View Full Code Here

    return ReturnTypeEnum.RESOURCE;
  }

  @Override
  public GetClientInvocation invokeClient(Object[] theArgs) throws InternalErrorException {
    return new GetClientInvocation("metadata");
  }
View Full Code Here

  @Override
  public GetClientInvocation invokeClient(Object[] theArgs) {
    String id = ((IdDt)theArgs[myIdIndex]).getValue();
    if (myVersionIdIndex == null) {
      return new GetClientInvocation(getResourceName(), id);
    }else {
      String vid = ((IdDt)theArgs[myVersionIdIndex]).getValue();
      return new GetClientInvocation(getResourceName(), id, Constants.URL_TOKEN_HISTORY, vid);
    }
  }
View Full Code Here

    if (b.length()>0) {
      b.append('/');
    }
    b.append(Constants.PARAM_HISTORY);
   
    return new GetClientInvocation(b.toString());
  }
View Full Code Here

        IParameter nextParam = myParameters.get(idx);
        nextParam.translateClientArgumentIntoQueryArgument(theArgs[idx], queryStringArgs);
      }
    }

    return new GetClientInvocation(queryStringArgs, getResourceName());
  }
View Full Code Here

TOP

Related Classes of ca.uhn.fhir.rest.client.GetClientInvocation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.