|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsync4j.framework.engine.source.AbstractSyncSource
sync4j.exchange.engine.source.ExchangeSyncSource
This class implements common methods of
ExchangeCalendarSyncSource ExchangeContactSyncSource ExchangeNoteSyncSource ExchangeTaskSyncSource
Field Summary | |
protected static java.lang.String |
ITEM_ADD
|
protected static java.lang.String |
ITEM_ADD_ERROR
|
protected static java.lang.String |
ITEM_REMOVE
|
protected static java.lang.String |
ITEM_REMOVE_ERROR
|
protected static java.lang.String |
ITEM_UPDATE
|
protected static java.lang.String |
ITEM_UPDATE_ERROR
|
protected java.util.logging.Logger |
log
|
Fields inherited from class sync4j.framework.engine.source.AbstractSyncSource |
info, LOG_NAME, name, sourceURI, type |
Constructor Summary | |
ExchangeSyncSource()
|
Method Summary | |
void |
beginSync(java.security.Principal principal,
int syncMode)
|
void |
endSync(java.security.Principal principal)
|
java.lang.String[] |
getDeleteItemIds()
Getter for property deleteItemIds. |
java.lang.String |
getHost()
Getter for property exchangeServerHost. |
protected java.lang.String |
getHref(java.lang.String id)
Return href (webdav resource name) of item |
java.lang.String[] |
getNewItemIds()
Getter for property newItemIds. |
int |
getPort()
Getter for property exchangeServerPort. |
java.lang.String |
getSchedule()
Getter for property schedule. |
java.lang.String |
getTmz()
Getter for property exchangeServer timezone. |
java.lang.String[] |
getUpdateItemIds()
Getter for property updateItemIds. |
boolean |
isEncode()
Getter for property encode. |
boolean |
isSchedulEnablede()
Getter for property scheduleEnabled. |
void |
setEncode(boolean encode)
Setter for property encode. |
void |
setHost(java.lang.String host)
Setter for property exchangeServerHost. |
void |
setPort(int port)
Setter for property exchangeServerPort. |
void |
setSchedule(java.lang.String schedule)
Setter for property schedule. |
void |
setScheduleEnabled(boolean scheduleEnabled)
Setter for property schedule. |
void |
setTmz(java.lang.String tmz)
Setter for property exchangeServer timezone. |
protected void |
toChangedItems(java.lang.String id,
java.lang.String status)
Add item to mapp operations status array |
Methods inherited from class sync4j.framework.engine.source.AbstractSyncSource |
getAllSyncItems, getDeletedSyncItemKeys, getDeletedSyncItems, getInfo, getName, getNewSyncItemKeys, getNewSyncItems, getSourceURI, getSyncItemFromId, getSyncItemFromTwin, getSyncItemsFromIds, getSyncItemsFromTwins, getType, getUpdatedSyncItems, removeSyncItem, removeSyncItems, setInfo, setName, setSourceURI, setSyncItem, setSyncItems, 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 |
getAllSyncItems, getDeletedSyncItemKeys, getDeletedSyncItems, getInfo, getName, getNewSyncItemKeys, getNewSyncItems, getSourceURI, getSyncItemFromId, getSyncItemFromTwin, getSyncItemsFromIds, getSyncItemsFromTwins, getType, getUpdatedSyncItemKeys, getUpdatedSyncItems, removeSyncItem, removeSyncItems, setSyncItem, setSyncItems |
Field Detail |
protected static final java.lang.String ITEM_ADD
protected static final java.lang.String ITEM_REMOVE
protected static final java.lang.String ITEM_UPDATE
protected static final java.lang.String ITEM_ADD_ERROR
protected static final java.lang.String ITEM_REMOVE_ERROR
protected static final java.lang.String ITEM_UPDATE_ERROR
protected java.util.logging.Logger log
Constructor Detail |
public ExchangeSyncSource()
Method Detail |
public boolean isEncode()
public void setEncode(boolean encode)
encode
- New value of property encode.public java.lang.String getHost()
public void setHost(java.lang.String host)
host
- New value of property exchangeServerHost.public int getPort()
public void setPort(int port)
port
- New value of property exchangeServerPort.public java.lang.String getTmz()
public void setTmz(java.lang.String tmz)
tmz
- New value of property exchangeServer timezone.public java.lang.String getSchedule()
public void setSchedule(java.lang.String schedule)
schedule
- New value of property schedule.public boolean isSchedulEnablede()
public void setScheduleEnabled(boolean scheduleEnabled)
scheduleEnabled
- New value of property schedule.public java.lang.String[] getNewItemIds()
public java.lang.String[] getUpdateItemIds()
public java.lang.String[] getDeleteItemIds()
public void beginSync(java.security.Principal principal, int syncMode) throws sync4j.framework.engine.source.SyncSourceException
beginSync
in interface sync4j.framework.engine.source.SyncSource
sync4j.framework.engine.source.SyncSourceException
SyncSource
public void endSync(java.security.Principal principal) throws sync4j.framework.engine.source.SyncSourceException
endSync
in interface sync4j.framework.engine.source.SyncSource
sync4j.framework.engine.source.SyncSourceException
SyncSource
protected java.lang.String getHref(java.lang.String id)
id
- id of item to find
null
if item not foundprotected void toChangedItems(java.lang.String id, java.lang.String status)
id
- id of item to addstatus
- status of item to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |