Class V5MigrationHelper
- java.lang.Object
-
- de.digitalcollections.cudami.server.controller.legacy.V5MigrationHelper
-
public class V5MigrationHelper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringmigrate(de.digitalcollections.model.list.paging.PageResponse<?> pageResponse, com.fasterxml.jackson.databind.ObjectMapper objectMapper)static List<de.digitalcollections.model.list.sorting.Order>migrate(List<de.digitalcollections.model.list.sorting.Order> sortBy)static StringmigrateToV5(com.github.openjson.JSONObject jsonObject, com.fasterxml.jackson.databind.ObjectMapper objectMapper)static StringmigrateToV5(String unmigratedJson)
-
-
-
Method Detail
-
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(com.github.openjson.JSONObject jsonObject, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-