Package ejava.examples.txagent.bl
Interface AgentReservationSession
-
public interface AgentReservationSession
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddReservation(Person person, Date startDate, Date endDate)voidcancelBooking()voidclose()Bookingcommit()voidcreateBooking()
-
-
-
Method Detail
-
createBooking
void createBooking() throws AgentReservationException- Throws:
AgentReservationException
-
addReservation
void addReservation(Person person, Date startDate, Date endDate) throws AgentReservationException
- Throws:
AgentReservationException
-
cancelBooking
void cancelBooking() throws AgentReservationException- Throws:
AgentReservationException
-
commit
Booking commit() throws AgentReservationException
- Throws:
AgentReservationException
-
close
void close()
-
-