com.funambol.syncclient.spds.engine
Class SyncOperation
java.lang.Object
com.funambol.syncclient.spds.engine.SyncOperation
public class SyncOperation
- extends java.lang.Object
This class represents a synchronization operation to perform on a
SyncSource.
A SyncOperation can represent the following actions
- new
- delete
- udate
- conflict
- nop (do nothing)
Constructor Summary |
SyncOperation(SyncItem syncItem,
char operation)
Creates a new SyncOperation given the SyncItem and the
operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEW
public static final char NEW
- See Also:
- Constant Field Values
DELETE
public static final char DELETE
- See Also:
- Constant Field Values
UPDATE
public static final char UPDATE
- See Also:
- Constant Field Values
CONFLICT
public static final char CONFLICT
- See Also:
- Constant Field Values
NOP
public static final char NOP
- See Also:
- Constant Field Values
SyncOperation
public SyncOperation(SyncItem syncItem,
char operation)
- Creates a new SyncOperation given the SyncItem and the
operation.
- Parameters:
syncItem
- the syncItemoperation
- the operation
getSyncItem
public SyncItem getSyncItem()
- Rturns the item associated to the operation
- Returns:
- the SyncItem associated to the operation
getOperation
public char getOperation()
- Returns the operation this object represents.
- Returns:
- the operation this object represents.
Copyright © 2003-2007 Funambol.