info.magnolia.module.blossom.paragraph
Class DefaultBlossomParagraphRegistry
java.lang.Object
info.magnolia.module.blossom.paragraph.DefaultBlossomParagraphRegistry
- All Implemented Interfaces:
- BlossomParagraphRegistry, org.springframework.beans.factory.InitializingBean
public class DefaultBlossomParagraphRegistry
- extends Object
- implements BlossomParagraphRegistry, org.springframework.beans.factory.InitializingBean
Default implementation of BlossomParagraphRegistry
.
- Since:
- 0.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultBlossomParagraphRegistry
public DefaultBlossomParagraphRegistry()
setDescriptionBuilder
public void setDescriptionBuilder(ParagraphDescriptionBuilder descriptionBuilder)
getHandlerPathNodeDataName
public String getHandlerPathNodeDataName()
setHandlerPathNodeDataName
public void setHandlerPathNodeDataName(String handlerPathNodeDataName)
getPlaceholderParagraphName
public String getPlaceholderParagraphName()
setPlaceholderParagraphName
public void setPlaceholderParagraphName(String placeholderParagraphName)
getParagraph
public BlossomParagraphDescription getParagraph(String name)
- Specified by:
getParagraph
in interface BlossomParagraphRegistry
getParagraph
public BlossomParagraphDescription getParagraph(info.magnolia.cms.core.Content content)
throws javax.jcr.RepositoryException
- Specified by:
getParagraph
in interface BlossomParagraphRegistry
- Throws:
javax.jcr.RepositoryException
getParagraph
public BlossomParagraphDescription getParagraph(info.magnolia.cms.core.Content content,
String paragraphName)
throws javax.jcr.RepositoryException
- Specified by:
getParagraph
in interface BlossomParagraphRegistry
- Throws:
javax.jcr.RepositoryException
getParagraphs
public ConcurrentMap<String,BlossomParagraphDescription> getParagraphs()
- Specified by:
getParagraphs
in interface BlossomParagraphRegistry
registerParagraph
public void registerParagraph(BlossomDispatcher dispatcher,
Object handler,
String handlerPath)
throws javax.jcr.RepositoryException
- Specified by:
registerParagraph
in interface BlossomParagraphRegistry
- Throws:
javax.jcr.RepositoryException
registerAnonymousDialog
protected void registerAnonymousDialog(Object handler,
BlossomParagraphDescription description)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
addParagraph
protected void addParagraph(BlossomParagraphDescription description)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
writeParagraphDefinition
protected void writeParagraphDefinition(BlossomParagraphDescription description)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2009-2011 Magnolia International Ltd.. All Rights Reserved.