|
| DataSourceListController () |
|
String | nodeConnect (Model model) |
|
String | nodeConnected (Model model, @RequestParam(value="node_select", required=false) String nodeSelect, @RequestParam(value="url_input", required=false) String urlInput, @RequestParam(value="connect", required=false) String connect, @RequestParam(value="send_key", required=false) String sendKey) |
|
String | selectedDataSources (HttpServletRequest request, Model model, @RequestParam(value="selected_data_sources", required=false) String[] selectedDataSources, @RequestParam(value="peer_name", required=true) String peerName) |
|
void | setConfigurationManager (IConfigurationManager confManager) |
|
void | setUserManager (IUserManager userManager) |
|
void | setUrlValidator (UrlValidatorUtil urlValidator) |
|
void | setModelMessageHelper (ModelMessageHelper messageHelper) |
|
void | setAuthenticator (Authenticator authenticator) |
|
void | setHttpClient (IHttpClientUtil httpClient) |
|
void | setLog (Logger log) |
|
void | setProtocolManager (ProtocolManager protocolManager) |
|
MessageResourceUtil | getMessages () |
|
void | setMessages (MessageResourceUtil messages) |
|
Controls access to data sources available at the peer node for subscription.
- Author
- Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
- Version
- 1.1.0
- Since
- 1.1.0
◆ DataSourceListController()
eu.baltrad.dex.net.controller.DataSourceListController.DataSourceListController |
( |
| ) |
|
|
inline |
◆ createLocalPubKeyZip()
byte[] eu.baltrad.dex.net.controller.DataSourceListController.createLocalPubKeyZip |
( |
| ) |
|
|
inlineprotected |
Packs the local public key
- Returns
- the public key
◆ initConfiguration()
void eu.baltrad.dex.net.controller.DataSourceListController.initConfiguration |
( |
| ) |
|
|
inlineprotected |
Initializes controller with current configuration
◆ nodeConnect()
String eu.baltrad.dex.net.controller.DataSourceListController.nodeConnect |
( |
Model | model | ) |
|
|
inline |
Renders initial connect view.
- Parameters
-
- Returns
- View name
◆ nodeConnected()
String eu.baltrad.dex.net.controller.DataSourceListController.nodeConnected |
( |
Model | model, |
|
|
@RequestParam(value="node_select", required=false) String | nodeSelect, |
|
|
@RequestParam(value="url_input", required=false) String | urlInput, |
|
|
@RequestParam(value="connect", required=false) String | connect, |
|
|
@RequestParam(value="send_key", required=false) String | sendKey ) |
|
inline |
Sends data source listing request to the server.
- Parameters
-
model | Model |
nodeSelect | Node name selected from the drop-down list |
urlInput | URL typed in the text box |
- Returns
- View name
◆ nodeConnected_connect()
String eu.baltrad.dex.net.controller.DataSourceListController.nodeConnected_connect |
( |
Model | model, |
|
|
String | nodeSelect, |
|
|
String | urlInput ) |
|
inlineprotected |
Handles when connect is pressed
- Parameters
-
model | the model |
nodeSelect | the |
urlInput | |
- Returns
◆ selectedDataSources()
String eu.baltrad.dex.net.controller.DataSourceListController.selectedDataSources |
( |
HttpServletRequest | request, |
|
|
Model | model, |
|
|
@RequestParam(value="selected_data_sources", required=false) String[] | selectedDataSources, |
|
|
@RequestParam(value="peer_name", required=true) String | peerName ) |
|
inline |
Allows to select data sources at a peer node.
- Parameters
-
model | Model |
selectedDataSources | Data sources selected for subscription |
- Returns
- View name
◆ setAuthenticator()
void eu.baltrad.dex.net.controller.DataSourceListController.setAuthenticator |
( |
Authenticator | authenticator | ) |
|
|
inline |
- Parameters
-
authenticator | the authenticator to set |
◆ setConfigurationManager()
void eu.baltrad.dex.net.controller.DataSourceListController.setConfigurationManager |
( |
IConfigurationManager | confManager | ) |
|
|
inline |
◆ setHttpClient()
void eu.baltrad.dex.net.controller.DataSourceListController.setHttpClient |
( |
IHttpClientUtil | httpClient | ) |
|
|
inline |
- Parameters
-
httpClient | the httpClient to set |
◆ setLog()
void eu.baltrad.dex.net.controller.DataSourceListController.setLog |
( |
Logger | log | ) |
|
|
inline |
◆ setProtocolManager()
void eu.baltrad.dex.net.controller.DataSourceListController.setProtocolManager |
( |
ProtocolManager | protocolManager | ) |
|
|
inline |
- Parameters
-
protocolManager | the protocol manager to use |
◆ setUrlValidator()
void eu.baltrad.dex.net.controller.DataSourceListController.setUrlValidator |
( |
UrlValidatorUtil | urlValidator | ) |
|
|
inline |
- Parameters
-
urlValidator | the urlValidator to set |
◆ setUserManager()
void eu.baltrad.dex.net.controller.DataSourceListController.setUserManager |
( |
IUserManager | userManager | ) |
|
|
inline |
- Parameters
-
userManager | the userManager to set |
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/net/controller/DataSourceListController.java