Package com.qfs.snl.persistence
Interface IDbInfoDao<T extends ADbInfo>
- Type Parameters:
T
- type of DbInformation to store
- All Known Implementing Classes:
ADbInfoDao
,DbInfoDao
,DbInfoDao
public interface IDbInfoDao<T extends ADbInfo>
Interface of DAO managing
ADbInfo
.- Author:
- ActiveViam
-
Method Details
-
initialize
void initialize()Initializes the DAO.On a new database, this registers all relevant information regarding the database.
On existing database, it perform all required checks to ensure the integrity and usability of the data. -
get
Gets an info from the DB.- Parameters:
key
- key of the info to search- Returns:
- the info or null if it does not exist
-
create
Store an info from the DB.- Parameters:
info
- the info to store- Returns:
- the persisted info
-