com.funambol.syncml.spds
Class SyncSourceLOHandler

java.lang.Object
  extended by com.funambol.syncml.spds.SyncSourceLOHandler

public class SyncSourceLOHandler
extends java.lang.Object


Constructor Summary
SyncSourceLOHandler(SyncSource source, int maxMsgSize)
           
 
Method Summary
 int addItem(SyncItem item)
           
 boolean getAddCommand(int size, SyncListener listener, java.lang.StringBuffer cmdTag, CmdId cmdId)
          This method returns the Add command tag.
 boolean getDeleteCommand(int size, SyncListener listener, java.lang.StringBuffer cmdTag, CmdId cmdId)
          This method returns the Delete command tag.
 boolean getNextCommand(int size, SyncListener listener, java.lang.StringBuffer cmdTag, CmdId cmdId)
           
 boolean getReplaceCommand(int size, SyncListener listener, java.lang.StringBuffer cmdTag, CmdId cmdId)
          This method returns the Replace command tag.
 int updateItem(SyncItem item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncSourceLOHandler

public SyncSourceLOHandler(SyncSource source,
                           int maxMsgSize)
Method Detail

addItem

public int addItem(SyncItem item)
            throws SyncException
Throws:
SyncException

updateItem

public int updateItem(SyncItem item)

getAddCommand

public boolean getAddCommand(int size,
                             SyncListener listener,
                             java.lang.StringBuffer cmdTag,
                             CmdId cmdId)
                      throws SyncException
This method returns the Add command tag.

Throws:
SyncException

getReplaceCommand

public boolean getReplaceCommand(int size,
                                 SyncListener listener,
                                 java.lang.StringBuffer cmdTag,
                                 CmdId cmdId)
                          throws SyncException
This method returns the Replace command tag.

Throws:
SyncException

getDeleteCommand

public boolean getDeleteCommand(int size,
                                SyncListener listener,
                                java.lang.StringBuffer cmdTag,
                                CmdId cmdId)
                         throws SyncException
This method returns the Delete command tag.

Throws:
SyncException

getNextCommand

public boolean getNextCommand(int size,
                              SyncListener listener,
                              java.lang.StringBuffer cmdTag,
                              CmdId cmdId)
                       throws SyncException
Throws:
SyncException


Copyright © 2006 Funambol.