|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.fckeditor.handlers.RequestCycleHandler
public class RequestCycleHandler
Handles the UserAction
and UserPathBuilder
interfaces.
This class instantiates the the chosen implementations and acts as a proxy
for their methods/access.
Constructor Summary | |
---|---|
RequestCycleHandler()
|
Method Summary | |
---|---|
static String |
getUserFilesAbsolutePath(HttpServletRequest request)
Returns the current absolute userfiles path. |
static String |
getUserFilesPath(HttpServletRequest request)
Returns the current userfiles path. |
static boolean |
isCreateFolderEnabled(HttpServletRequest request)
Returns true if user is allowed to create folders. |
static boolean |
isFileUploadEnabled(HttpServletRequest request)
Returns true if user is allowed to upload files. |
static boolean |
isGetResourcesEnabled(HttpServletRequest request)
Returns true if user is allowed to list resources. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestCycleHandler()
Method Detail |
---|
public static boolean isGetResourcesEnabled(HttpServletRequest request)
true
if user is allowed to list resources. The
behavior is specified by the current UserAction instance.
request
- current user request instance
UserAction.isEnabledForFileBrowsing(HttpServletRequest)
public static boolean isFileUploadEnabled(HttpServletRequest request)
true
if user is allowed to upload files. The
behavior is specified by the current UserAction instance.
request
- current user request instance
UserAction.isEnabledForFileUpload(HttpServletRequest)
public static boolean isCreateFolderEnabled(HttpServletRequest request)
true
if user is allowed to create folders. The
behavior is specified by the current UserAction instance.
request
- current user request instance
UserAction.isEnabledForFileBrowsing(HttpServletRequest)
public static String getUserFilesPath(HttpServletRequest request)
request
- current user request instance
UserPathBuilder.getUserFilesPath(HttpServletRequest)
public static String getUserFilesAbsolutePath(HttpServletRequest request)
Connector
instance.
request
- current user request instance
UserPathBuilder.getUserFilesAbsolutePath(HttpServletRequest)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |