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.

Version:
$Id: UserActionImpl.java 1906 2008-04-10 16:37:42Z th-schwarz $

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 file.
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 else false

isEnabledForFileUpload

public boolean isEnabledForFileUpload(javax.servlet.http.HttpServletRequest request)
Description copied from interface: UserAction
Authenticates/enables the current user for uploading file.
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 else false


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