|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SyncBoInDeltaObserver
because it reduces performance of inbound processing.
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()
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 |
public void setSendType(SyncBoOutDeltaSendType sendType)
SyncBoOutDeltaFacade.setSendType(SyncBoDescriptor, SyncBoOutDeltaSendType)
instead to avoid performance problems.
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 |