com.sap.ip.me.api.smartsync
Interface SyncBoOutDelta

All Superinterfaces:
SyncBoChange

Deprecated. avoid using SyncBoInDeltaObserver because it reduces performance of inbound processing.

public interface SyncBoOutDelta
extends SyncBoChange

SyncBoOutDelta is used to update the SyncBo delta data of client to backend server.

SmartSync uses Notifier/Observer design pattern for applications to access inbox/outbox. Application has a read-access to the passed SyncBoOutDelta instance during the notifaction.

Example: To make all SyncBoOutDelta synchronous.

  public class MyOutDeltaOberver implements SyncBoOutDeltaObserver {
    //Return the descriptor of the syncbo which the application should observe.
    public SyncBoDescriptor[] observerSyncBoTypes(){
        SyncBoDescriptorIterator itr = SmartSyncRuntime.getInstance().getSyncBoDescriptor()
                                .getSyncBoDescriptorFacade().getAllSyncBoDescriptors();
        vector syncBos = new Vector();
        while(its.hasNext()){
           syncBos.addElement(itr.next);
        }
        SyncBoDescriptor[] syncBoArray = new SyncBoDescriptor[syncBos.size()];
        for(int i=0;i
  

Version:
2.1
Author:
SAP
See Also:
SyncBoOutDeltaNotifier, SyncBoOutDeltaObserver, SyncBoChange

Method Summary
 java.lang.String getChangeSeqNo()
          Deprecated.  
 SyncBoOutDeltaSendType getSendType()
          Deprecated. Returns the sending processing value of the SyncBoOutDelta object
 java.lang.String getStateId()
          Deprecated. Returns the StateId attribute of the SyncBoOutDelta object
 void setSendType(SyncBoOutDeltaSendType sendType)
          Deprecated. use SyncBoOutDeltaFacade.setSendType(SyncBoDescriptor, SyncBoOutDeltaSendType) instead to avoid performance problems.
 
Methods inherited from interface com.sap.ip.me.api.smartsync.SyncBoChange
getAction, getRowChanges, getSyncBoDescriptor, getSyncKey, getTimeStamp
 

Method Detail

setSendType

public void setSendType(SyncBoOutDeltaSendType sendType)
Deprecated. use SyncBoOutDeltaFacade.setSendType(SyncBoDescriptor, SyncBoOutDeltaSendType) instead to avoid performance problems.

Sets the sending processing value of the SyncBoOutDelta object

Parameters:
sendType - the new sendType value

getSendType

public SyncBoOutDeltaSendType getSendType()
Deprecated. 
Returns the sending processing value of the SyncBoOutDelta object

Returns:
the sending processing value

getChangeSeqNo

public java.lang.String getChangeSeqNo()
Deprecated.  

Returns the ChangeSeqNo attribute of the SyncBoOutDelta object

Returns:
the ChangeSeqNo value

getStateId

public java.lang.String getStateId()
Deprecated. 
Returns the StateId attribute of the SyncBoOutDelta object

Returns:
the StateId attribute value


Copyright © 2005 SAP AG. All Rights Reserved.