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

Public Member Functions

String setupForm (ModelMap model)
 
String processSubmit (ModelMap model, HttpServletRequest request, @ModelAttribute(value="query_param") BltQueryParameter param, @RequestParam(value="selected_page", required=false) String selectedPage)
 
List< String > getRadars ()
 
List< FileObjectgetFileObjects (ModelMap model)
 
int getCurrentPage ()
 
void setCurrentPage (int page)
 
void nextPage (BltQueryParameter param)
 
void previousPage ()
 
void firstPage ()
 
void lastPage (BltQueryParameter param)
 
void setFileObjectManager (FileObjectManager fileObjectManager)
 
void setFileManager (BltFileManager fileManager)
 
void setMesages (MessageResourceUtil messages)
 

Detailed Description

File browser controller implements file selection and browsing functionality.

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

Member Function Documentation

◆ firstPage()

void eu.baltrad.dex.db.controller.BltFileBrowserController.firstPage ( )
inline

Sets page number to the first page.

◆ getCurrentPage()

int eu.baltrad.dex.db.controller.BltFileBrowserController.getCurrentPage ( )
inline

Gets current page number.

Returns
Current page number

◆ getFileObjects()

List< FileObject > eu.baltrad.dex.db.controller.BltFileBrowserController.getFileObjects ( ModelMap model)
inline

Fill model map with list of available file objects.

Parameters
modelModel map
Returns
List of file objects

◆ getRadars()

List< String > eu.baltrad.dex.db.controller.BltFileBrowserController.getRadars ( )
inline

Fill model map with list of available radars.

Returns
List of radar names

◆ lastPage()

void eu.baltrad.dex.db.controller.BltFileBrowserController.lastPage ( BltQueryParameter param)
inline

Sets page number to the last page.

Parameters
paramFile query parameters

◆ nextPage()

void eu.baltrad.dex.db.controller.BltFileBrowserController.nextPage ( BltQueryParameter param)
inline

Sets page number to the next page number.

Parameters
paramFile query parameters

◆ previousPage()

void eu.baltrad.dex.db.controller.BltFileBrowserController.previousPage ( )
inline

Sets page number to the previous page number.

◆ processSubmit()

String eu.baltrad.dex.db.controller.BltFileBrowserController.processSubmit ( ModelMap model,
HttpServletRequest request,
@ModelAttribute(value="query_param") BltQueryParameter param,
@RequestParam(value="selected_page", required=false) String selectedPage )
inline

Process form submission.

Parameters
modelModel map
requestHttp servlet request
paramQuery parameters
selectedPageCurrently selected page number
Returns
View name

◆ setCurrentPage()

void eu.baltrad.dex.db.controller.BltFileBrowserController.setCurrentPage ( int page)
inline

Sets current page number.

Parameters
pageCurrent page number to set

◆ setFileManager()

void eu.baltrad.dex.db.controller.BltFileBrowserController.setFileManager ( BltFileManager fileManager)
inline
Parameters
fileManagerthe fileManager to set

◆ setFileObjectManager()

void eu.baltrad.dex.db.controller.BltFileBrowserController.setFileObjectManager ( FileObjectManager fileObjectManager)
inline
Parameters
fileObjectManagerthe fileObjectManager to set

◆ setMesages()

void eu.baltrad.dex.db.controller.BltFileBrowserController.setMesages ( MessageResourceUtil messages)
inline
Parameters
mesagesthe mesages to set

◆ setupForm()

String eu.baltrad.dex.db.controller.BltFileBrowserController.setupForm ( ModelMap model)
inline

Create form backing object.

Parameters
modelModel map
Returns
View name

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