/* AWE - Amanzi Wireless Explorer * http://awe.amanzi.org * (C) 2008-2009, AmanziTel AB * * This library is provided under the terms of the Eclipse Public License * as described at http://www.eclipse.org/legal/epl-v10.html. Any use, * reproduction or distribution of the library constitutes recipient's * acceptance of this agreement. * * This library is distributed WITHOUT ANY WARRANTY; without even the * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ package org.amanzi.neo.providers.internal; import java.util.List; import org.amanzi.neo.models.IModel; import org.amanzi.neo.models.exceptions.ModelException; /** * TODO Purpose of * <p> * </p> * * @author Nikolay Lagutko (nikolay.lagutko@amanzitel.com) * @since 1.0.0 */ // TODO: LN: 10.10.2012, add comments public interface INamedModelProvider<M extends IModel, P extends IModel> extends IModelProvider<M> { List<M> findAll(P parent) throws ModelException; M findByName(P parent, String name) throws ModelException; M create(P parent, String name) throws ModelException; }