info.magnolia.module.blossom.dialog
Interface BlossomDialogRegistry

All Known Implementing Classes:
DefaultBlossomDialogRegistry

public interface BlossomDialogRegistry

Registry of Blossom managed dialogs.

Since:
1.0

Method Summary
 void addDialogDescription(BlossomDialogDescription dialogDescription)
           
 BlossomDialogDescription getDialogDescription(String name)
           
 void registerDialogFactories(Object handler)
          Registers managed dialogs for every method that is annotated with DialogFactory.
 void registerDialogFactory(Object factoryObject)
          Registers a managed dialog.
 void registerDialogFactory(String name, String label, Object factoryObject)
          Registers a managed dialog.
 

Method Detail

getDialogDescription

BlossomDialogDescription getDialogDescription(String name)

addDialogDescription

void addDialogDescription(BlossomDialogDescription dialogDescription)
                          throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

registerDialogFactory

void registerDialogFactory(Object factoryObject)
                           throws javax.jcr.RepositoryException
Registers a managed dialog. The object needs to be annotated with DialogFactory.

Throws:
javax.jcr.RepositoryException

registerDialogFactory

void registerDialogFactory(String name,
                           String label,
                           Object factoryObject)
                           throws javax.jcr.RepositoryException
Registers a managed dialog. The object should not be annotated with DialogFactory.

Throws:
javax.jcr.RepositoryException

registerDialogFactories

void registerDialogFactories(Object handler)
                             throws javax.jcr.RepositoryException
Registers managed dialogs for every method that is annotated with DialogFactory.

Throws:
javax.jcr.RepositoryException


Copyright © 2009-2011 Magnolia International Ltd.. All Rights Reserved.