Coverage Report - org.jtheque.films.controllers.able.IActorController
 
Classes in this File Line Coverage Branch Coverage Complexity
IActorController
N/A
N/A
1
 
 1  
 package org.jtheque.films.controllers.able;
 2  
 
 3  
 /*
 4  
  * This file is part of JTheque.
 5  
  *
 6  
  * JTheque is free software: you can redistribute it and/or modify
 7  
  * it under the terms of the GNU General Public License as published by
 8  
  * the Free Software Foundation, either version 3 of the License.
 9  
  *
 10  
  * JTheque is distributed in the hope that it will be useful,
 11  
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 13  
  * GNU General Public License for more details.
 14  
  *
 15  
  * You should have received a copy of the GNU General Public License
 16  
  * along with JTheque.  If not, see <http://www.gnu.org/licenses/>.
 17  
  */
 18  
 
 19  
 import org.jtheque.films.view.able.IActorView;
 20  
 import org.jtheque.films.view.impl.models.able.IActorsModel;
 21  
 import org.jtheque.primary.controller.able.IPrincipalController;
 22  
 import org.jtheque.primary.od.able.Person;
 23  
 
 24  
 import javax.swing.event.TreeSelectionListener;
 25  
 
 26  
 /**
 27  
  * An actor controller specification.
 28  
  *
 29  
  * @author Baptiste Wicht
 30  
  */
 31  
 public interface IActorController extends IPrincipalController<Person>, TreeSelectionListener {
 32  
     /**
 33  
      * Save the current actor.
 34  
      */
 35  
     void save();
 36  
 
 37  
     /**
 38  
      * Edit the current actor.
 39  
      */
 40  
     void manualEdit();
 41  
 
 42  
     /**
 43  
      * Create a new actor.
 44  
      */
 45  
     void createActor();
 46  
 
 47  
     /**
 48  
      * Delete the current actor.
 49  
      */
 50  
     void deleteCurrentActor();
 51  
 
 52  
     /**
 53  
      * Cancel the current state.
 54  
      */
 55  
     void cancel();
 56  
 
 57  
 
 58  
     @Override
 59  
     IActorsModel getViewModel();
 60  
 
 61  
     @Override
 62  
     IActorView getView();
 63  
 }