|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WishlistPersistenceFacade
The WishlistPersistenceFacade.
| Method Summary | |
|---|---|
WishDto |
createWish()
Creates a new wish. |
void |
deleteWish(java.lang.String wishId)
Deletes an wish with this id. |
UserDto |
getUserById(java.lang.String userId)
Returns the user with this id. |
UserDto |
getUserByName(java.lang.String userName)
Returns a user with this name. |
WishDto |
getWishById(java.lang.String wishId)
Returns the wish with this id. |
java.util.List |
getWishes()
Returns all wishes. |
java.lang.String |
saveWish(WishDto wish)
Saves an wish. |
| Method Detail |
|---|
UserDto getUserById(java.lang.String userId)
userId - the id of user.
UserDto getUserByName(java.lang.String userName)
userName - the name of user
WishDto createWish()
java.lang.String saveWish(WishDto wish)
throws java.io.IOException
wish - the wish to save.
java.io.IOException - if the wish can't be saved.
void deleteWish(java.lang.String wishId)
throws java.io.IOException
wishId - the id of the wish to delete.
java.io.IOException - if the wish can't be deleted.
WishDto getWishById(java.lang.String wishId)
throws java.io.IOException
wishId - the id of the wish.
java.io.IOException - if the wish can't be accessed.
java.util.List getWishes()
throws java.io.IOException
java.io.IOException - if the wishes couldn't be loaded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||