it.eng.qbe.dao
Class FormulaDAOFilesystemImpl

java.lang.Object
  extended by it.eng.qbe.dao.FormulaDAOFilesystemImpl
All Implemented Interfaces:
FormulaDAO

public class FormulaDAOFilesystemImpl
extends java.lang.Object
implements FormulaDAO

The Class FormulaDAOFilesystemImpl.

Author:
Andrea Gioia

Constructor Summary
FormulaDAOFilesystemImpl(java.io.File formulasDir)
          Instantiates a new formula dao filesystem impl.
 
Method Summary
 Formula loadFormula(java.lang.String datamartName)
          Load formula.
 void saveFormula(java.lang.String datamartName, Formula formula)
          Save formula.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormulaDAOFilesystemImpl

public FormulaDAOFilesystemImpl(java.io.File formulasDir)
Instantiates a new formula dao filesystem impl.

Parameters:
formulasDir - the formulas dir
Method Detail

loadFormula

public Formula loadFormula(java.lang.String datamartName)
Description copied from interface: FormulaDAO
Load formula.

Specified by:
loadFormula in interface FormulaDAO
Parameters:
datamartName - the datamart name
Returns:
the formula

saveFormula

public void saveFormula(java.lang.String datamartName,
                        Formula formula)
Description copied from interface: FormulaDAO
Save formula.

Specified by:
saveFormula in interface FormulaDAO
Parameters:
datamartName - the datamart name
formula - the formula