Skip to content

Instantly share code, notes, and snippets.

@DavidCulpepper
Created April 26, 2012 06:56
Show Gist options
  • Save DavidCulpepper/2496935 to your computer and use it in GitHub Desktop.
Save DavidCulpepper/2496935 to your computer and use it in GitHub Desktop.
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.inspiredcompositions.core.persist;
import java.util.List;
/**
*
* @author David
*/
public interface CompositionDAO {
public abstract Composition getCompositionById(String id);
public abstract Composition getCompositionTitled(String title);
public abstract List<String> getCompositionTitlesContaining(String containedString);
public abstract Composition getMostRecentComposition();
public abstract void save(Composition c) throws DataAccessException;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment