Class CollectHelper
- java.lang.Object
-
- fr.gouv.vitam.collect.internal.helpers.CollectHelper
-
public class CollectHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkVersion(int version, int lastVersion)
static void
createGraph(com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> multimap, java.util.Set<java.lang.String> originatingAgencies, java.util.Map<java.lang.String,java.lang.String> ogs, com.fasterxml.jackson.databind.JsonNode result)
static java.util.List<BulkUnitInsertEntry>
fetchBulkUnitInsertEntries(com.fasterxml.jackson.databind.node.ObjectNode unitJson)
static DataObjectVersionType
fetchUsage(java.lang.String usageString)
static DbQualifiersModel
findQualifier(java.util.List<DbQualifiersModel> qualifiers, DataObjectVersionType usage)
static FormatIdentifierResponse
getFirstPronomFormat(java.util.List<FormatIdentifierResponse> formats)
static int
getLastVersion(DbQualifiersModel qualifierModelToUpdate)
static DbVersionsModel
getObjectVersionsModel(DbObjectGroupModel dbObjectGroupModel, DataObjectVersionType usage, int version)
static java.lang.String
readMessageDigestReturn(byte[] theDigestResult)
-
-
-
Field Detail
-
UP
public static final java.lang.String UP
- See Also:
- Constant Field Values
-
-
Method Detail
-
readMessageDigestReturn
public static java.lang.String readMessageDigestReturn(byte[] theDigestResult)
-
fetchUsage
public static DataObjectVersionType fetchUsage(java.lang.String usageString) throws CollectException
- Throws:
CollectException
-
getFirstPronomFormat
public static FormatIdentifierResponse getFirstPronomFormat(java.util.List<FormatIdentifierResponse> formats)
-
getObjectVersionsModel
public static DbVersionsModel getObjectVersionsModel(DbObjectGroupModel dbObjectGroupModel, DataObjectVersionType usage, int version)
-
getLastVersion
public static int getLastVersion(DbQualifiersModel qualifierModelToUpdate)
-
findQualifier
public static DbQualifiersModel findQualifier(java.util.List<DbQualifiersModel> qualifiers, DataObjectVersionType usage)
-
checkVersion
public static void checkVersion(int version, int lastVersion)
-
createGraph
public static void createGraph(com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> multimap, java.util.Set<java.lang.String> originatingAgencies, java.util.Map<java.lang.String,java.lang.String> ogs, com.fasterxml.jackson.databind.JsonNode result)
-
fetchBulkUnitInsertEntries
public static java.util.List<BulkUnitInsertEntry> fetchBulkUnitInsertEntries(com.fasterxml.jackson.databind.node.ObjectNode unitJson)
-
-