public class CalendarBackend extends CoreConnect
logger
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.Long,AppData> |
fetchMultiple(BackendSession bs,
CollectionId collectionId,
java.util.List<java.lang.Long> ids) |
Changes |
getContentChanges(BackendSession bs,
long version,
CollectionId collectionId) |
java.util.List<MoveItemsResponse.Response> |
move(BackendSession bs,
HierarchyNode srcFolder,
HierarchyNode dstFolder,
java.util.List<CollectionItem> items) |
CollectionItem |
store(BackendSession bs,
CollectionId collectionId,
java.util.Optional<java.lang.String> sid,
IApplicationData data,
CollectionSyncRequest.Options.ConflicResolution conflictPolicy,
SyncState syncState) |
java.lang.String |
updateUserStatus(BackendSession bs,
long itemId,
AttendeeStatus status,
java.util.Date instanceId) |
getAddressbookService, getAdmin0Service, getCalendarService, getIMailboxFoldersService, getItemChange, getItemId, getMailboxItemsService, getService, getService, getTodoListService
public CalendarBackend(ISyncStorage storage)
public Changes getContentChanges(BackendSession bs, long version, CollectionId collectionId) throws ActiveSyncException
bs
- version
- collectionId
- ActiveSyncException
public CollectionItem store(BackendSession bs, CollectionId collectionId, java.util.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, long itemId, AttendeeStatus status, java.util.Date instanceId)
bs
- itemId
- status
- instanceId
- public AppData fetch(BackendSession bs, ItemChangeReference ic) throws ActiveSyncException
ActiveSyncException
public java.util.Map<java.lang.Long,AppData> fetchMultiple(BackendSession bs, CollectionId collectionId, java.util.List<java.lang.Long> ids) 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, HierarchyNode srcFolder, HierarchyNode dstFolder, java.util.List<CollectionItem> items)
Copyright © 2021. All Rights Reserved.