|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractFeature
com.sdm.quasar.client.showcase.jsf.dialogs.webproblems.bookmarks.BookmarksDetailDialog
This dialog demonstrates bookmarking in the Quasar Web Client. The bookmark request needs some parameters of the article to show the details of that article.
| Constructor Summary | |
BookmarksDetailDialog()
|
|
| Method Summary | |
protected void |
activate()
Called when the dialog is activated. |
void |
dispose()
Called when the feature or dialog is disposed. |
Article |
getArticle()
|
java.lang.String |
getComment()
|
java.util.List |
getComments()
|
java.util.Properties |
getRequestParameters()
|
void |
goBack()
Returns to the article list dialog. |
protected void |
init()
Called when the feature is initializing. |
boolean |
isCommentDisabled()
Disables the send-comment-button when no article is displayed |
void |
saveComment()
Adds the new comment to the list of existing comments of one article and empties the text area afterwards. |
void |
setComment(java.lang.String comment)
|
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BookmarksDetailDialog()
| Method Detail |
public Article getArticle()
public java.util.List getComments()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
protected void init()
AbstractFeatureDialogControl installed to. To access the
DialogControl use the AbstractFeature.getDialogControl() method.
Override this method to perform some action on initialization e.g. register public services.
init in class AbstractFeatureprotected void activate()
AbstractFeatureLifeCycle.activate().
The default implementation in AbstractFeature does nothing.
activate in class AbstractFeature
public void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptionpublic java.util.Properties getRequestParameters()
public void saveComment()
public boolean isCommentDisabled()
public void goBack()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||