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 w w. ja v a 2 s . c om */ package com.jchg.dayofbirth.dao; import java.util.Vector; import android.content.Context; /** * @author Juan Carlos Hdez. * * Last revision: 1/08/13 */ public interface EventCalCRUD { /** * create new event * @param newEvent info * @param context context of the activity * @return new event id */ public long createEvent(Event newEvent, Context context); /** * 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); }