com.funambol.domino.engine.source
Class DominoSyncSource

java.lang.Object
  extended bycom.funambol.framework.engine.source.AbstractSyncSource
      extended bycom.funambol.domino.engine.cache.CachedSyncSource
          extended bycom.funambol.domino.engine.source.DominoSyncSource
All Implemented Interfaces:
com.funambol.framework.tools.beans.LazyInitBean, com.funambol.framework.engine.source.MergeableSyncSource, java.io.Serializable, com.funambol.framework.engine.source.SyncSource
Direct Known Subclasses:
DominoCalendarSyncSource, DominoContactSyncSource, DominoTaskSyncSource

public abstract class DominoSyncSource
extends CachedSyncSource
implements com.funambol.framework.engine.source.MergeableSyncSource, java.io.Serializable

This class implements common methods of

  DominoCalendarSyncSource
  DominoContactSyncSource
 

See Also:
Serialized Form

Field Summary
protected  int conflictResolution
          Property conflict resolution value
protected  com.funambol.framework.server.Sync4jDevice device
          Property for sync session
protected  java.lang.String deviceCharset
          Property for sync session
protected  java.util.TimeZone deviceTimeZone
          Property for sync session
protected  java.lang.String deviceTimeZoneDescr
          Property for sync session
protected  java.util.logging.Logger log
           
protected static java.lang.String TYPE_ICAL
           
protected static java.lang.String TYPE_VCARD
           
protected  java.lang.String viewname
          Property domino view name
 
Fields inherited from class com.funambol.domino.engine.cache.CachedSyncSource
principal, PRODUCT_NAME, syncMode
 
Fields inherited from class com.funambol.framework.engine.source.AbstractSyncSource
howManyAdded, howManyDeleted, howManyUpdated, info, LOG_NAME, name, sourceQuery, sourceURI, type
 
Constructor Summary
DominoSyncSource()
           
 
Method Summary
 void beginSync(com.funambol.framework.engine.source.SyncContext context)
          BeginSync
 void endSync()
          EndSync
 int getConflictResolution()
          Getter for property conflictResolution.
 DominoWrapper getDominoWrapper()
          Getter for property itemFormat.
 java.lang.String getHost()
          Getter for property domino Server Host.
 java.lang.String getItemFormat()
          Getter for property itemFormat.
 int getPort()
          Getter for property Domino Server port.
 java.lang.String getViewName()
          Getter for property domino view name.
 void setHost(java.lang.String hostEx)
          Setter for property domino Server Host.
 void setPort(int portEx)
          Setter for property Domino Server port.
 void setViewName(java.lang.String viewname_e)
          Setter for property domino view name.
 
Methods inherited from class com.funambol.domino.engine.cache.CachedSyncSource
getAllSyncItemInfo, getAllSyncItemKeys, getDeletedSyncItemKeys, getJndiDataSourceName, getNewSyncItemKeys, getUpdatedSyncItemKeys, init, removeAllItems, setJndiDataSourceName, setOperationStatus
 
Methods inherited from class com.funambol.framework.engine.source.AbstractSyncSource
addSyncItem, commitSync, getInfo, getName, getSourceQuery, getSourceURI, getSyncItemFromId, getSyncItemKeysFromTwin, getType, removeSyncItem, setInfo, setName, setSourceURI, setType, toString, updateSyncItem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.funambol.framework.engine.source.MergeableSyncSource
mergeSyncItems
 
Methods inherited from interface com.funambol.framework.engine.source.SyncSource
addSyncItem, commitSync, getAllSyncItemKeys, getDeletedSyncItemKeys, getInfo, getName, getNewSyncItemKeys, getSourceURI, getSyncItemFromId, getSyncItemKeysFromTwin, getType, getUpdatedSyncItemKeys, removeSyncItem, setOperationStatus, updateSyncItem
 

Field Detail

log

protected java.util.logging.Logger log

TYPE_VCARD

protected static final java.lang.String TYPE_VCARD
See Also:
Constant Field Values

TYPE_ICAL

protected static final java.lang.String TYPE_ICAL
See Also:
Constant Field Values

device

protected com.funambol.framework.server.Sync4jDevice device
Property for sync session


deviceTimeZoneDescr

protected java.lang.String deviceTimeZoneDescr
Property for sync session


deviceTimeZone

protected java.util.TimeZone deviceTimeZone
Property for sync session


deviceCharset

protected java.lang.String deviceCharset
Property for sync session


viewname

protected java.lang.String viewname
Property domino view name


conflictResolution

protected int conflictResolution
Property conflict resolution value

Constructor Detail

DominoSyncSource

public DominoSyncSource()
Method Detail

getViewName

public java.lang.String getViewName()
Getter for property domino view name.

Returns:
Value of property domino view name.

setViewName

public void setViewName(java.lang.String viewname_e)
Setter for property domino view name.

Parameters:
viewname_e - String. New value of property domino view name.

getHost

public java.lang.String getHost()
Getter for property domino Server Host.

Returns:
Value of property domino Server Host.

setHost

public void setHost(java.lang.String hostEx)
Setter for property domino Server Host.

Parameters:
hostEx - String New value of property domino Server Host.

getPort

public int getPort()
Getter for property Domino Server port.

Returns:
Value of property Domino Server port.

setPort

public void setPort(int portEx)
Setter for property Domino Server port.

Parameters:
portEx - int. New value of property Domino Server port.

getItemFormat

public java.lang.String getItemFormat()
Getter for property itemFormat.

Returns:
Value of property itemFormat.

getDominoWrapper

public DominoWrapper getDominoWrapper()
Getter for property itemFormat.

Returns:
Value of property itemFormat.

getConflictResolution

public int getConflictResolution()
Getter for property conflictResolution.

Returns:
Value of property conflictResolution.

beginSync

public void beginSync(com.funambol.framework.engine.source.SyncContext context)
               throws com.funambol.framework.engine.source.SyncSourceException
Description copied from class: CachedSyncSource
BeginSync

Specified by:
beginSync in interface com.funambol.framework.engine.source.SyncSource
Overrides:
beginSync in class CachedSyncSource
Parameters:
context - SyncContext
Throws:
com.funambol.framework.engine.source.SyncSourceException
See Also:
SyncSource

endSync

public void endSync()
             throws com.funambol.framework.engine.source.SyncSourceException
Description copied from class: CachedSyncSource
EndSync

Specified by:
endSync in interface com.funambol.framework.engine.source.SyncSource
Overrides:
endSync in class CachedSyncSource
Throws:
com.funambol.framework.engine.source.SyncSourceException
See Also:
SyncSource


Copyright © 2003-2006 Funambol.