public class TaskBackend extends CoreConnect
logger, storage
Constructor and Description |
---|
TaskBackend(ISyncStorage storage) |
Modifier and Type | Method and Description |
---|---|
void |
delete(BackendSession bs,
java.util.Collection<CollectionItem> serverIds) |
AppData |
fetch(BackendSession bs,
ItemChangeReference ic) |
java.util.Map<java.lang.String,AppData> |
fetchMultiple(BackendSession bs,
int collectionId,
java.util.List<java.lang.String> uids) |
Changes |
getContentChanges(BackendSession bs,
long version,
java.lang.Integer collectionId) |
CollectionItem |
store(BackendSession bs,
int collectionId,
com.google.common.base.Optional<java.lang.String> sid,
IApplicationData data,
CollectionSyncRequest.Options.ConflicResolution conflictPolicy,
SyncState syncState) |
getAddressbookService, getCalendarService, getContainerUid, getFolder, getItemChange, getItemUid, getServerId, getService, getService, getTodoListService
public TaskBackend(ISyncStorage storage)
public Changes getContentChanges(BackendSession bs, long version, java.lang.Integer collectionId) throws ActiveSyncException
ActiveSyncException
public CollectionItem store(BackendSession bs, int collectionId, com.google.common.base.Optional<java.lang.String> sid, IApplicationData data, CollectionSyncRequest.Options.ConflicResolution conflictPolicy, SyncState syncState) throws ActiveSyncException
ActiveSyncException
public void delete(BackendSession bs, java.util.Collection<CollectionItem> serverIds) throws ActiveSyncException
ActiveSyncException
public AppData fetch(BackendSession bs, ItemChangeReference ic) throws ActiveSyncException
ActiveSyncException
public java.util.Map<java.lang.String,AppData> fetchMultiple(BackendSession bs, int collectionId, java.util.List<java.lang.String> uids) throws ActiveSyncException
ActiveSyncException
Copyright © 2021. All Rights Reserved.