Skip to content

Adding and Editing Events and Categories

Patrick Plenefisch edited this page Dec 15, 2013 · 1 revision

Adding and Editing Events

The Event class handles individual instances of events and consists entirely in getter and editing methods for its different fields. On the other hand, EventModel handles communication of events with the rest of the calendar, and EventEntityManager treats events as entities in order to be able to easily manipulate and parse through events. EventEntityManager allows the calendar to grab events by date range and save, update, and delete events by communicating with the database.

Adding and Editing Commitments

Similarly, the Commitment class contains all the information required to accurately represent a commitment on the WPI Suite Calendar, where CommitmentEntityManager handles grabbing commitments by date range and handshaking between Janeway and the database to save, update, and delete events.