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 givenMapiFAIgetCompleteById(long id) voidCreates a FAIvoidCreates 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 net.bluemind.core.api.fault.ServerFault Creates or updates an FAI with the given globalCounter (itemId in bm)- Parameters:
internalId- itemId to update/assignfai-- Returns:
- Throws:
net.bluemind.core.api.fault.ServerFault
-
preload
@PUT @Path("_preload/{internalId}") void preload(@PathParam("internalId") long internalId, MapiFAI fai) throws net.bluemind.core.api.fault.ServerFault Creates a FAI- Parameters:
internalId- the internal idfai-- Throws:
net.bluemind.core.api.fault.ServerFault
-
getByFolderId
@GET @Path("folder/{folderId}") List<ItemValue<MapiFAI>> getByFolderId(@PathParam("folderId") String identifier) throws net.bluemind.core.api.fault.ServerFault Fetches all the FAIs for a givenMapiFAI- Parameters:
identifier- the folder id- Returns:
- the values of FAIs
- Throws:
net.bluemind.core.api.fault.ServerFault
-
getCompleteById
-
lookup
-
deleteByIds
@POST @Path("_mdelete") Collection<Long> deleteByIds(Collection<Long> internalIds) throws net.bluemind.core.api.fault.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:
net.bluemind.core.api.fault.ServerFault
-
deleteAll
@DELETE @Path("_deleteall") void deleteAll() throws net.bluemind.core.api.fault.ServerFault- Throws:
net.bluemind.core.api.fault.ServerFault
-
all
-
restore
-