public class MapiFAIService extends java.lang.Object implements IMapiFolderAssociatedInformation
Constructor and Description |
---|
MapiFAIService(BmContext context,
java.lang.String localReplicaGuid,
Container faiContainer) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemValue<MapiFAI>> |
all() |
void |
deleteAll() |
java.util.Collection<java.lang.Long> |
deleteByIds(java.util.Collection<java.lang.Long> internalIds)
Tries to batch delete all the FAIs with the given internal ids.
|
java.util.List<ItemValue<MapiFAI>> |
getByFolderId(java.lang.String folderId)
Fetches all the FAIs for a given
MapiFAI#id |
void |
preload(MapiFAI fai)
Creates an FAI
|
ItemValue<MapiFAI> |
store(long internalId,
MapiFAI fai)
Creates or updates an FAI with the given globalCounter (itemId in bm)
|
void |
xfer(java.lang.String serverUid) |
public java.util.Collection<java.lang.Long> deleteByIds(java.util.Collection<java.lang.Long> internalIds)
IMapiFolderAssociatedInformation
deleteByIds
in interface IMapiFolderAssociatedInformation
public ItemValue<MapiFAI> store(long internalId, MapiFAI fai) throws ServerFault
IMapiFolderAssociatedInformation
store
in interface IMapiFolderAssociatedInformation
internalId
- to itemId to update/assignServerFault
public void preload(MapiFAI fai) throws ServerFault
IMapiFolderAssociatedInformation
preload
in interface IMapiFolderAssociatedInformation
ServerFault
public java.util.List<ItemValue<MapiFAI>> all()
all
in interface IMapiFolderAssociatedInformation
public java.util.List<ItemValue<MapiFAI>> getByFolderId(java.lang.String folderId) throws ServerFault
IMapiFolderAssociatedInformation
MapiFAI#id
getByFolderId
in interface IMapiFolderAssociatedInformation
ServerFault
public void deleteAll() throws ServerFault
deleteAll
in interface IMapiFolderAssociatedInformation
ServerFault
public void xfer(java.lang.String serverUid) throws ServerFault
xfer
in interface IDataShardSupport
ServerFault
Copyright © 2021. All Rights Reserved.