net.fckeditor.requestcycle.impl
Class UserActionImpl

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

Deprecated. Class will be removed in FCKeditor.Java 2.6, functionality now served by EnabledUserAction.

@Deprecated
public class UserActionImpl
extends Object
implements UserAction

Standard implementation for UserAction. It always returns true.

Version:
$Id: UserActionImpl.java 3695 2009-06-18 20:18:38Z mosipov $
See Also:
EnabledUserAction

Constructor Summary
UserActionImpl()
          Deprecated.  
 
Method Summary
 boolean isCreateFolderEnabled(HttpServletRequest request)
          Deprecated. Checks if folder creation is enabled/allowed.
 boolean isEnabledForFileBrowsing(HttpServletRequest request)
          Deprecated. Checks if resource retrieval/listing is enabled/allowed.
 boolean isEnabledForFileUpload(HttpServletRequest request)
          Deprecated. 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

UserActionImpl

public UserActionImpl()
Deprecated. 
Method Detail

isEnabledForFileBrowsing

public boolean isEnabledForFileBrowsing(HttpServletRequest request)
Deprecated. 
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)
Deprecated. 
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)
Deprecated. 
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.