pt.digitalis.dif.controller.interfaces
Interface IModelManager


public interface IModelManager

Author:
Luis Pinto lpinto@digitalis.pt
Created on:
Dec 19, 2013

Method Summary
 String getCurrentVersion()
          Get the current model manager version
 String getSchema()
          Get the model manager identifier
 boolean isEnabled()
          Validate if the model is enable
 boolean isUpToDate()
          Validate if the model is up to date
 void updateVersion()
          Run the model update
 

Method Detail

getCurrentVersion

String getCurrentVersion()
Get the current model manager version

Returns:
the current version

getSchema

String getSchema()
Get the model manager identifier

Returns:
the identifier

isEnabled

boolean isEnabled()
                  throws InternalFrameworkException
Validate if the model is enable

Returns:
true if the model is enable
Throws:
InternalFrameworkException

isUpToDate

boolean isUpToDate()
Validate if the model is up to date

Returns:
true if the model is in the last version

updateVersion

void updateVersion()
Run the model update



Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.