|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CallbackHandler
Method Summary | |
---|---|
void |
onImport(java.lang.Object entity)
This method will be invoked when an import message successfully applied to databases. |
void |
onLoginFailure()
This method will be invoked when login failed. |
void |
onLoginSuccess()
This method will be invoked when login succeeded. |
void |
onReplayFailure(java.lang.Object entity)
This method will be invoked when a replay request failed. |
void |
onReplaySuccess(java.lang.Object entity)
This method will be invoked when a replay request succeeded. |
void |
onResumeSubscriptionFailure()
This method will be invoked when resume subscription failed. |
void |
onResumeSubscriptionSuccess()
This method will be invoked when resume subscription succeeded |
void |
onSearchFailure(java.lang.Object entity)
This method will be invoked when a backend search failed. |
void |
onSearchSuccess(java.lang.Object entity)
This method will be invoked when a backend search succeeded. |
void |
onSubscribeFailure()
This method will be invoked when subscribe succeeded. |
void |
onSubscribeSuccess()
This method will be invoked when subscribe failed. |
void |
onSuspendSubscriptionFailure()
This method will be invoked when subscription suspend failed. |
void |
onSuspendSubscriptionSuccess()
This method will be invoked when subscription suspend failed succeeded. |
int |
onSynchronize(ObjectList groups,
SynchronizationContext context)
This method will be invoked at the specified status of the synchronization. |
void |
onSynchronizeFailure(ObjectList groups)
This method will be invoked if the synchronization failed. |
void |
onSynchronizeSuccess(ObjectList groups)
This method will be invoked if synchronization succeed. |
void |
onUnsubscribeFailure()
This method will be invoked when unsubscribe failed. |
void |
onUnsubscribeSuccess()
This method will be invoked when unsubscribe succeeded |
Method Detail |
---|
void onImport(java.lang.Object entity)
entity
- The Mobile Business Object was just imported.void onLoginFailure()
void onLoginSuccess()
void onReplayFailure(java.lang.Object entity)
entity
- The Mobile Business Object to replay.void onReplaySuccess(java.lang.Object entity)
entity
- The Mobile Business Object to replayvoid onSearchFailure(java.lang.Object entity)
entity
- The backend search objectvoid onSearchSuccess(java.lang.Object entity)
entity
- The backend search objectvoid onSubscribeFailure()
void onSubscribeSuccess()
int onSynchronize(ObjectList groups, SynchronizationContext context)
groups
- A comma separated list of synchronization group names.context
- synchronization context.
void onSynchronizeFailure(ObjectList groups)
groups
- A comma separated list of synchronization group names.void onSynchronizeSuccess(ObjectList groups)
groups
- A comma separated list of synchronization group names.void onSuspendSubscriptionFailure()
void onSuspendSubscriptionSuccess()
void onResumeSubscriptionFailure()
void onResumeSubscriptionSuccess()
void onUnsubscribeFailure()
void onUnsubscribeSuccess()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |