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 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(ModuleRegistry moduleRegistry, DialogHandlerManager dialogHandlerManager)
           
 
Method Summary
protected  void collectDialogNodes(Content current, List<Content> dialogNodes)
           
protected  String getDialogId(Content node)
           
protected  boolean isDialogControlNode(Content node)
           
protected  boolean isDialogNode(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(ModuleRegistry moduleRegistry,
                                             DialogHandlerManager dialogHandlerManager)
Method Detail

reload

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

getDialogId

protected String getDialogId(Content node)
                      throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

collectDialogNodes

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

isDialogNode

protected boolean isDialogNode(Content node)
                        throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

isDialogControlNode

protected boolean isDialogControlNode(Content node)
                               throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


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