Copyright© 2008-2018 SiteVision AB, all rights reserved.
O
- script objectF
- script functionpublic interface JsonRequesterPromise<O,F> extends JsonRequester<O,F>
JsonRequester
invocation.JsonRequester
Modifier and Type | Method and Description |
---|---|
JsonRequesterPromise<O,F> |
done(F aCallback)
Invoked when a
JsonRequester was successfully executed. |
JsonRequesterPromise<O,F> |
fail(F aCallback)
Invoked when a
JsonRequester was unsuccessfully executed. |
JsonRequesterPromise<O,F> done(F aCallback)
JsonRequester
was successfully executed.
The callback is invoked with two optional arguments:
aCallback
- a callback function that handles the JSON resultJsonRequesterPromise<O,F> fail(F aCallback)
JsonRequester
was unsuccessfully executed.
The callback is invoked with two optional arguments:
aCallback
- a callback function that handles fail stateSiteVision - Portal and Content Management Made Easy
SiteVision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2018 SiteVision AB, all rights reserved.