com.sri.emo.wizard.defaults
Class ExpressoAwareWizardRepository

java.lang.Object
  extended by com.sri.emo.wizard.defaults.DefaultWizardRepository
      extended by com.sri.emo.wizard.defaults.ExpressoAwareWizardRepository
All Implemented Interfaces:
WizardRepository, Serializable

public class ExpressoAwareWizardRepository
extends DefaultWizardRepository
implements Serializable

Version that allows, not only dynamic runtime, but also checks the underlying Expresso data objects for defined wizards. It provides

Author:
Michael Rimov
See Also:
Serialized Form

Constructor Summary
ExpressoAwareWizardRepository(ComponentServiceLocator componentLocator)
           
 
Method Summary
 Wizard find(Serializable id)
          Provides bridging of not only the usual find, but also in comparison to security requests.
protected  Wizard loadWizard(String id)
          Loads the wizard.
 
Methods inherited from class com.sri.emo.wizard.defaults.DefaultWizardRepository
addFactory, equals, hashCode, list, removeWizard, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpressoAwareWizardRepository

public ExpressoAwareWizardRepository(ComponentServiceLocator componentLocator)
Method Detail

find

public Wizard find(Serializable id)
            throws WizardException
Provides bridging of not only the usual find, but also in comparison to security requests.

Specified by:
find in interface WizardRepository
Overrides:
find in class DefaultWizardRepository
Parameters:
id - the wizard id. This implementation expects an integer.
Returns:
Wizard instance.
Throws:
WizardException

loadWizard

protected Wizard loadWizard(String id)
                     throws WizardException
Loads the wizard.

Parameters:
id - the wizard id.
Returns:
Wizard instance.
Throws:
WizardException - upon factory construction error, database error, or wizard construction error.


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.