BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.datasource.controller.SaveDataSourceController Class Reference

Public Member Functions

 SaveDataSourceController ()
 
String setupForm (@RequestParam(value="ds_id", required=false) String dsId, ModelMap model)
 
String processSubmit ( @ModelAttribute("data_source") DataSource dataSource, BindingResult result, ModelMap model, HttpServletRequest request)
 
void setTransactionManager (PlatformTransactionManager transactionManager)
 
void setRadarManager (IRadarManager radarManager)
 
void setFileObjectManager (IFileObjectManager fileObjectManager)
 
void setUserManager (IUserManager userManager)
 
void setDataSourceManager (IDataSourceManager dataSourceManager)
 
void setCoreFilterManager (CoreFilterManager coreFilterManager)
 
void setValidator (DataSourceValidator validator)
 
void setMessages (MessageResourceUtil messages)
 
void setSubscriptionManager (ISubscriptionManager subscriptionManager)
 

Protected Attributes

Map< Integer, RadarradarsAvailable
 
Map< Integer, RadarradarsSelected
 
Map< Integer, FileObjectfileObjectsAvailable
 
Map< Integer, FileObjectfileObjectsSelected
 
Map< Integer, UserusersAvailable
 
Map< Integer, UserusersSelected
 

Detailed Description

Allows to configure new data source or to modify an existing one.

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

Constructor & Destructor Documentation

◆ SaveDataSourceController()

eu.baltrad.dex.datasource.controller.SaveDataSourceController.SaveDataSourceController ( )
inline

Constructor.

Member Function Documentation

◆ processSubmit()

String eu.baltrad.dex.datasource.controller.SaveDataSourceController.processSubmit ( @ModelAttribute("data_source") DataSource dataSource,
BindingResult result,
ModelMap model,
HttpServletRequest request )
inline

Process form submission and save data source and its parameters.

Parameters
dataSourceData source object
resultBinding result
modelModel map
requestHTTP servlet request
Returns
View name

◆ setCoreFilterManager()

void eu.baltrad.dex.datasource.controller.SaveDataSourceController.setCoreFilterManager ( CoreFilterManager coreFilterManager)
inline
Parameters
coreFilterManagerthe coreFilterManager to set

◆ setDataSourceManager()

void eu.baltrad.dex.datasource.controller.SaveDataSourceController.setDataSourceManager ( IDataSourceManager dataSourceManager)
inline
Parameters
dataSourceManagerthe dataSourceManager to set

◆ setFileObjectManager()

void eu.baltrad.dex.datasource.controller.SaveDataSourceController.setFileObjectManager ( IFileObjectManager fileObjectManager)
inline
Parameters
fileObjectManagerthe fileObjectManager to set

◆ setMessages()

void eu.baltrad.dex.datasource.controller.SaveDataSourceController.setMessages ( MessageResourceUtil messages)
inline
Parameters
messagesthe messages to set

◆ setRadarManager()

void eu.baltrad.dex.datasource.controller.SaveDataSourceController.setRadarManager ( IRadarManager radarManager)
inline
Parameters
radarManagerthe radarManager to set

◆ setSubscriptionManager()

void eu.baltrad.dex.datasource.controller.SaveDataSourceController.setSubscriptionManager ( ISubscriptionManager subscriptionManager)
inline
Parameters
subscriptionManagerthe subscriptionManager to set

◆ setTransactionManager()

void eu.baltrad.dex.datasource.controller.SaveDataSourceController.setTransactionManager ( PlatformTransactionManager transactionManager)
inline
Parameters
transactionManagerthe transactionManager to set

◆ setupForm()

String eu.baltrad.dex.datasource.controller.SaveDataSourceController.setupForm ( @RequestParam(value="ds_id", required=false) String dsId,
ModelMap model )
inline

Load form backing object.

Parameters
dsIdData source id
modelModel map
Returns
Form view name

◆ setUserManager()

void eu.baltrad.dex.datasource.controller.SaveDataSourceController.setUserManager ( IUserManager userManager)
inline
Parameters
userManagerthe userManager to set

◆ setValidator()

void eu.baltrad.dex.datasource.controller.SaveDataSourceController.setValidator ( DataSourceValidator validator)
inline
Parameters
validatorthe validator to set

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