BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.datasource.manager.impl.FileObjectManager Class Reference
Inheritance diagram for eu.baltrad.dex.datasource.manager.impl.FileObjectManager:
eu.baltrad.dex.datasource.manager.IFileObjectManager

Public Member Functions

 FileObjectManager ()
 
void setJdbcTemplate (JdbcOperations jdbcTemplate)
 
List< FileObjectload ()
 
FileObject load (int id)
 
FileObject load (String fileObject)
 
int store (FileObject fileObject)
 
int delete (int id)
 

Detailed Description

File object manager.

Author
Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
1.2.2
Since
0.6.4

Constructor & Destructor Documentation

◆ FileObjectManager()

eu.baltrad.dex.datasource.manager.impl.FileObjectManager.FileObjectManager ( )
inline

Constructor.

Member Function Documentation

◆ delete()

int eu.baltrad.dex.datasource.manager.impl.FileObjectManager.delete ( int id)
inline

Delete file object with a given id.

Parameters
idFile object
Returns
Number of deleted records

Implements eu.baltrad.dex.datasource.manager.IFileObjectManager.

◆ load() [1/3]

List< FileObject > eu.baltrad.dex.datasource.manager.impl.FileObjectManager.load ( )
inline

Load all file objects.

Returns
List of all available file objects

Implements eu.baltrad.dex.datasource.manager.IFileObjectManager.

◆ load() [2/3]

FileObject eu.baltrad.dex.datasource.manager.impl.FileObjectManager.load ( int id)
inline

Load file object by id.

Parameters
idFile object id
Returns
File object with a given id

Implements eu.baltrad.dex.datasource.manager.IFileObjectManager.

◆ load() [3/3]

FileObject eu.baltrad.dex.datasource.manager.impl.FileObjectManager.load ( String fileObject)
inline

Load file object with a given name

Parameters
fileObjectFile object name
Returns
File object with a given name

Implements eu.baltrad.dex.datasource.manager.IFileObjectManager.

◆ setJdbcTemplate()

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

◆ store()

int eu.baltrad.dex.datasource.manager.impl.FileObjectManager.store ( FileObject fileObject)
inline

Store file object in database.

Parameters
fileObjectFile object to be stored
Returns
Auto-generated record id

Implements eu.baltrad.dex.datasource.manager.IFileObjectManager.


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