public synchronized Appointment getAppointmentByUid(OperationContext octxt, String uid) throws ServiceException { boolean success = false; try { beginTransaction("getAppointmentByUid", octxt); MailItem.UnderlyingData data = DbMailItem.getAppointment(this, uid); Appointment appt = (Appointment) getItem(data); success = true; return appt; } finally { endTransaction(success); }
synchronized Appointment getAppointmentByUid(String uid) throws ServiceException { return getAppointmentByUid(null, uid);
    public synchronized Appointment getAppointmentByUid(OperationContext octxt, String uid) throws ServiceException {        boolean success = false;        try {            beginTransaction("getAppointmentByUid", octxt);            MailItem.UnderlyingData data = DbMailItem.getAppointment(this, uid);            Appointment appt = (Appointment) getItem(data);            success = true;            return appt;        } finally {            endTransaction(success);        }    }