sync4j.exchange.engine.source
Class ExchangeContactSyncSource

java.lang.Object
  extended bysync4j.framework.engine.source.AbstractSyncSource
      extended bysync4j.exchange.engine.source.ExchangeSyncSource
          extended bysync4j.exchange.engine.source.ExchangeContactSyncSource
All Implemented Interfaces:
java.io.Serializable, sync4j.framework.engine.source.SyncSource

public class ExchangeContactSyncSource
extends ExchangeSyncSource
implements sync4j.framework.engine.source.SyncSource, java.io.Serializable

This class define SyncSource between SyncServer and Exchange Server contacts items

See Also:
Serialized Form

Field Summary
 
Fields inherited from class sync4j.exchange.engine.source.ExchangeSyncSource
ITEM_ADD, ITEM_ADD_ERROR, ITEM_REMOVE, ITEM_REMOVE_ERROR, ITEM_UPDATE, ITEM_UPDATE_ERROR, log
 
Fields inherited from class sync4j.framework.engine.source.AbstractSyncSource
info, LOG_NAME, name, sourceURI, type
 
Constructor Summary
ExchangeContactSyncSource()
           
 
Method Summary
 sync4j.framework.engine.SyncItem[] getAllSyncItems(java.security.Principal principal)
           
 sync4j.framework.engine.SyncItemKey[] getDeletedSyncItemKeys(java.security.Principal principal, java.sql.Timestamp since)
           
 sync4j.framework.engine.SyncItem[] getDeletedSyncItems(java.security.Principal principal, java.sql.Timestamp since)
           
 sync4j.framework.engine.SyncItemKey[] getNewSyncItemKeys(java.security.Principal principal, java.sql.Timestamp since)
           
 sync4j.framework.engine.SyncItem[] getNewSyncItems(java.security.Principal principal, java.sql.Timestamp since)
           
 sync4j.framework.engine.SyncItem getSyncItemFromId(java.security.Principal principal, sync4j.framework.engine.SyncItemKey syncItemKey)
           
 sync4j.framework.engine.SyncItem getSyncItemFromTwin(java.security.Principal principal, sync4j.framework.engine.SyncItem syncItem)
          The same as getSyncItemFromId()
 sync4j.framework.engine.SyncItem[] getSyncItemsFromIds(java.security.Principal principal, sync4j.framework.engine.SyncItemKey[] syncItemKeys)
           
 sync4j.framework.engine.SyncItem[] getSyncItemsFromTwins(java.security.Principal principal, sync4j.framework.engine.SyncItem[] syncItems)
          The same as getSyncItemFromIds()
 sync4j.framework.engine.SyncItemKey[] getUpdatedSyncItemKeys(java.security.Principal principal, java.sql.Timestamp since)
           
 sync4j.framework.engine.SyncItem[] getUpdatedSyncItems(java.security.Principal principal, java.sql.Timestamp since)
           
 void removeSyncItem(java.security.Principal principal, sync4j.framework.engine.SyncItem syncItem)
           
 void removeSyncItems(java.security.Principal principal, sync4j.framework.engine.SyncItem[] syncItems)
           
 sync4j.framework.engine.SyncItem setSyncItem(java.security.Principal principal, sync4j.framework.engine.SyncItem syncItem)
           
 sync4j.framework.engine.SyncItem[] setSyncItems(java.security.Principal principal, sync4j.framework.engine.SyncItem[] syncItems)
           
 
Methods inherited from class sync4j.exchange.engine.source.ExchangeSyncSource
beginSync, endSync, getDeleteItemIds, getHost, getHref, getNewItemIds, getPort, getSchedule, getTmz, getUpdateItemIds, isEncode, isSchedulEnablede, setEncode, setHost, setPort, setSchedule, setScheduleEnabled, setTmz, toChangedItems
 
Methods inherited from class sync4j.framework.engine.source.AbstractSyncSource
getInfo, getName, getSourceURI, getType, setInfo, setName, setSourceURI, setType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface sync4j.framework.engine.source.SyncSource
beginSync, endSync, getInfo, getName, getSourceURI, getType
 

Constructor Detail

ExchangeContactSyncSource

public ExchangeContactSyncSource()
Method Detail

setSyncItem

public sync4j.framework.engine.SyncItem setSyncItem(java.security.Principal principal,
                                                    sync4j.framework.engine.SyncItem syncItem)
                                             throws sync4j.framework.engine.source.SyncSourceException
Specified by:
setSyncItem in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

setSyncItems

public sync4j.framework.engine.SyncItem[] setSyncItems(java.security.Principal principal,
                                                       sync4j.framework.engine.SyncItem[] syncItems)
                                                throws sync4j.framework.engine.source.SyncSourceException
Specified by:
setSyncItems in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

getSyncItemFromId

public sync4j.framework.engine.SyncItem getSyncItemFromId(java.security.Principal principal,
                                                          sync4j.framework.engine.SyncItemKey syncItemKey)
                                                   throws sync4j.framework.engine.source.SyncSourceException
Specified by:
getSyncItemFromId in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

getSyncItemsFromIds

public sync4j.framework.engine.SyncItem[] getSyncItemsFromIds(java.security.Principal principal,
                                                              sync4j.framework.engine.SyncItemKey[] syncItemKeys)
                                                       throws sync4j.framework.engine.source.SyncSourceException
Specified by:
getSyncItemsFromIds in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

getNewSyncItemKeys

public sync4j.framework.engine.SyncItemKey[] getNewSyncItemKeys(java.security.Principal principal,
                                                                java.sql.Timestamp since)
                                                         throws sync4j.framework.engine.source.SyncSourceException
Specified by:
getNewSyncItemKeys in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

getNewSyncItems

public sync4j.framework.engine.SyncItem[] getNewSyncItems(java.security.Principal principal,
                                                          java.sql.Timestamp since)
                                                   throws sync4j.framework.engine.source.SyncSourceException
Specified by:
getNewSyncItems in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

getDeletedSyncItemKeys

public sync4j.framework.engine.SyncItemKey[] getDeletedSyncItemKeys(java.security.Principal principal,
                                                                    java.sql.Timestamp since)
                                                             throws sync4j.framework.engine.source.SyncSourceException
Specified by:
getDeletedSyncItemKeys in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException

getDeletedSyncItems

public sync4j.framework.engine.SyncItem[] getDeletedSyncItems(java.security.Principal principal,
                                                              java.sql.Timestamp since)
                                                       throws sync4j.framework.engine.source.SyncSourceException
Specified by:
getDeletedSyncItems in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

getUpdatedSyncItems

public sync4j.framework.engine.SyncItem[] getUpdatedSyncItems(java.security.Principal principal,
                                                              java.sql.Timestamp since)
                                                       throws sync4j.framework.engine.source.SyncSourceException
Specified by:
getUpdatedSyncItems in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

getUpdatedSyncItemKeys

public sync4j.framework.engine.SyncItemKey[] getUpdatedSyncItemKeys(java.security.Principal principal,
                                                                    java.sql.Timestamp since)
                                                             throws sync4j.framework.engine.source.SyncSourceException
Specified by:
getUpdatedSyncItemKeys in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException

removeSyncItem

public void removeSyncItem(java.security.Principal principal,
                           sync4j.framework.engine.SyncItem syncItem)
                    throws sync4j.framework.engine.source.SyncSourceException
Specified by:
removeSyncItem in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

removeSyncItems

public void removeSyncItems(java.security.Principal principal,
                            sync4j.framework.engine.SyncItem[] syncItems)
                     throws sync4j.framework.engine.source.SyncSourceException
Specified by:
removeSyncItems in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

getAllSyncItems

public sync4j.framework.engine.SyncItem[] getAllSyncItems(java.security.Principal principal)
                                                   throws sync4j.framework.engine.source.SyncSourceException
Specified by:
getAllSyncItems in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

getSyncItemFromTwin

public sync4j.framework.engine.SyncItem getSyncItemFromTwin(java.security.Principal principal,
                                                            sync4j.framework.engine.SyncItem syncItem)
                                                     throws sync4j.framework.engine.source.SyncSourceException
The same as getSyncItemFromId()

Specified by:
getSyncItemFromTwin in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource

getSyncItemsFromTwins

public sync4j.framework.engine.SyncItem[] getSyncItemsFromTwins(java.security.Principal principal,
                                                                sync4j.framework.engine.SyncItem[] syncItems)
                                                         throws sync4j.framework.engine.source.SyncSourceException
The same as getSyncItemFromIds()

Specified by:
getSyncItemsFromTwins in interface sync4j.framework.engine.source.SyncSource
Throws:
sync4j.framework.engine.source.SyncSourceException
See Also:
SyncSource


Copyright © 2004 Sync4j.