com.sybase.persistence
Class DefaultCallbackHandler

java.lang.Object
  extended by com.sybase.persistence.DefaultCallbackHandler
All Implemented Interfaces:
CallbackHandler
Direct Known Subclasses:
RIMCallbackHandler

public class DefaultCallbackHandler
extends java.lang.Object
implements CallbackHandler

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

DefaultCallbackHandler

public DefaultCallbackHandler()
Method Detail

onSynchronize

public int onSynchronize(ObjectList groups,
                         SynchronizationContext context)
Sybase internal use only.

Specified by:
onSynchronize in interface CallbackHandler
Parameters:
groups - A comma separated list of synchronization group names.
context - synchronization context.
Returns:

onImport

public void onImport(java.lang.Object entity)
Sybase internal use only.

Specified by:
onImport in interface CallbackHandler
Parameters:
entity - The Mobile Business Object was just imported.

onLoginFailure

public void onLoginFailure()
Sybase internal use only.

Specified by:
onLoginFailure in interface CallbackHandler

onLoginSuccess

public void onLoginSuccess()
Sybase internal use only.

Specified by:
onLoginSuccess in interface CallbackHandler

onReplayFailure

public void onReplayFailure(java.lang.Object entity)
Sybase internal use only.

Specified by:
onReplayFailure in interface CallbackHandler
Parameters:
entity - The Mobile Business Object to replay.

onReplaySuccess

public void onReplaySuccess(java.lang.Object entity)
Sybase internal use only.

Specified by:
onReplaySuccess in interface CallbackHandler
Parameters:
entity - The Mobile Business Object to replay

onResumeSubscriptionFailure

public void onResumeSubscriptionFailure()
Sybase internal use only.

Specified by:
onResumeSubscriptionFailure in interface CallbackHandler

onResumeSubscriptionSuccess

public void onResumeSubscriptionSuccess()
Sybase internal use only.

Specified by:
onResumeSubscriptionSuccess in interface CallbackHandler

onSearchFailure

public void onSearchFailure(java.lang.Object entity)
Sybase internal use only.

Specified by:
onSearchFailure in interface CallbackHandler
Parameters:
entity - The backend search object

onSearchSuccess

public void onSearchSuccess(java.lang.Object entity)
Sybase internal use only.

Specified by:
onSearchSuccess in interface CallbackHandler
Parameters:
entity - The backend search object

onSubscribeFailure

public void onSubscribeFailure()
Sybase internal use only.

Specified by:
onSubscribeFailure in interface CallbackHandler

onSubscribeSuccess

public void onSubscribeSuccess()
Sybase internal use only.

Specified by:
onSubscribeSuccess in interface CallbackHandler

onSuspendSubscriptionFailure

public void onSuspendSubscriptionFailure()
Sybase internal use only.

Specified by:
onSuspendSubscriptionFailure in interface CallbackHandler

onSuspendSubscriptionSuccess

public void onSuspendSubscriptionSuccess()
Sybase internal use only.

Specified by:
onSuspendSubscriptionSuccess in interface CallbackHandler

onSynchronizeFailure

public void onSynchronizeFailure(ObjectList groups)
Sybase internal use only.

Specified by:
onSynchronizeFailure in interface CallbackHandler
Parameters:
groups - A comma separated list of synchronization group names.

onSynchronizeSuccess

public void onSynchronizeSuccess(ObjectList groups)
Sybase internal use only.

Specified by:
onSynchronizeSuccess in interface CallbackHandler
Parameters:
groups - A comma separated list of synchronization group names.

onUnsubscribeFailure

public void onUnsubscribeFailure()
Sybase internal use only.

Specified by:
onUnsubscribeFailure in interface CallbackHandler

onUnsubscribeSuccess

public void onUnsubscribeSuccess()
Sybase internal use only.

Specified by:
onUnsubscribeSuccess in interface CallbackHandler