| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sri.emo.wizard.expressoimpl.SelectionWizDefinitionRepository
public class SelectionWizDefinitionRepository
Expresso-aware wizard repository.
| Field Summary | 
|---|
| Fields inherited from interface com.sri.emo.wizard.WizDefinitionRepository | 
|---|
| DEFAULT_SORT_ORDER, NO_RESULTS | 
| Constructor Summary | |
|---|---|
| SelectionWizDefinitionRepository()Default Cosntructor. | |
| Method Summary | |
|---|---|
|  boolean | canRequesterAdd()Returns true if the current requester can add. | 
|  WizDefinition | findById(int key)Find a wizard definition by id. | 
|  List | listAll(String sortOrder)Lists all wizards defined by the system. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SelectionWizDefinitionRepository()
| Method Detail | 
|---|
public WizDefinition findById(int key)
                       throws ObjectNotFoundException,
                              RepositoryException
findById in interface WizDefinitionRepositorykey - int the wizard id.
DBRecordNotFoundException - if the key doesn't list anything.
NonHandleableException - on underlying database error.
ObjectNotFoundException
RepositoryException
public List listAll(String sortOrder)
             throws RepositoryException
listAll in interface WizDefinitionRepositorysortOrder - String the field to sort by or DEFAULT_SORT_ORDER if
                  no specific order is desired.
NonHandleableException - upon underlying query error.
RepositoryException
public boolean canRequesterAdd()
                        throws RepositoryException
canRequesterAdd in interface WizDefinitionRepositoryNonHandleableException
RepositoryException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||