info.magnolia.module.admininterface
Class DialogHandlerManager
java.lang.Object
info.magnolia.module.admininterface.DialogHandlerManager
@Singleton
public class DialogHandlerManager
- extends Object
Manages all the dialog handlers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DialogHandlerManager
public DialogHandlerManager()
register
public void register(DialogHandlerProvider provider)
unregister
public void unregister(String id)
unregisterAndRegister
public Set<String> unregisterAndRegister(Set<String> registeredIds,
List<DialogHandlerProvider> providers)
getDialogConfigNode
@Deprecated
public Content getDialogConfigNode(String id)
- Deprecated. since 4.3.2, is obsolete since fix for MAGNOLIA-2907
getDialogHandler
public DialogMVCHandler getDialogHandler(String id,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
getDialog
public Dialog getDialog(String id)
throws javax.jcr.RepositoryException
- Caution: use this method with care, as it creates an Dialog instance having ServletRequest
and -Response as well as StorageNode being null.
- Throws:
javax.jcr.RepositoryException
getInstance
public static DialogHandlerManager getInstance()
- Returns:
- Returns the instance.
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.