Back to project page DayOfBirth.
The source code is released under:
GNU General Public License
If you think the Android project DayOfBirth listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * //from w ww .j a va 2 s .c o m */ package com.jchg.dayofbirth.dao; import java.util.Vector; /** * @author Juan Carlos Hdez. * * Last revision: 11/07/13 */ public interface EventCRUD { /** * create new event * @param newEvent info */ public void createEvent(Event newEvent); /** * get event * @param id * @return the event or null */ public Event getEvent(int id); /** * get all events * @return event list or null */ public Vector<Event> getEvents(); /** * Get event using info. of the event like a filter * @param eventInfo * @return event list or null */ public Vector<Event> getEvents(Event eventInfo); /** * delete a event * @param id * @return true if there is any event deleted */ public boolean deleteEvent(int id); /** * update a event * @param id * @return true if there is any event updated */ public boolean updateEvent(Event eventUpdated); }