public class FolderBackend extends CoreConnect
logger
Modifier | Constructor and Description |
---|---|
protected |
FolderBackend(ISyncStorage storage) |
Modifier and Type | Method and Description |
---|---|
CollectionId |
createFolder(BackendSession bs,
ItemDataType type,
java.lang.String displayName) |
CollectionId |
createMailFolder(BackendSession bs,
HierarchyNode parent,
SyncFolder sf) |
boolean |
deleteFolder(BackendSession bs,
ItemDataType type,
HierarchyNode node) |
boolean |
deleteMailFolder(BackendSession bs,
CollectionId collectionId,
java.lang.String containerUid) |
FolderChanges |
getChanges(BackendSession bs,
SyncState state) |
HierarchyNode |
getHierarchyNode(BackendSession bs,
CollectionId collectionId) |
boolean |
updateFolder(BackendSession bs,
ItemDataType type,
HierarchyNode node,
java.lang.String displayName) |
boolean |
updateMailFolder(BackendSession bs,
HierarchyNode node,
CollectionId collectionId,
java.lang.String displayName) |
getAddressbookService, getAdmin0Service, getCalendarService, getIMailboxFoldersService, getItemChange, getItemId, getMailboxItemsService, getService, getService, getTodoListService
protected FolderBackend(ISyncStorage storage)
public CollectionId createMailFolder(BackendSession bs, HierarchyNode parent, SyncFolder sf)
bs
- sf
- public boolean deleteMailFolder(BackendSession bs, CollectionId collectionId, java.lang.String containerUid)
public boolean updateMailFolder(BackendSession bs, HierarchyNode node, CollectionId collectionId, java.lang.String displayName)
bs
- sf
- public CollectionId createFolder(BackendSession bs, ItemDataType type, java.lang.String displayName)
bs
- type
- sf
- public boolean deleteFolder(BackendSession bs, ItemDataType type, HierarchyNode node)
bs
- type
- folder
- public boolean updateFolder(BackendSession bs, ItemDataType type, HierarchyNode node, java.lang.String displayName)
bs
- folder
- sf
- public FolderChanges getChanges(BackendSession bs, SyncState state) throws java.lang.Exception
bs
- java.lang.Exception
public HierarchyNode getHierarchyNode(BackendSession bs, CollectionId collectionId) throws ActiveSyncException
ActiveSyncException
Copyright © 2021. All Rights Reserved.