net.sourceforge.blogentis.modules.screens
Class PostEdit

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.turbine.modules.Screen
          extended byorg.apache.turbine.modules.screens.TemplateScreen
              extended byorg.apache.turbine.modules.screens.VelocityScreen
                  extended bynet.sourceforge.blogentis.turbine.BaseBlogScreen
                      extended bynet.sourceforge.blogentis.turbine.SecureBlogScreen
                          extended bynet.sourceforge.blogentis.modules.screens.PostEdit

public class PostEdit
extends SecureBlogScreen


Nested Class Summary
static class PostEdit.PluginHelper
           
 
Field Summary
 
Fields inherited from class org.apache.turbine.modules.screens.TemplateScreen
log
 
Constructor Summary
PostEdit()
           
 
Method Summary
protected  void doAdd(BlogRunData data, org.apache.velocity.context.Context context)
           
protected  void doBuildTemplate(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
           
protected  void doEdit(BlogRunData data, org.apache.velocity.context.Context context)
           
protected  java.lang.String[] getPermissions()
          Get the array of permissions this screen supports.
protected  Post getPost(org.apache.turbine.util.RunData data)
           
protected  java.util.List makeSectionList(java.util.List sections)
           
 
Methods inherited from class net.sourceforge.blogentis.turbine.SecureBlogScreen
isAuthorized
 
Methods inherited from class net.sourceforge.blogentis.turbine.BaseBlogScreen
getLayoutTemplate, setTemplate
 
Methods inherited from class org.apache.turbine.modules.screens.VelocityScreen
buildTemplate, doBuildTemplate, getContext
 
Methods inherited from class org.apache.turbine.modules.screens.TemplateScreen
doBuild, doPostBuildTemplate, doRedirect, doRedirect, setTemplate
 
Methods inherited from class org.apache.turbine.modules.Screen
build, getLayout, prepareText, prepareTextMinimum, setLayout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostEdit

public PostEdit()
Method Detail

getPost

protected Post getPost(org.apache.turbine.util.RunData data)
                throws java.lang.Exception
Throws:
java.lang.Exception

makeSectionList

protected java.util.List makeSectionList(java.util.List sections)

doEdit

protected void doEdit(BlogRunData data,
                      org.apache.velocity.context.Context context)
               throws java.lang.Exception
Throws:
java.lang.Exception

doAdd

protected void doAdd(BlogRunData data,
                     org.apache.velocity.context.Context context)
              throws java.lang.Exception
Throws:
java.lang.Exception

doBuildTemplate

protected void doBuildTemplate(org.apache.turbine.util.RunData data,
                               org.apache.velocity.context.Context context)
                        throws java.lang.Exception
Overrides:
doBuildTemplate in class BaseBlogScreen
Throws:
java.lang.Exception

getPermissions

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

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


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