it.eng.qbe.model.io
Interface IQueryPersister

All Known Implementing Classes:
LocalFileSystemQueryPersister

public interface IQueryPersister

The Interface IQueryPersister.

Author:
Andrea Zoppello This is the interface for classes that implements logig to load and persist query on a persistent store than can be, JSR 170 repository, Database, File System and so on

Method Summary
 ISingleDataMartWizardObject load(DataMartModel dm, java.lang.String key)
          Load.
 java.util.List loadAllQueries(DataMartModel dm)
          Load all queries.
 void persist(DataMartModel dm, ISingleDataMartWizardObject wizObject)
          Persist.
 

Method Detail

persist

void persist(DataMartModel dm,
             ISingleDataMartWizardObject wizObject)
Persist.

Parameters:
dm - the dm
wizObject - the wiz object

loadAllQueries

java.util.List loadAllQueries(DataMartModel dm)
Load all queries.

Parameters:
dm - the dm
Returns:
all the query for datamart dm

load

ISingleDataMartWizardObject load(DataMartModel dm,
                                 java.lang.String key)
Load.

Parameters:
dm - the dm
key - the key
Returns:
the query of the datamart identified by key