com.j2biz.blogunity.web.actions.secure.blog.resources
Class BlogResourceAction

java.lang.Object
  extended bycom.j2biz.blogunity.web.actions.AbstractAction
      extended bycom.j2biz.blogunity.web.actions.secure.MyAbstractAction
          extended bycom.j2biz.blogunity.web.actions.secure.blog.resources.BlogResourceAction
Direct Known Subclasses:
CreateResourceDirectoryAction, DeleteResourceAction, ListResourcesAction, UploadResourceAction

public abstract class BlogResourceAction
extends MyAbstractAction

Since:
0.1
Author:
michelson

Field Summary
static int FILE
           
static int IMAGE
           
static int LOG
           
 
Fields inherited from class com.j2biz.blogunity.web.actions.secure.MyAbstractAction
user
 
Fields inherited from class com.j2biz.blogunity.web.actions.AbstractAction
currentActionPath, navigationStack
 
Constructor Summary
BlogResourceAction()
           
 
Method Summary
protected abstract  Blog getBlog()
           
protected  File getDirectoryFQN(String dirName)
           
protected abstract  IActionResult getErrorForward()
           
protected  File[] getFiles(String path)
           
protected abstract  int getResourceType()
           
protected abstract  IActionResult getSuccessForward()
           
protected abstract  IActionResult getSuccessRedirect()
           
 
Methods inherited from class com.j2biz.blogunity.web.actions.secure.MyAbstractAction
init
 
Methods inherited from class com.j2biz.blogunity.web.actions.AbstractAction
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE

public static final int FILE
See Also:
Constant Field Values

IMAGE

public static final int IMAGE
See Also:
Constant Field Values

LOG

public static final int LOG
See Also:
Constant Field Values
Constructor Detail

BlogResourceAction

public BlogResourceAction()
Method Detail

getSuccessRedirect

protected abstract IActionResult getSuccessRedirect()

getErrorForward

protected abstract IActionResult getErrorForward()

getSuccessForward

protected abstract IActionResult getSuccessForward()

getDirectoryFQN

protected File getDirectoryFQN(String dirName)

getBlog

protected abstract Blog getBlog()

getResourceType

protected abstract int getResourceType()

getFiles

protected File[] getFiles(String path)
                   throws BlogunityException
Throws:
BlogunityException


Copyright (c)j2biz.com