info.magnolia.module.blossom.paragraph
Class BackwardsCompatibleBlossomDialog

java.lang.Object
  extended by info.magnolia.cms.servlets.MVCServletHandlerImpl
      extended by info.magnolia.module.admininterface.DialogMVCHandler
          extended by info.magnolia.module.admininterface.dialogs.ConfiguredDialog
              extended by info.magnolia.module.blossom.paragraph.BackwardsCompatibleBlossomDialog
All Implemented Interfaces:
info.magnolia.cms.servlets.MVCServletHandler

public class BackwardsCompatibleBlossomDialog
extends info.magnolia.module.admininterface.dialogs.ConfiguredDialog

DialogHandler for editing paragraphs created with Blossom version 0.5. New content is not added using this dialog.

What makes version 0.5 content special is that it used only one paragraph and a nodeData named handlerPath to render a certain controller. This approach was deprecated and all controllers are now registered as proper paragraphs.

Since:
1.2.2

Field Summary
 
Fields inherited from class info.magnolia.module.admininterface.DialogMVCHandler
COMMAND_SAVE, COMMAND_SELECT_PARAGRAPH, COMMAND_SHOW_DIALOG, form, hm, msgs, nodeName, params, path, repository, richE, richEPaste, storageNode, 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
BackwardsCompatibleBlossomDialog(String name, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, info.magnolia.cms.core.Content configNode)
           
 
Method Summary
 String execute(String command)
           
 String getCommand()
           
 void renderHtml(String view)
           
 
Methods inherited from class info.magnolia.module.admininterface.dialogs.ConfiguredDialog
getConfigNode, getConfiguredDialog, getConfiguredDialog
 
Methods inherited from class info.magnolia.module.admininterface.DialogMVCHandler
configureSaveHandler, createDialog, createSaveHandler, getDialog, getItemType, getJsExecutedAfterSaving, getRepository, getSaveHandler, getStorageNode, onPostSave, onPreSave, onSave, onSaveFailed, removeSessionAttributes, save, setDialog, setItemType, setJsExecutedAfterSaving, showDialog, validate
 
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl
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

BackwardsCompatibleBlossomDialog

public BackwardsCompatibleBlossomDialog(String name,
                                        javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        info.magnolia.cms.core.Content configNode)
                                 throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException
Method Detail

getCommand

public String getCommand()
Specified by:
getCommand in interface info.magnolia.cms.servlets.MVCServletHandler
Overrides:
getCommand in class info.magnolia.module.admininterface.DialogMVCHandler

execute

public String execute(String command)
Specified by:
execute in interface info.magnolia.cms.servlets.MVCServletHandler
Overrides:
execute in class info.magnolia.cms.servlets.MVCServletHandlerImpl

renderHtml

public void renderHtml(String view)
                throws IOException
Specified by:
renderHtml in interface info.magnolia.cms.servlets.MVCServletHandler
Overrides:
renderHtml in class info.magnolia.module.admininterface.DialogMVCHandler
Throws:
IOException


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