public class CalendarBackend extends CoreConnect
logger, storage
Constructor and Description |
---|
CalendarBackend(ISyncStorage storage) |
Modifier and Type | Method and Description |
---|---|
void |
delete(BackendSession bs,
java.util.Collection<CollectionItem> serverIds) |
AppData |
fetch(BackendSession bs,
ItemChangeReference ic) |
ResolveRecipientsResponse.Response.Recipient.Availability |
fetchAvailability(BackendSession bs,
java.lang.String entryUid,
java.util.Date start,
java.util.Date end) |
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) |
java.util.List<MoveItemsResponse.Response> |
move(BackendSession bs,
BMFolder srcFolder,
BMFolder dstFolder,
java.util.List<CollectionItem> items) |
CollectionItem |
store(BackendSession bs,
java.lang.Integer collectionId,
com.google.common.base.Optional<java.lang.String> sid,
IApplicationData data,
CollectionSyncRequest.Options.ConflicResolution conflictPolicy,
SyncState syncState) |
java.lang.String |
updateUserStatus(BackendSession bs,
java.lang.String eventUid,
AttendeeStatus status,
java.util.Date instanceId) |
getAddressbookService, getCalendarService, getContainerUid, getFolder, getItemChange, getItemUid, getServerId, getService, getService, getTodoListService
public CalendarBackend(ISyncStorage storage)
public Changes getContentChanges(BackendSession bs, long version, java.lang.Integer collectionId) throws ActiveSyncException
bs
- version
- collectionId
- ActiveSyncException
public CollectionItem store(BackendSession bs, java.lang.Integer 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
bs
- serverIds
- ActiveSyncException
public java.lang.String updateUserStatus(BackendSession bs, java.lang.String eventUid, AttendeeStatus status, java.util.Date instanceId)
bs
- data
- status
- 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
public ResolveRecipientsResponse.Response.Recipient.Availability fetchAvailability(BackendSession bs, java.lang.String entryUid, java.util.Date start, java.util.Date end)
public java.util.List<MoveItemsResponse.Response> move(BackendSession bs, BMFolder srcFolder, BMFolder dstFolder, java.util.List<CollectionItem> items)
Copyright © 2021. All Rights Reserved.