/* (non-Javadoc)
  * @see gov.nasa.arc.geocam.memo.service.DjangoMemoInterface#createMemo(gov.nasa.arc.geocam.memo.bean.GeoCamMemoMessage)
  */
 @Override
 public void createMemo(GeoCamMemoMessage message)
     throws ClientProtocolException, AuthenticationFailedException, IOException {
   HashMap<String, String> map = new HashMap<String, String>();
   map.put("message", jsonConverter.serialize(message));
   int responseCode = siteAuthImplementation.post(createMemoMessageJson, map);
   if (responseCode != 200) {
     throw new ClientProtocolException(
         "Message could not be created (HTTP error " + responseCode + ")");
   }
 }
  /* (non-Javadoc)
   * @see gov.nasa.arc.geocam.memo.service.DjangoMemoInterface#getMemos()
   */
  @Override
  public List<GeoCamMemoMessage> getMemos()
      throws ClientProtocolException, AuthenticationFailedException, IOException {
    // String jsonString =
    //	"[{\"authorUsername\": \"rhornsby\", \"longitude\": -122.057954, \"content\": \"Structural
    // engineer not allowing access to building. Fire is too out of control. Fire squad alerted.\",
    // \"contentTimestamp\": \"03/13/11 10:48:44\", \"latitude\": 37.411629, \"messageId\": 15,
    // \"accuracy\":60.0}]";
    String jsonString = null;

    jsonString = siteAuthImplementation.get(memoMessagesJson, null);

    return jsonConverter.deserializeList(jsonString);
  }