API Overview
API Index
Package Overview
Direct link to this page
JavaOnTracks 0.1.2
net.jot.web.filebrowser.
JOTFileBrowserHelper
View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
Object
JOTFileBrowserHelper
Implements
Subclasses
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
class JOTFileBrowserHelper
"Logic" /processing methods of the FileManager, using a user's current FileBrowserSession
See also:
Constructors
public
JOTFileBrowserHelper
()
Methods
Hide/Show inherited methods
public
static
File
getChosenFiles
(
HttpServletRequest
request)
After completion of the file selection process, this can be called to retrieve the list of files picked by the user.
After completion of the file selection process,
this can be called to retrieve the list of files
picked by the user.
Returns:
public
static
JOTFileBrowserSession
getFbSession
(
JOTFlowRequest
request)
Returns the fbSession object (The current user "view" in the file manager)
Returns the fbSession object (The current user "view" in the file manager)
Returns:
Parameters:
-
request
-
public
static
void
setFbSession
(
JOTFlowRequest
request,
JOTFileBrowserSession
fbSession)
sets the updated FbSession (user current view)
sets the updated FbSession (user current view)
Parameters:
-
request
-
-
fbSession
-
public
static
String
updateFileManagerView
(
JOTFlowRequest
request,
HttpServletResponse
response)
Update the filebrowser view (ie: files listings etc...)
Update the filebrowser view (ie: files listings etc...)
Returns:
Parameters:
-
request
-
-
response
-
Fields
Hide/Show inherited fields
public
final
static
String
ACTION_BROWSE_TO
= "BROWSE_TO"
public
final
static
String
ACTION_CREATE_FOLDER
= "CREATE_FOLDER"
public
final
static
String
ACTION_DELETE
= "DELETE"
public
final
static
String
ACTION_DOWNLOAD
= "DOWNLOAD"
public
final
static
String
ACTION_RENAME
= "RENAME"
public
final
static
String
ACTION_SELECT
= "SELECT"
public
final
static
String
ACTION_SORT_BY
= "SORT_BY"
public
final
static
String
ACTION_UPLOAD
= "UPLOAD"
public
final
static
int
TYPE_BROWSE
= "1"
public
final
static
int
TYPE_CHOOSE_1_FILE
= "2"
public
final
static
int
TYPE_CHOOSE_1_FOLDER
= "4"
public
final
static
int
TYPE_CHOOSE_1PLUS_FILE
= "3"
public
final
static
int
TYPE_UPLOAD_1_FILE
= "5"
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.5 ©Thibaut Colar