|
|||||||||||
| 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.jsf.dialog.features.DoubleSubmitCheckerFeature
| Constructor Summary | |
DoubleSubmitCheckerFeature()
|
|
| Method Summary | |
protected void |
dispose()
Called when the feature or dialog is disposed. |
java.lang.Integer |
getSequenceNumber(DialogInstanceId diid)
Returns the sequence-number for a specific dialog-instance. |
void |
incrementSequenceNumber(DialogInstanceId diid)
Increments the sequence-number for a specific dialog-instance. |
protected void |
init()
Called when the feature is initializing. |
boolean |
isSequenceNumberValid(DialogInstanceId diid,
java.lang.Integer requestSeqNbr)
Check if a sequence-number is valid. |
protected void |
removeSequenceNumberInformation(DialogInstanceId diid)
Removes the sequence number information for the given dialog-instance id. |
protected void |
setSequenceNumber(DialogInstanceId diid,
java.lang.Integer requestSeqNbr)
Sets the sequence number for the given dialog-instance in a map and keeps track of this data during requests. |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
activate, 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 DoubleSubmitCheckerFeature()
| Method Detail |
public boolean isSequenceNumberValid(DialogInstanceId diid,
java.lang.Integer requestSeqNbr)
DoubleSubmitCheckerService
isSequenceNumberValid in interface DoubleSubmitCheckerServicediid - the dialog-instance idrequestSeqNbr - the sequence-number
public java.lang.Integer getSequenceNumber(DialogInstanceId diid)
DoubleSubmitCheckerService
getSequenceNumber in interface DoubleSubmitCheckerServicediid - the dialog-instance id
public void incrementSequenceNumber(DialogInstanceId diid)
DoubleSubmitCheckerService
incrementSequenceNumber in interface DoubleSubmitCheckerServicediid - the dialog-instance id
protected void setSequenceNumber(DialogInstanceId diid,
java.lang.Integer requestSeqNbr)
diid - requestSeqNbr - protected void removeSequenceNumberInformation(DialogInstanceId diid)
diid -
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptionprotected 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 AbstractFeature
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||