Interface IMapiFolderAssociatedInformation


@Path("/mapi_fai/{replicaUid}") public interface IMapiFolderAssociatedInformation
  • 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/assign
      fai -
      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 given
      invalid reference
      MapiFAI#id
      Parameters:
      id - the folder id
      Returns:
      the values of FAIs
      Throws:
      ServerFault
    • getCompleteById

      @GET @Path("{id}/completeById") ItemValue<MapiFAI> getCompleteById(@PathParam("id") long id)
    • 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

      @DELETE @Path("_deleteall") void deleteAll() throws ServerFault
      Throws:
      ServerFault
    • all

      @GET @Path("_all") List<ItemValue<MapiFAI>> all() throws ServerFault
      Throws:
      ServerFault