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:IDataProvider
Get the user database.Optional. Not used by JEB.
- Specified by:
getUserDatabase
in interfaceIDataProvider
- Returns:
-
getProjectDatabase
Description copied from interface:IDataProvider
Get the project database.- Specified by:
getProjectDatabase
in interfaceIDataProvider
- Returns:
-
getFileStore
Description copied from interface:IDataProvider
Get the primary file store.Optional. Not used by JEB.
- Specified by:
getFileStore
in interfaceIDataProvider
- Returns:
-
getPluginStore
Description copied from interface:IDataProvider
Get the plugins file store.- Specified by:
getPluginStore
in interfaceIDataProvider
- Returns:
-
getApplicationDatabase
Description copied from interface:IDataProvider
Get the application database.Optional. Not used by JEB.
- Specified by:
getApplicationDatabase
in interfaceIDataProvider
- Returns:
-
getConfiguration
Description copied from interface:IDataProvider
Get the configuration data.- Specified by:
getConfiguration
in interfaceIDataProvider
- Returns:
-