BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.registry.manager.impl.RegistryManager Class Reference
Inheritance diagram for eu.baltrad.dex.registry.manager.impl.RegistryManager:
eu.baltrad.dex.registry.manager.IRegistryManager

Public Member Functions

 RegistryManager ()
 
void setJdbcTemplate (JdbcOperations jdbcTemplate)
 
long count (String type)
 
List< RegistryEntryload (String type, int offset, int limit)
 
int store (RegistryEntry registryEntry) throws Exception
 
int delete () throws Exception
 
void setConfigManager (ConfigurationManager configManager)
 
void afterPropertiesSet () throws Exception
 

Protected Member Functions

void runMaintenance ()
 

Additional Inherited Members

- Static Public Attributes inherited from eu.baltrad.dex.registry.manager.IRegistryManager
static final int ENTRIES_PER_PAGE = 16
 
static final int SCROLL_RANGE = 11
 

Detailed Description

Class implements data delivery register handling functionality..

Author
Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
1.2.1
Since
0.1.6

Constructor & Destructor Documentation

◆ RegistryManager()

eu.baltrad.dex.registry.manager.impl.RegistryManager.RegistryManager ( )
inline

Constructor.

Member Function Documentation

◆ afterPropertiesSet()

void eu.baltrad.dex.registry.manager.impl.RegistryManager.afterPropertiesSet ( ) throws Exception
inline

◆ count()

long eu.baltrad.dex.registry.manager.impl.RegistryManager.count ( String type)
inline

Counts entries.

Returns
Total number of entries in the registry

Implements eu.baltrad.dex.registry.manager.IRegistryManager.

◆ delete()

int eu.baltrad.dex.registry.manager.impl.RegistryManager.delete ( ) throws Exception
inline

Delete all registry entries.

Returns
Number of records deleted

Implements eu.baltrad.dex.registry.manager.IRegistryManager.

◆ load()

List< RegistryEntry > eu.baltrad.dex.registry.manager.impl.RegistryManager.load ( String type,
int offset,
int limit )
inline

Load registry entries.

Parameters
offsetOffset
limitLimit
Returns
List of registry entries

Implements eu.baltrad.dex.registry.manager.IRegistryManager.

◆ runMaintenance()

void eu.baltrad.dex.registry.manager.impl.RegistryManager.runMaintenance ( )
inlineprotected

Runs the maintenance routine for keeping the dex_delivery_registry table in check.

◆ setConfigManager()

void eu.baltrad.dex.registry.manager.impl.RegistryManager.setConfigManager ( ConfigurationManager configManager)
inline
Parameters
configManagerthe configManager to set

◆ setJdbcTemplate()

void eu.baltrad.dex.registry.manager.impl.RegistryManager.setJdbcTemplate ( JdbcOperations jdbcTemplate)
inline
Parameters
jdbcTemplatethe jdbcTemplate to set

◆ store()

int eu.baltrad.dex.registry.manager.impl.RegistryManager.store ( RegistryEntry registryEntry) throws Exception
inline

Store entry in delivery registry.

Parameters
entryEntry to store
Returns
Auto-generated record id
Exceptions
Exception

Implements eu.baltrad.dex.registry.manager.IRegistryManager.


The documentation for this class was generated from the following file: