com.sri.emo.wizard.defaults
Class ExpressoAwareWizardRepository
java.lang.Object
com.sri.emo.wizard.defaults.DefaultWizardRepository
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
ExpressoAwareWizardRepository
public ExpressoAwareWizardRepository(ComponentServiceLocator componentLocator)
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.