Back to project page tpblogr.
The source code is released under:
MIT License
If you think the Android project tpblogr 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 blogr.vpm.fr.blogr.persistence; // www . j av a 2s.co m import java.io.IOException; import blogr.vpm.fr.blogr.bean.Blog; /** * Created by vince on 01/12/14. */ public interface BlogSaver { /** * Persists a blog metadata to be retrieved later * * @param blog the blog to save * @return whether it has been persisted successfully */ boolean persist(Blog blog) throws IOException; /** * Updates a blog by removing the old invalid blog metadata and persisting new blog MD (using persist method) * * @param oldBlog the blog to delete * @param newBlog the blog to save * @return whether it has been persisted successfully */ boolean update(Blog oldBlog, Blog newBlog) throws IOException; }