|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncclient.spds.SyncRecordFunction
public class SyncRecordFunction
This class provide methods about control timestamp and modificationType $Id: SyncRecordFunction.java,v 1.4 2007/01/11 19:21:40 nichele Exp $
Constructor Summary | |
---|---|
SyncRecordFunction()
|
Method Summary | |
---|---|
static int |
getKeyFieldPosition(com.funambol.syncclient.sps.common.RecordMetadata recordMetadata)
|
static java.lang.String |
getModificationType(com.funambol.syncclient.sps.common.Record record)
|
static int |
getModificationTypeFieldPosition(com.funambol.syncclient.sps.common.RecordMetadata recordMetadata)
|
static int |
getNumberOperationFields(com.funambol.syncclient.sps.common.Record record)
|
static int |
getPositionModificationTypeField(com.funambol.syncclient.sps.common.Record record)
|
static int |
getPositionTimestampField(com.funambol.syncclient.sps.common.Record record)
|
static java.lang.String |
getTimestamp(com.funambol.syncclient.sps.common.Record record)
|
static void |
setModificationType(com.funambol.syncclient.sps.common.Record record,
java.lang.String modificationType)
set modificationType |
static void |
setTimestamp(com.funambol.syncclient.sps.common.Record record,
java.lang.String timestamp)
set timestamp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyncRecordFunction()
Method Detail |
---|
public static void setTimestamp(com.funambol.syncclient.sps.common.Record record, java.lang.String timestamp)
record
- timestamp
- public static void setModificationType(com.funambol.syncclient.sps.common.Record record, java.lang.String modificationType)
record
- modificationType
- public static java.lang.String getTimestamp(com.funambol.syncclient.sps.common.Record record)
record
-
public static java.lang.String getModificationType(com.funambol.syncclient.sps.common.Record record)
record
-
public static int getPositionTimestampField(com.funambol.syncclient.sps.common.Record record)
record
-
-1
if timestamp field not presentpublic static int getPositionModificationTypeField(com.funambol.syncclient.sps.common.Record record)
record
-
-1
if timestamp field not presentpublic static int getNumberOperationFields(com.funambol.syncclient.sps.common.Record record)
record
-
public static int getKeyFieldPosition(com.funambol.syncclient.sps.common.RecordMetadata recordMetadata)
recordMetadata
-
public static int getModificationTypeFieldPosition(com.funambol.syncclient.sps.common.RecordMetadata recordMetadata)
recordMetadata
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |