public interface AgentReservationSession
| Modifier and Type | Method and Description |
|---|---|
void |
addReservation(Person person,
Date startDate,
Date endDate) |
void |
cancelBooking() |
void |
close() |
Booking |
commit() |
void |
createBooking() |
void createBooking()
throws AgentReservationException
AgentReservationExceptionvoid addReservation(Person person, Date startDate, Date endDate) throws AgentReservationException
AgentReservationExceptionvoid cancelBooking()
throws AgentReservationException
AgentReservationExceptionBooking commit() throws AgentReservationException
AgentReservationExceptionvoid close()
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.