Class DataProvider
java.lang.Object
com.pnfsoftware.jeb.core.dao.impl.DataProvider
- All Implemented Interfaces:
IDataProvider
Simple implementation of a data provider.
-
Constructor Summary
ConstructorsConstructorDescriptionDataProvider(IUserDatabase userdb, IFileDatabase projectdb, IFileStore filestore, IFileStore pluginstore, IApplicationDatabase appdb, IConfiguration config) -
Method Summary
Modifier and TypeMethodDescriptionGet the application database.Get the configuration data.Get the primary file store.Get the plugins file store.Get the project database.Get the user database.
-
Constructor Details
-
DataProvider
public DataProvider(IUserDatabase userdb, IFileDatabase projectdb, IFileStore filestore, IFileStore pluginstore, IApplicationDatabase appdb, IConfiguration config)
-
-
Method Details
-
getUserDatabase
Description copied from interface:IDataProviderGet the user database.Optional. Not used by JEB.
- Specified by:
getUserDatabasein interfaceIDataProvider- Returns:
-
getProjectDatabase
Description copied from interface:IDataProviderGet the project database.- Specified by:
getProjectDatabasein interfaceIDataProvider- Returns:
-
getFileStore
Description copied from interface:IDataProviderGet the primary file store.Optional. Not used by JEB.
- Specified by:
getFileStorein interfaceIDataProvider- Returns:
-
getPluginStore
Description copied from interface:IDataProviderGet the plugins file store.- Specified by:
getPluginStorein interfaceIDataProvider- Returns:
-
getApplicationDatabase
Description copied from interface:IDataProviderGet the application database.Optional. Not used by JEB.
- Specified by:
getApplicationDatabasein interfaceIDataProvider- Returns:
-
getConfiguration
Description copied from interface:IDataProviderGet the configuration data.- Specified by:
getConfigurationin interfaceIDataProvider- Returns:
-