info.magnolia.module.admininterface
Class ConfiguredDialogHandlerManager

java.lang.Object
  extended by info.magnolia.cms.util.ModuleConfigurationObservingManager
      extended by info.magnolia.module.admininterface.ConfiguredDialogHandlerManager

@Singleton
public class ConfiguredDialogHandlerManager
extends info.magnolia.cms.util.ModuleConfigurationObservingManager

Observes dialogs configured in modules and registers them with DialogHandlerManager when they're changed.

Version:
$Id$

Field Summary
protected  org.slf4j.Logger log
           
 
Constructor Summary
ConfiguredDialogHandlerManager(info.magnolia.module.ModuleRegistry moduleRegistry, DialogHandlerManager dialogHandlerManager)
           
 
Method Summary
protected  void collectDialogNodes(info.magnolia.cms.core.Content current, List<info.magnolia.cms.core.Content> dialogNodes)
           
protected  String getDialogId(info.magnolia.cms.core.Content node)
           
protected  boolean isDialogControlNode(info.magnolia.cms.core.Content node)
           
protected  boolean isDialogNode(info.magnolia.cms.core.Content node)
           
protected  void reload(List<javax.jcr.Node> nodes)
           
 
Methods inherited from class info.magnolia.cms.util.ModuleConfigurationObservingManager
getObservedPaths, getReloadMonitor, getSession, onClear, onRegister, reload, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.slf4j.Logger log
Constructor Detail

ConfiguredDialogHandlerManager

@Inject
public ConfiguredDialogHandlerManager(info.magnolia.module.ModuleRegistry moduleRegistry,
                                             DialogHandlerManager dialogHandlerManager)
Method Detail

reload

protected void reload(List<javax.jcr.Node> nodes)
               throws javax.jcr.RepositoryException
Overrides:
reload in class info.magnolia.cms.util.ModuleConfigurationObservingManager
Throws:
javax.jcr.RepositoryException

getDialogId

protected String getDialogId(info.magnolia.cms.core.Content node)
                      throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

collectDialogNodes

protected void collectDialogNodes(info.magnolia.cms.core.Content current,
                                  List<info.magnolia.cms.core.Content> dialogNodes)
                           throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

isDialogNode

protected boolean isDialogNode(info.magnolia.cms.core.Content node)
                        throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

isDialogControlNode

protected boolean isDialogControlNode(info.magnolia.cms.core.Content node)
                               throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


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