net.fckeditor.requestcycle.impl
Class UserActionImpl

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

public class UserActionImpl
extends java.lang.Object
implements UserAction

Standard implementation for UserAction. It always returns true.

Version:
$Id: UserActionImpl.java 3840 2009-07-08 20:29:46Z mosipov $

Constructor Summary
UserActionImpl()
           
 
Method Summary
 boolean isEnabledForFileBrowsing(javax.servlet.http.HttpServletRequest request)
          Authenticates/enables the current user for browsing files.
If the implementation doesn't bother you, just return true.
 boolean isEnabledForFileUpload(javax.servlet.http.HttpServletRequest request)
          Authenticates/enables the current user for uploading files.
If the implementation doesn't bother you, just return true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserActionImpl

public UserActionImpl()
Method Detail

isEnabledForFileBrowsing

public boolean isEnabledForFileBrowsing(javax.servlet.http.HttpServletRequest request)
Description copied from interface: UserAction
Authenticates/enables the current user for browsing files.
If the implementation doesn't bother you, just return true.

Specified by:
isEnabledForFileBrowsing in interface UserAction
Parameters:
request - Servlet request from user
Returns:
true if user can browse the server, or false

isEnabledForFileUpload

public boolean isEnabledForFileUpload(javax.servlet.http.HttpServletRequest request)
Description copied from interface: UserAction
Authenticates/enables the current user for uploading files.
If the implementation doesn't bother you, just return true.

Specified by:
isEnabledForFileUpload in interface UserAction
Parameters:
request - Servlet request from user
Returns:
true if user can upload to the server, or false


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