@Path(value="/mapi_fai/{replicaUid}") public interface IMapiFolderAssociatedInformation extends IDataShardSupport
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 identifier)
Fetches all the FAIs for a given
MapiFAI#id |
void |
preload(MapiFAI fai)
Creates an FAI
|
ItemValue<MapiFAI> |
store(long gc,
MapiFAI fai)
Creates or updates an FAI with the given globalCounter (itemId in bm)
|
xfer
@PUT @Path(value="{globalCounter}") ItemValue<MapiFAI> store(@PathParam(value="globalCounter") long gc, MapiFAI fai) throws ServerFault
gc
- to itemId to update/assignfai
- ServerFault
@PUT @Path(value="_preload") void preload(MapiFAI fai) throws ServerFault
fai
- ServerFault
@GET @Path(value="folder/{folderId}") java.util.List<ItemValue<MapiFAI>> getByFolderId(@PathParam(value="folderId") java.lang.String identifier) throws ServerFault
MapiFAI#id
id
- the folder idServerFault
@POST @Path(value="_mdelete") java.util.Collection<java.lang.Long> deleteByIds(java.util.Collection<java.lang.Long> internalIds) throws ServerFault
internalIds
- ServerFault
@DELETE @Path(value="_deleteall") void deleteAll() throws ServerFault
ServerFault
@GET @Path(value="_all") java.util.List<ItemValue<MapiFAI>> all() throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.