Coverage Report - pt.digitalis.dif.controller.interfaces.IModelManager
 
Classes in this File Line Coverage Branch Coverage Complexity
IModelManager
N/A
N/A
1
 
 1  
 /**
 2  
  * 2009, Digitalis Informatica. All rights reserved. Distribuicao e Gestao de Informatica, Lda. Estrada de Paco de Arcos
 3  
  * num.9 - Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 4408999 http://www.digitalis.pt
 4  
  */
 5  
 
 6  
 package pt.digitalis.dif.controller.interfaces;
 7  
 
 8  
 import pt.digitalis.dif.exception.InternalFrameworkException;
 9  
 
 10  
 /**
 11  
  * @author Luis Pinto <a href="mailto:lpinto@digitalis.pt">lpinto@digitalis.pt</a><br/>
 12  
  * @created Dec 19, 2013
 13  
  */
 14  
 public interface IModelManager {
 15  
 
 16  
     /**
 17  
      * Get the current model manager version
 18  
      * 
 19  
      * @return the current version
 20  
      */
 21  
     public String getCurrentVersion();
 22  
 
 23  
     /**
 24  
      * Get the model manager identifier
 25  
      * 
 26  
      * @return the identifier
 27  
      */
 28  
     public String getSchema();
 29  
 
 30  
     /**
 31  
      * Validate if the model is enable
 32  
      * 
 33  
      * @return <code>true</code> if the model is enable
 34  
      * @throws InternalFrameworkException
 35  
      */
 36  
     public boolean isEnabled() throws InternalFrameworkException;
 37  
 
 38  
     /**
 39  
      * Validate if the model is up to date
 40  
      * 
 41  
      * @return <code>true</code> if the model is in the last version
 42  
      */
 43  
     public boolean isUpToDate();
 44  
 
 45  
     /**
 46  
      * Run the model update
 47  
      */
 48  
     public void updateVersion();
 49  
 }