Package net.bluemind.exchange.mapi.api
Interface IMapiFolderAssociatedInformation
@Path("/mapi_fai/{replicaUid}")
public interface IMapiFolderAssociatedInformation
-
Method Summary
Modifier and TypeMethodDescriptionall()voiddeleteByIds(Collection<Long> internalIds) Tries to batch delete all the FAIs with the given internal ids.getByFolderId(String identifier) Fetches all the FAIs for a giveninvalid reference
MapiFAI#idgetCompleteById(long id) voidCreates a FAICreates or updates an FAI with the given globalCounter (itemId in bm)
-
Method Details
-
store
@PUT @Path("{globalCounter}") ItemValue<MapiFAI> store(@PathParam("globalCounter") long internalId, MapiFAI fai) throws ServerFault Creates or updates an FAI with the given globalCounter (itemId in bm)- Parameters:
internalId- itemId to update/assignfai-- Returns:
- Throws:
ServerFault
-
preload
@PUT @Path("_preload/{internalId}") void preload(@PathParam("internalId") long internalId, MapiFAI fai) throws ServerFault Creates a FAI- Parameters:
fai-- Throws:
ServerFault
-
getByFolderId
@GET @Path("folder/{folderId}") List<ItemValue<MapiFAI>> getByFolderId(@PathParam("folderId") String identifier) throws ServerFault Fetches all the FAIs for a giveninvalid reference
MapiFAI#id- Parameters:
id- the folder id- Returns:
- the values of FAIs
- Throws:
ServerFault
-
getCompleteById
-
deleteByIds
@POST @Path("_mdelete") Collection<Long> deleteByIds(Collection<Long> internalIds) throws ServerFault Tries to batch delete all the FAIs with the given internal ids. Returns a list of the ids we really deleted.- Parameters:
internalIds-- Returns:
- what was deleted
- Throws:
ServerFault
-
deleteAll
- Throws:
ServerFault
-
all
- Throws:
ServerFault
-