info.magnolia.module.admininterface.dialogs
Class ParagraphEditDialog.NoDialogMVCHandler

java.lang.Object
  extended by info.magnolia.cms.servlets.MVCServletHandlerImpl
      extended by info.magnolia.module.admininterface.DialogMVCHandler
          extended by info.magnolia.module.admininterface.dialogs.ParagraphEditDialog.NoDialogMVCHandler
All Implemented Interfaces:
MVCServletHandler
Enclosing class:
ParagraphEditDialog

public static class ParagraphEditDialog.NoDialogMVCHandler
extends DialogMVCHandler


Field Summary
 
Fields inherited from class info.magnolia.module.admininterface.DialogMVCHandler
COMMAND_SAVE, COMMAND_SELECT_PARAGRAPH, COMMAND_SHOW_DIALOG, form, hm, locale, msgs, nodeName, params, path, repository, richE, richEPaste, storageNode, treeBasePath, VIEW_CLOSE_WINDOW, VIEW_SHOW_DIALOG
 
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
exception, request, response, VIEW_ERROR, VIEW_SUCCESS
 
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler
VIEW_NOTHING
 
Constructor Summary
ParagraphEditDialog.NoDialogMVCHandler(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 String getCommand()
          Returns the name of the command we want to execute.
 String save()
          Uses the SaveControl.
 
Methods inherited from class info.magnolia.module.admininterface.DialogMVCHandler
configureDialog, configureSaveHandler, createDialog, createSaveHandler, getConfigNode, getDialog, getItemType, getJsExecutedAfterSaving, getRepository, getSaveHandler, getStorageNode, onPostSave, onPreSave, onSave, onSaveFailed, removeSessionAttributes, renderHtml, setDialog, setItemType, setJsExecutedAfterSaving, showDialog, validate
 
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
execute, getException, getExceptionStackTrace, getName, getRequest, getResponse, init, populateFromRequest, setCommand, setRequest, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParagraphEditDialog.NoDialogMVCHandler

public ParagraphEditDialog.NoDialogMVCHandler(javax.servlet.http.HttpServletRequest request,
                                              javax.servlet.http.HttpServletResponse response)
Method Detail

getCommand

public String getCommand()
Description copied from interface: MVCServletHandler
Returns the name of the command we want to execute.

Specified by:
getCommand in interface MVCServletHandler
Overrides:
getCommand in class DialogMVCHandler
Returns:
Returns the command.

save

public String save()
Description copied from class: DialogMVCHandler
Uses the SaveControl. Override to take influence. todo - this should take care of exceptions thrown while writing - onPreSave, Save and onPostSave should be allowed to throw an exception on failure

Overrides:
save in class DialogMVCHandler
Returns:
close view name


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.