|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CreationRepository
The boundary interface between the controller and the underlying DBObjects.
| Method Summary | |
|---|---|
int |
add(CreationBeans newValue)
Adds a CompletionBean to the underlying data store. |
void |
delete(int wizardId)
Deletes the completion bean from the underlying data store. |
CreationBeans |
findById(int wizardId)
Finds the completion bean by id number. |
CreationBeans |
findById(Object previouslyGeneratedKey)
Finds the bean by an id that was generated earlier by other pieces of the factory. |
void |
update(CreationBeans newValue)
Updates the completion bean. |
| Method Detail |
|---|
int add(CreationBeans newValue)
throws RepositoryException,
RepositoryConversionException
newValue - CompletionBean the metadata for the wizard to update.
RepositoryException - upon underlying error.
RepositoryConversionException - if there is an error converting
the underlying dbobjects to POJOs
void update(CreationBeans newValue)
throws RepositoryException,
RepositoryConversionException,
ObjectNotFoundException
newValue - CompletionBean
RepositoryException - upon update erorr.
RepositoryConversionException - if there is an error converting
the underlying dbobjects to POJOs
ObjectNotFoundException
void delete(int wizardId)
throws RepositoryException,
ObjectNotFoundException
wizardId - int the wizard surrogate key.
RepositoryException - upon deletion error.
RepositoryConversionException - if there is an error converting
the underlying dbobjects to POJOs
ObjectNotFoundException
CreationBeans findById(int wizardId)
throws RepositoryException,
ObjectNotFoundException,
RepositoryConversionException
wizardId - int the underlying wizard id (surrogate key)
RepositoryException - for database communication error.
ObjectNotFoundException - if the record does not exist.
RepositoryConversionException - if there is an error converting
the underlying dbobjects to POJOs
CreationBeans findById(Object previouslyGeneratedKey)
throws RepositoryException,
ObjectNotFoundException,
RepositoryConversionException
previouslyGeneratedKey - Object -- typically some form of integer
RepositoryException - for database communication error.
ObjectNotFoundException - if the record does not exist.
RepositoryConversionException - if there is an error converting
the underlying dbobjects to POJOs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||