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 java.lang.String VIEW_NOTHING
           
 
Method Summary
 java.lang.String execute(java.lang.String command)
          Execute the command.
 java.lang.String getCommand()
          Returns the name of the command we want to execute.
 java.lang.String getName()
          The name of the handler.
 void init()
          Called after instantiating.
 void renderHtml(java.lang.String view)
          Render the tree depending on the view name.
 

Field Detail

VIEW_NOTHING

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

getCommand

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

Returns:
name of the command

execute

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

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

renderHtml

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

Parameters:
view -
Throws:
java.io.IOException

getName

java.lang.String getName()
The name of the handler.


init

void init()
          throws java.lang.Exception
Called after instantiating.

Throws:
java.lang.Exception


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