net.sourceforge.blogentis.modules.screens
Class BlogMedia

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.BlogMedia

public class BlogMedia
extends SecureBlogScreen


Nested Class Summary
static class BlogMedia.DateComparator
           
static class BlogMedia.FileFilter
           
static class BlogMedia.MediaComparator
           
static class BlogMedia.MediaFileAdaptor
           
static class BlogMedia.MediaFolderAdaptor
           
static class BlogMedia.NameComparator
           
static class BlogMedia.SizeComparator
           
 
Field Summary
 
Fields inherited from class org.apache.turbine.modules.screens.TemplateScreen
log
 
Constructor Summary
BlogMedia()
           
 
Method Summary
protected  void doBuildTemplate(org.apache.turbine.util.RunData data, org.apache.velocity.context.Context context)
           
protected  java.util.List getParentLinks(org.apache.turbine.util.RunData d, Blog b, java.lang.String path)
           
protected  java.lang.String[] getPermissions()
          Get the array of permissions this screen supports.
 
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

BlogMedia

public BlogMedia()
Method Detail

getParentLinks

protected java.util.List getParentLinks(org.apache.turbine.util.RunData d,
                                        Blog b,
                                        java.lang.String path)

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.