|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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
SyncBoOutDeltaNotifier,
SyncBoOutDeltaObserver,
SyncBoChange| Method Summary | |
java.lang.String |
getChangeSeqNo()
Deprecated. |
SyncBoOutDeltaSendType |
getSendType()
Returns the sending processing value of the SyncBoOutDelta object |
java.lang.String |
getStateId()
Returns the StateId attribute of the SyncBoOutDelta object |
void |
setSendType(SyncBoOutDeltaSendType sendType)
Sets the sending processing value of the SyncBoOutDelta object |
| Methods inherited from interface com.sap.ip.me.api.smartsync.SyncBoChange |
getAction, getRowChanges, getSyncBoDescriptor, getSyncKey, getTimeStamp |
| Method Detail |
public void setSendType(SyncBoOutDeltaSendType sendType)
sendType - the new sendType valuepublic SyncBoOutDeltaSendType getSendType()
public java.lang.String getChangeSeqNo()
public java.lang.String getStateId()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||