info.magnolia.cms.servlets
Interface MVCServletHandler

All Known Implementing Classes:
AbstractList, AbstractSimpleSearchList, ActivationMonitorPage, ActivationPage, AdminCentralPage, AdminTreeMVCHandler, AllModulesListPage, CacheToolsPage, CommandBasedMVCServletHandler, ConfigurationPage, ConfiguredDialog, DevelopmentUtilsPage, DialogMVCHandler, ExportPage, FileThumbnailDialogPage, GroupEditDialog, HierarchicalUsersTreeHandler, ImportPage, Inbox, InstalledModulesListPage, JavascriptIncludePage, JavascriptMessagesPage, JCRUtilsPage, LinkBrowserDialogPage, LogViewerPage, MVCServletHandlerImpl, PageMVCHandler, ParagraphEditDialog, ParagraphEditDialog.NoDialogMVCHandler, ParagraphSelectDialog, PermissionPage, 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$

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-2013 Magnolia International Ltd.. All Rights Reserved.