package org.jtheque.films.view.impl.models.able; /* * This file is part of JTheque. * * JTheque is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License. * * JTheque is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with JTheque. If not, see <http://www.gnu.org/licenses/>. */ import org.jtheque.films.persistence.od.able.Film; import org.jtheque.primary.view.impl.models.able.IPrincipalDataModel; /** * @author Baptiste Wicht */ public interface IFilmsModel extends IPrincipalDataModel<Film> { /** * Return the current film. * * @return The current film. */ Film getCurrentFilm(); /** * Set the current film. * * @param currentFilm The new current film */ void setCurrentFilm(Film currentFilm); }