Class V5MigrationHelper
java.lang.Object
de.digitalcollections.cudami.server.controller.legacy.V5MigrationHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringmigrate(de.digitalcollections.model.list.paging.PageResponse<?> pageResponse, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static List<de.digitalcollections.model.list.sorting.Order>static StringmigrateToV5(com.github.openjson.JSONObject jsonObject, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static StringmigrateToV5(String unmigratedJson)
-
Method Details
-
migrate
-
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
-
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.JsonMappingExceptioncom.fasterxml.jackson.core.JsonProcessingExceptioncom.github.openjson.JSONException
-