|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserAction
An interface for user action control. In particular, this interface gives
you fine-grained control over the File Browser commands
.
Note: You are free to implement this interface the way you need it, in other words your return values can be global, regardless of the request, or on a per-request basis.
Method Summary | |
---|---|
boolean |
isCreateFolderEnabled(HttpServletRequest request)
Checks if folder creation is enabled/allowed. |
boolean |
isEnabledForFileBrowsing(HttpServletRequest request)
Checks if resource retrieval/listing is enabled/allowed. |
boolean |
isEnabledForFileUpload(HttpServletRequest request)
Checks if file upload is enabled/allowed. |
Method Detail |
---|
boolean isEnabledForFileUpload(HttpServletRequest request)
FileUpload
and QuickUpload
.isFileUploadEnabled
in future versions.
request
- current user request instance
true
if file upload is enabled/allowed, else false
boolean isEnabledForFileBrowsing(HttpServletRequest request)
GetFolders
and
GetFoldersAndFiles
.isGetResourcesEnabled
in future versions.
request
- current user request instance
true
if resource retrieval/listing is enabled/allowed,
else false
boolean isCreateFolderEnabled(HttpServletRequest request)
CreateFolder
.
request
- current user request instance
true
if folder creation is enabled/allowed, else false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |