org.deltava.commands.blog
Class BlogEntryCommand

java.lang.Object
  extended by org.deltava.commands.AbstractCommand
      extended by org.deltava.commands.AbstractFormCommand
          extended by org.deltava.commands.blog.BlogEntryCommand
All Implemented Interfaces:
Command

public class BlogEntryCommand
extends AbstractFormCommand

A Web Site Command to handle blog entries.

Since:
1.0
Version:
2.3
Author:
Luke

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deltava.commands.Command
Command.Scope
 
Field Summary
 
Fields inherited from class org.deltava.commands.AbstractFormCommand
EDIT, OPS, READ, SAVE
 
Fields inherited from interface org.deltava.commands.Command
APPLICATION, ID, OPERATION, PAGE, REQUEST, SESSION
 
Constructor Summary
BlogEntryCommand()
           
 
Method Summary
protected  void execEdit(CommandContext ctx)
          Callback method called when editing the blog entry.
protected  void execRead(CommandContext ctx)
          Callback method called when reading the blog entry.
protected  void execSave(CommandContext ctx)
          Callback method called when saving the blog entry.
 
Methods inherited from class org.deltava.commands.AbstractFormCommand
execute
 
Methods inherited from class org.deltava.commands.AbstractCommand
getID, getName, getRoles, init, notFoundException, parseDateTime, parseDateTime, securityException, setRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogEntryCommand

public BlogEntryCommand()
Method Detail

execSave

protected void execSave(CommandContext ctx)
                 throws CommandException
Callback method called when saving the blog entry.

Specified by:
execSave in class AbstractFormCommand
Parameters:
ctx - the Command context
Throws:
CommandException - if an error occurs

execEdit

protected void execEdit(CommandContext ctx)
                 throws CommandException
Callback method called when editing the blog entry.

Specified by:
execEdit in class AbstractFormCommand
Parameters:
ctx - the Command context
Throws:
CommandException - if an error occurs

execRead

protected void execRead(CommandContext ctx)
                 throws CommandException
Callback method called when reading the blog entry.

Specified by:
execRead in class AbstractFormCommand
Parameters:
ctx - the Command context
Throws:
CommandException - if an error occurs


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.