net.sourceforge.blogentis.modules.actions
Class BlogFileMod

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Action
          extended byorg.apache.turbine.modules.ActionEvent
              extended byorg.apache.turbine.util.velocity.VelocityActionEvent
                  extended byorg.apache.turbine.modules.actions.VelocityAction
                      extended byorg.apache.turbine.modules.actions.VelocitySecureAction
                          extended bynet.sourceforge.blogentis.turbine.SecureBlogAction
                              extended bynet.sourceforge.blogentis.modules.actions.BlogFileMod

public class BlogFileMod
extends SecureBlogAction


Field Summary
 
Fields inherited from class org.apache.turbine.modules.ActionEvent
BUTTON, BUTTON_LENGTH, LENGTH, log, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX
 
Constructor Summary
BlogFileMod()
           
 
Method Summary
 void doAdd(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
           
 void doAddnew(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
           
 void doEdit(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
           
 void doMkcol(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
           
 void doPerform(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context arg1)
           
 void doRemove(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
           
protected  java.lang.String[] getPermissions()
          Get the array of permissions this actions needs.
 
Methods inherited from class net.sourceforge.blogentis.turbine.SecureBlogAction
isAuthorized
 
Methods inherited from class org.apache.turbine.modules.actions.VelocitySecureAction
perform
 
Methods inherited from class org.apache.turbine.modules.actions.VelocityAction
doPerform, getContext, setTemplate
 
Methods inherited from class org.apache.turbine.util.velocity.VelocityActionEvent
executeEvents
 
Methods inherited from class org.apache.turbine.modules.ActionEvent
considerKey, executeEvents, formatString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogFileMod

public BlogFileMod()
Method Detail

doEdit

public void doEdit(org.apache.turbine.util.RunData data,
                   org.apache.velocity.context.Context context)
            throws java.lang.Exception
Throws:
java.lang.Exception

doMkcol

public void doMkcol(org.apache.turbine.util.RunData data,
                    org.apache.velocity.context.Context context)
             throws java.lang.Exception
Throws:
java.lang.Exception

doAddnew

public void doAddnew(org.apache.turbine.util.RunData data,
                     org.apache.velocity.context.Context context)
              throws java.lang.Exception
Throws:
java.lang.Exception

doAdd

public void doAdd(org.apache.turbine.util.RunData data,
                  org.apache.velocity.context.Context context)
           throws java.lang.Exception
Throws:
java.lang.Exception

doRemove

public void doRemove(org.apache.turbine.util.RunData data,
                     org.apache.velocity.context.Context context)
              throws java.lang.Exception
Throws:
java.lang.Exception

doPerform

public void doPerform(org.apache.turbine.util.RunData data,
                      org.apache.velocity.context.Context arg1)
               throws java.lang.Exception
Throws:
java.lang.Exception

getPermissions

protected java.lang.String[] getPermissions()
Description copied from class: SecureBlogAction
Get the array of permissions this actions needs. The logged-in user must have at least one of them to be allowed access to this screen.

Specified by:
getPermissions in class SecureBlogAction
Returns:
the array of permissions.


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.