public class FolderBackend extends CoreConnect
logger, storage
Modifier | Constructor and Description |
---|---|
protected |
FolderBackend(ISyncStorage storage) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
createFolder(BackendSession bs,
ItemDataType type,
SyncFolder sf) |
java.lang.Long |
createMailFolder(BackendSession bs,
SyncFolder sf) |
boolean |
deleteFolder(BackendSession bs,
ItemDataType type,
BMFolder folder) |
boolean |
deleteMailFolder(BackendSession bs,
BMFolder folder) |
FolderChanges |
getChanges(BackendSession bs,
long version) |
boolean |
updateFolder(BackendSession bs,
ItemDataType type,
BMFolder folder,
SyncFolder sf) |
boolean |
updateMailFolder(BackendSession bs,
SyncFolder sf) |
getAddressbookService, getCalendarService, getContainerUid, getFolder, getItemChange, getItemUid, getServerId, getService, getService, getTodoListService
protected FolderBackend(ISyncStorage storage)
public java.lang.Long createMailFolder(BackendSession bs, SyncFolder sf)
bs
- sf
- public boolean deleteMailFolder(BackendSession bs, BMFolder folder)
public boolean updateMailFolder(BackendSession bs, SyncFolder sf)
bs
- sf
- public java.lang.Long createFolder(BackendSession bs, ItemDataType type, SyncFolder sf)
bs
- type
- sf
- public boolean deleteFolder(BackendSession bs, ItemDataType type, BMFolder folder)
bs
- type
- folder
- public boolean updateFolder(BackendSession bs, ItemDataType type, BMFolder folder, SyncFolder sf)
bs
- folder
- sf
- public FolderChanges getChanges(BackendSession bs, long version) throws java.lang.Exception
bs
- java.lang.Exception
Copyright © 2021. All Rights Reserved.