net.fckeditor.requestcycle.impl
Class DisabledUserAction

java.lang.Object
  extended by net.fckeditor.requestcycle.impl.DisabledUserAction
All Implemented Interfaces:
UserAction

public class DisabledUserAction
extends Object
implements UserAction

UserAction implementation which always returns false.

Version:
$Id: DisabledUserAction.java 3746 2009-06-22 17:53:03Z mosipov $

Constructor Summary
DisabledUserAction()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisabledUserAction

public DisabledUserAction()
Method Detail

isEnabledForFileBrowsing

public boolean isEnabledForFileBrowsing(HttpServletRequest request)
Description copied from interface: UserAction
Checks if resource retrieval/listing is enabled/allowed. This method maps to GetFolders and GetFoldersAndFiles.
Note: This method may be renamed to isGetResourcesEnabled in future versions.

Specified by:
isEnabledForFileBrowsing in interface UserAction
Parameters:
request - current user request instance
Returns:
true if resource retrieval/listing is enabled/allowed, else false

isEnabledForFileUpload

public boolean isEnabledForFileUpload(HttpServletRequest request)
Description copied from interface: UserAction
Checks if file upload is enabled/allowed. This method maps to FileUpload and QuickUpload.
Note: This method may be renamed to isFileUploadEnabled in future versions.

Specified by:
isEnabledForFileUpload in interface UserAction
Parameters:
request - current user request instance
Returns:
true if file upload is enabled/allowed, else false

isCreateFolderEnabled

public boolean isCreateFolderEnabled(HttpServletRequest request)
Description copied from interface: UserAction
Checks if folder creation is enabled/allowed. This method maps to CreateFolder.

Specified by:
isCreateFolderEnabled in interface UserAction
Parameters:
request - current user request instance
Returns:
true if folder creation is enabled/allowed, else false


Copyright © 2004-2009 Frederico Caldeira Knabben. All Rights Reserved.