Back to project page bugfree-context-demo.
The source code is released under:
MIT License
If you think the Android project bugfree-context-demo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.hustbaidu.notebook.api; import java.util.List; //w ww . j ava 2 s.c om import com.hustbaidu.notebook.model.Note; public interface NoteBookInterface { /** * save note to file or database * @param note * @return */ public boolean save (Note note); /** * get all note * @return List */ public List<Note> findAll(); /** * find by id, for database implement only * @param id * @return a note */ public Note findWithId (int id); /** * * @param name * @return */ public Note findWithName (String name); public boolean remove (Note note); }