Data manager - interacts with baltrad-db component.
- Author
- Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
- Version
- 1.2.2
- Since
- 0.1.6
◆ BltFileManager()
eu.baltrad.dex.db.manager.impl.BltFileManager.BltFileManager |
( |
| ) |
|
|
inline |
◆ count() [1/3]
long eu.baltrad.dex.db.manager.impl.BltFileManager.count |
( |
| ) |
throws DatabaseError |
|
inline |
◆ count() [2/3]
long eu.baltrad.dex.db.manager.impl.BltFileManager.count |
( |
BltQueryParameter | param | ) |
throws DatabaseError |
|
inline |
Counts file entries matching criteria given by parameters.
- Parameters
-
- Returns
- Number of file entries matching giver criteria
- Exceptions
-
DatabaseError | In case when file catalog is not available |
Implements eu.baltrad.dex.db.manager.IBltFileManager.
◆ count() [3/3]
long eu.baltrad.dex.db.manager.impl.BltFileManager.count |
( |
String | dsName | ) |
throws DatabaseError |
|
inline |
Counts file entries from a given data source.
- Parameters
-
- Returns
- Number of file entries.
- Exceptions
-
DatabaseError | In case when file catalog is not available |
Implements eu.baltrad.dex.db.manager.IBltFileManager.
◆ load() [1/3]
Fetches set of file entries matching criteria given by parameters.
- Parameters
-
- Returns
- Set of file entries matching given criteria
- Exceptions
-
DatabaseError | In case when file catalog is not available |
Implements eu.baltrad.dex.db.manager.IBltFileManager.
◆ load() [2/3]
List< BltFile > eu.baltrad.dex.db.manager.impl.BltFileManager.load |
( |
String | dsName, |
|
|
int | offset, |
|
|
int | limit ) throws DatabaseError |
|
inline |
Gets data set for a given data source.
- Parameters
-
dsName | Data source name |
offset | Dataset offset |
limit | Dataset size limit |
- Returns
- Dataset from a given data source
- Exceptions
-
DatabaseError | In case when file catalog is not available |
Implements eu.baltrad.dex.db.manager.IBltFileManager.
◆ load() [3/3]
BltFile eu.baltrad.dex.db.manager.impl.BltFileManager.load |
( |
String | uuid | ) |
throws DatabaseError |
|
inline |
Gets file entry with a given identity string.
- Parameters
-
uuid | File entry's identity string |
- Returns
- File entry with a given ID
- Exceptions
-
DatabaseError | In case when file catalog is not available |
Implements eu.baltrad.dex.db.manager.IBltFileManager.
◆ loadDistinctRadarStations()
List< String > eu.baltrad.dex.db.manager.impl.BltFileManager.loadDistinctRadarStations |
( |
| ) |
throws DatabaseError |
|
inline |
Gets distinct radar stations. Stations are discovered based on the content of data files saved in the local storage.
- Returns
- List containing distinct radar stations names.
Implements eu.baltrad.dex.db.manager.IBltFileManager.
◆ loadFilter()
IFilter eu.baltrad.dex.db.manager.impl.BltFileManager.loadFilter |
( |
String | dsName, |
|
|
String | type ) |
|
inline |
Gets filter associated with a given data source.
- Parameters
-
dsName | Data source name |
type | Data source type |
- Returns
- Filter associated with a given data source
Implements eu.baltrad.dex.db.manager.IBltFileManager.
◆ setConfigurationManager()
void eu.baltrad.dex.db.manager.impl.BltFileManager.setConfigurationManager |
( |
ConfigurationManager | configurationManager | ) |
|
|
inline |
◆ setCoreFilterManager()
void eu.baltrad.dex.db.manager.impl.BltFileManager.setCoreFilterManager |
( |
CoreFilterManager | coreFilterManager | ) |
|
|
inline |
- Parameters
-
coreFilterManager | the coreFilterManager to set |
◆ setDataSourceManager()
void eu.baltrad.dex.db.manager.impl.BltFileManager.setDataSourceManager |
( |
DataSourceManager | dataSourceManager | ) |
|
|
inline |
- Parameters
-
dataSourceManager | the dataSourceManager to set |
◆ setFileCatalog()
void eu.baltrad.dex.db.manager.impl.BltFileManager.setFileCatalog |
( |
FileCatalog | fileCatalog | ) |
|
|
inline |
- Parameters
-
fileCatalog | the fileCatalog to set |
◆ ENTRIES_PER_PAGE
final int eu.baltrad.dex.db.manager.impl.BltFileManager.ENTRIES_PER_PAGE = 16 |
|
static |
Number of file entries per page
◆ SCROLL_RANGE
final int eu.baltrad.dex.db.manager.impl.BltFileManager.SCROLL_RANGE = 11 |
|
static |
Number of pages in the scroll bar, must be an odd number >= 3
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/db/manager/impl/BltFileManager.java