001 /**
002 * **************************************************************************
003 * Copyright (C) NanoContainer Organization. All rights reserved. *
004 * ------------------------------------------------------------------------- *
005 * The software in this package is published under the terms of the BSD *
006 * style license a copy of which has been included with this distribution in *
007 * the LICENSE.txt file. *
008 * *
009 * ***************************************************************************
010 */
011 package org.nanocontainer.nanowar.sample.dao;
012
013 import java.util.Collection;
014
015 import org.nanocontainer.nanowar.sample.model.Cheese;
016
017 /**
018 * @author Stephen Molitor
019 */
020 public interface CheeseDao {
021
022 void save(Cheese cheese);
023
024 void remove(Cheese cheese);
025
026 Cheese get(String name);
027
028 Collection all();
029
030 }