net.sourceforge.blogentis.modules.screens
Class PostEdit
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Screen
org.apache.turbine.modules.screens.TemplateScreen
org.apache.turbine.modules.screens.VelocityScreen
net.sourceforge.blogentis.turbine.BaseBlogScreen
net.sourceforge.blogentis.turbine.SecureBlogScreen
net.sourceforge.blogentis.modules.screens.PostEdit
- public class PostEdit
- extends SecureBlogScreen
Fields inherited from class org.apache.turbine.modules.screens.TemplateScreen |
log |
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 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 |
PostEdit
public PostEdit()
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.