Package ejava.examples.txagent.bl
Interface AgentReservationSession
-
public interface AgentReservationSession
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addReservation(Person person, Date startDate, Date endDate)
void
cancelBooking()
void
close()
Booking
commit()
void
createBooking()
-
-
-
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()
-
-