|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sybase.persistence.DefaultCallbackHandler
public class DefaultCallbackHandler
A default implementation for the Sybase.Persistence.CallbackHandler
interface.
Application programmers should implement their own CallbackHandler.
This class contains dummy implements, application programmer should not use this default implementation
Constructor Summary | |
---|---|
DefaultCallbackHandler()
|
Method Summary | |
---|---|
void |
onImport(java.lang.Object entity)
Sybase internal use only. |
void |
onLoginFailure()
Sybase internal use only. |
void |
onLoginSuccess()
Sybase internal use only. |
void |
onReplayFailure(java.lang.Object entity)
Sybase internal use only. |
void |
onReplaySuccess(java.lang.Object entity)
Sybase internal use only. |
void |
onResumeSubscriptionFailure()
Sybase internal use only. |
void |
onResumeSubscriptionSuccess()
Sybase internal use only. |
void |
onSearchFailure(java.lang.Object entity)
Sybase internal use only. |
void |
onSearchSuccess(java.lang.Object entity)
Sybase internal use only. |
void |
onSubscribeFailure()
Sybase internal use only. |
void |
onSubscribeSuccess()
Sybase internal use only. |
void |
onSuspendSubscriptionFailure()
Sybase internal use only. |
void |
onSuspendSubscriptionSuccess()
Sybase internal use only. |
int |
onSynchronize(ObjectList groups,
SynchronizationContext context)
Sybase internal use only. |
void |
onSynchronizeFailure(ObjectList groups)
Sybase internal use only. |
void |
onSynchronizeSuccess(ObjectList groups)
Sybase internal use only. |
void |
onUnsubscribeFailure()
Sybase internal use only. |
void |
onUnsubscribeSuccess()
Sybase internal use only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCallbackHandler()
Method Detail |
---|
public int onSynchronize(ObjectList groups, SynchronizationContext context)
onSynchronize
in interface CallbackHandler
groups
- A comma separated list of synchronization group names.context
- synchronization context.
public void onImport(java.lang.Object entity)
onImport
in interface CallbackHandler
entity
- The Mobile Business Object was just imported.public void onLoginFailure()
onLoginFailure
in interface CallbackHandler
public void onLoginSuccess()
onLoginSuccess
in interface CallbackHandler
public void onReplayFailure(java.lang.Object entity)
onReplayFailure
in interface CallbackHandler
entity
- The Mobile Business Object to replay.public void onReplaySuccess(java.lang.Object entity)
onReplaySuccess
in interface CallbackHandler
entity
- The Mobile Business Object to replaypublic void onResumeSubscriptionFailure()
onResumeSubscriptionFailure
in interface CallbackHandler
public void onResumeSubscriptionSuccess()
onResumeSubscriptionSuccess
in interface CallbackHandler
public void onSearchFailure(java.lang.Object entity)
onSearchFailure
in interface CallbackHandler
entity
- The backend search objectpublic void onSearchSuccess(java.lang.Object entity)
onSearchSuccess
in interface CallbackHandler
entity
- The backend search objectpublic void onSubscribeFailure()
onSubscribeFailure
in interface CallbackHandler
public void onSubscribeSuccess()
onSubscribeSuccess
in interface CallbackHandler
public void onSuspendSubscriptionFailure()
onSuspendSubscriptionFailure
in interface CallbackHandler
public void onSuspendSubscriptionSuccess()
onSuspendSubscriptionSuccess
in interface CallbackHandler
public void onSynchronizeFailure(ObjectList groups)
onSynchronizeFailure
in interface CallbackHandler
groups
- A comma separated list of synchronization group names.public void onSynchronizeSuccess(ObjectList groups)
onSynchronizeSuccess
in interface CallbackHandler
groups
- A comma separated list of synchronization group names.public void onUnsubscribeFailure()
onUnsubscribeFailure
in interface CallbackHandler
public void onUnsubscribeSuccess()
onUnsubscribeSuccess
in interface CallbackHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |