All Methods Instance Methods Abstract Methods
Modifier and Type |
Method and Description |
String |
createOrUpdateDataItem(SyncBackend.RequestContext requestContext,
String profileName,
SyncCollection collection,
String itemId,
IData data) |
String |
createOrUpdateFolder(SyncBackend.RequestContext requestContext,
SyncFolder folder) |
void |
deleteDataItem(SyncBackend.RequestContext requestContext,
String profileName,
SyncCollection collection,
String itemId) |
String |
deleteFolder(SyncBackend.RequestContext requestContext,
String folderId) |
SyncDataItem |
fetchDataItem(SyncBackend.RequestContext requestContext,
String profileName,
SyncCollection collection,
String itemId) |
boolean |
folderIsValid(SyncBackend.RequestContext requestContext,
String profileName,
SyncCollection collection)
Validates whether folder specified by folderId and collectionType is valid.
|
AttachmentDataT |
getAttachementData(SyncBackend.RequestContext requestContext,
String attachmentId) |
GetChangedDataItemsResult |
getChangedDataItems(SyncBackend.RequestContext requestContext,
String profileName,
SyncCollection collection,
boolean noData,
int maxItems,
SyncDataItem.State state,
Set<String> excludes) |
List<SyncFolder> |
getChangedFolders(SyncBackend.RequestContext requestContext,
String profileName,
String syncKey) |
ClientProfile |
getClientProfile(SyncBackend.RequestContext requestContext,
String profileName) |
File |
getContextTempDir(SyncBackend.RequestContext requestContext,
File tempDir) |
List<String> |
getDeletedDataItems(SyncBackend.RequestContext requestContext,
String profileName,
SyncCollection collection,
String syncKeyTo)
Return deleted data items starting from collection.getSyncKey() up to syncKeyTo
|
List<SyncFolder> |
getDeletedFolders(SyncBackend.RequestContext requestContext,
String profileName,
String syncKey) |
String |
getNextSyncKey(SyncBackend.RequestContext requestContext,
String syncKey) |
String |
moveDataItem(SyncBackend.RequestContext requestContext,
String profileName,
String srcFolderId,
String dstFolderId,
String itemId) |
SyncBackend.RequestContext |
newRequestContext(String userId,
Object context) |
void |
sendMail(SyncBackend.RequestContext requestContext,
InputStream mimeMessage) |
void |
setDataItemReadFlag(SyncBackend.RequestContext requestContext,
String folderId,
String itemId,
boolean read) |
void |
updateClientProfile(SyncBackend.RequestContext requestContext,
ClientProfile clientProfile,
Set<String> folderIds,
boolean noSyncKeys,
boolean noMappings)
Updates the client profile.
|