info.magnolia.cms.servlets
Interface MVCServletHandler

All Known Implementing Classes:
AbstractList, AbstractSimpleSearchList, AdminCentralPage, AdminTreeMVCHandler, AllModulesListPage, CacheToolsPage, CommandBasedMVCServletHandler, ConfigurationPage, ConfiguredDialog, DevelopmentUtilsPage, DialogMVCHandler, ExportPage, FileThumbnailDialogPage, GroupEditDialog, ImportPage, Inbox, InstalledModulesListPage, JavascriptIncludePage, JavascriptMessagesPage, JCRUtilsPage, LinkBrowserDialogPage, LogViewerPage, MVCServletHandlerImpl, PageMVCHandler, ParagraphEditDialog, ParagraphEditDialog.NoDialogMVCHandler, ParagraphSelectDialog, QuickstartPage, RepositoryBrowserPage, RolesEditDialog, SendMailPage, SimplePageMVCHandler, SubPagesList, TemplatedMVCHandler, UserEditDialog, UsersPage, UsersTreeHandler, VersionsList, WebsiteSearchList, WebsiteTreeHandler, WebsiteVersionsList, WorkflowUtilPage

public interface MVCServletHandler

This Handler is used in the MVCServlet.

Version:
$Id: MVCServletHandler.java 41137 2011-01-06 18:19:25Z gjoseph $

Field Summary
static String VIEW_NOTHING
           
 
Method Summary
 String execute(String command)
          Execute the command.
 String getCommand()
          Returns the name of the command we want to execute.
 String getName()
          The name of the handler.
 void init()
          Called after instantiating.
 void renderHtml(String view)
          Render the tree depending on the view name.
 

Field Detail

VIEW_NOTHING

static final String VIEW_NOTHING
See Also:
Constant Field Values
Method Detail

getCommand

String getCommand()
Returns the name of the command we want to execute.

Returns:
name of the command

execute

String execute(String command)
Execute the command. Returns the view name.

Returns:
the name of the view to show (used in renderHtml)

renderHtml

void renderHtml(String view)
                throws IOException
Render the tree depending on the view name.

Parameters:
view -
Throws:
IOException

getName

String getName()
The name of the handler.


init

void init()
          throws Exception
Called after instantiating.

Throws:
Exception


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.