Exemplo n.º 1
0
  private String removeEvent(AccessToken at, Request request, XmlResponder responder)
      throws ServerFault, EventNotFoundException, NotAllowedException {

    String calendar = getCalendar(request);
    EventObmId obmId = getObmId(request, "id");
    int sequence = i(request, "sequence", 0);
    binding.removeEventById(at, calendar, obmId, sequence, getNotificationOption(request));
    return responder.sendBoolean(true);
  }