java.lang.Object
de.digitalcollections.cudami.server.controller.legacy.V5MigrationHelper

public class V5MigrationHelper extends Object
  • Method Details

    • migrate

      public static List<de.digitalcollections.model.list.sorting.Order> migrate(List<de.digitalcollections.model.list.sorting.Order> sortBy)
    • migrate

      public static String migrate(de.digitalcollections.model.list.paging.PageResponse<?> pageResponse, com.fasterxml.jackson.databind.ObjectMapper objectMapper) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • migrateToV5

      public static String migrateToV5(String unmigratedJson)
    • migrateToV5

      public static String migrateToV5(com.github.openjson.JSONObject jsonObject, com.fasterxml.jackson.databind.ObjectMapper objectMapper) throws com.fasterxml.jackson.databind.JsonMappingException, com.fasterxml.jackson.core.JsonProcessingException, com.github.openjson.JSONException
      Throws:
      com.fasterxml.jackson.databind.JsonMappingException
      com.fasterxml.jackson.core.JsonProcessingException
      com.github.openjson.JSONException