org.ferris.bible.store.Store Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ferris-bible-common Show documentation
Show all versions of ferris-bible-common Show documentation
Ferris Bible Common is a project which contains commonly shared coded for all of the other bible projects.
The newest version!
package org.ferris.bible.store;
import java.util.List;
/**
* An interface defining the contact on how bible
* daily reading data is stored and retrieved.
*
* @author Mike Remijan
*
*/
public interface Store {
/**
* Returns all bible daily reading data.
* @return
*/
public abstract List getAll();
/**
* Save bible daily reading data in whatever way
* the implementation of this method decides to do it.
*
* @param year (int) Required. The year of the daily reading data.
* @param month (int) Required. The month of the daily reading data.
* @param day (int) Required. The day of the daily reading data.
* @param reading (String) Required. The daily reading data.
* @return
* Return this.
*/
public abstract Store store(int year, int month, int day, String reading);
}