info.magnolia.ui.dialog.registry
Class ConfiguredDialogDefinitionManager

java.lang.Object
  extended by info.magnolia.cms.util.ModuleConfigurationObservingManager
      extended by info.magnolia.ui.dialog.registry.ConfiguredDialogDefinitionManager

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

ObservedManager for dialogs configured in repository.


Field Summary
static String DIALOG_CONFIG_NODE_NAME
           
 
Constructor Summary
ConfiguredDialogDefinitionManager(info.magnolia.module.ModuleRegistry moduleRegistry, DialogDefinitionRegistry dialogDefinitionRegistry)
           
 
Method Summary
protected  String createId(javax.jcr.Node configNode)
           
protected  DialogDefinitionProvider createProvider(javax.jcr.Node dialogNode)
           
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

DIALOG_CONFIG_NODE_NAME

public static final String DIALOG_CONFIG_NODE_NAME
See Also:
Constant Field Values
Constructor Detail

ConfiguredDialogDefinitionManager

@Inject
public ConfiguredDialogDefinitionManager(info.magnolia.module.ModuleRegistry moduleRegistry,
                                                DialogDefinitionRegistry dialogDefinitionRegistry)
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

createProvider

protected DialogDefinitionProvider createProvider(javax.jcr.Node dialogNode)
                                           throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

createId

protected String createId(javax.jcr.Node configNode)
                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.