Interface IMapiFoldersMgmt


@Path("/mapi_folders/{domainUid}/{mailboxUid}") public interface IMapiFoldersMgmt
  • Method Details

    • store

      @PUT void store(MapiFolder mf)
    • get

      @GET @Path("{containerUid}") MapiFolder get(@PathParam("containerUid") String containerUid)
    • multipleGet

      @POST @Path("_mget") List<MapiFolder> multipleGet(List<String> containerUids)
      Reads several folders in one call.
      Parameters:
      containerUids - the container uid of the wanted folders
      Returns:
      the folders found, a missing one is left out
    • repair

      @POST @Path("{containerUid}/_repair") void repair(@PathParam("containerUid") String containerUid)
    • repairAll

      @POST @Path("_repairAll") void repairAll(List<MapiFolder> expected)
      Checks every given expected folder in one call: a missing folder is stored (as store(MapiFolder) would), an existing one is repaired (as repair(String) would).
      Parameters:
      expected - the folders the mailbox must end up with
    • delete

      @DELETE @Path("{containerUid}") void delete(@PathParam("containerUid") String containerUid)
    • deleteAll

      @DELETE @Path("_delete") void deleteAll()