|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WishAdapter
| Method Summary | |
|---|---|
void |
deleteWish(java.lang.String wishKey)
deletes the wish with the key wishKey. |
SafeHashtable |
getErrors()
gets errormessages from the last action. |
java.lang.String |
getLastAction()
gets the last executed forward of the webserver. |
WishDtoImpl |
getLoadedWish()
|
UserDtoImpl |
getLoadedWishAuthor()
|
java.util.Vector |
getLoadedWishes()
gets the loaded wishes, if the last action performed by the adapter was a listWishAction. |
SafeHashtable |
getMessages()
gets information about the last action. |
void |
loadWish(java.lang.String wishKey)
loads the wish and the author of the wish. |
void |
loadWishes()
gets the wishlist. |
void |
login(java.lang.String username,
java.lang.String password)
performs the login to the server. |
void |
saveWish(WishDtoImpl wish)
saves the wish. |
| Method Detail |
|---|
void login(java.lang.String username,
java.lang.String password)
throws AdapterException
username - the username of the userpassword - the password of the user
AdapterException - if the login could not be performed correctly
void loadWishes()
throws AdapterException
AdapterException - if the wishes couldn't be retrievedjava.util.Vector getLoadedWishes()
void saveWish(WishDtoImpl wish)
throws AdapterException
wish - the wish to save
AdapterException - if the wish could not be saved
void deleteWish(java.lang.String wishKey)
throws AdapterException
wishKey - the key of the wish to delete
AdapterException - if the wish could not be deletedjava.lang.String getLastAction()
void loadWish(java.lang.String wishKey)
throws AdapterException
wishKey - the key of the wish to load
AdapterException - if the wish could not be loadedgetLoadedWish(),
getLoadedWishAuthor()
WishDtoImpl getLoadedWish()
throws AdapterException
AdapterException - if the wish could not be loadedloadWish(String)
UserDtoImpl getLoadedWishAuthor()
throws AdapterException
AdapterException - if the wish could not be loadedloadWish(String)SafeHashtable getMessages()
SafeHashtable getErrors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||