Class MetadataHelper
- java.lang.Object
-
- fr.gouv.vitam.collect.internal.core.helpers.MetadataHelper
-
public class MetadataHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DYNAMIC_ATTACHEMENT
static java.lang.String
STATIC_ATTACHMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectGroupResponse
createObjectGroup(java.lang.String transactionId, java.lang.String fileName, java.lang.String objectId, java.lang.String newFilename, FormatIdentifierResponse format, java.lang.String digest, java.lang.Long size)
static ArchiveUnitModel
createUnit(java.lang.String transactionId, fr.gouv.culture.archivesdefrance.seda.v2.LevelType descriptionLevel, java.lang.String title, java.lang.String unitParent)
static java.util.Map.Entry<java.lang.String,java.lang.String>
findUnitParent(com.fasterxml.jackson.databind.node.ObjectNode unit, java.util.List<MetadataUnitUp> unitUps, java.util.Map<java.lang.String,java.lang.String> unitIds)
-
-
-
Field Detail
-
STATIC_ATTACHMENT
public static final java.lang.String STATIC_ATTACHMENT
- See Also:
- Constant Field Values
-
DYNAMIC_ATTACHEMENT
public static final java.lang.String DYNAMIC_ATTACHEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
createUnit
public static ArchiveUnitModel createUnit(java.lang.String transactionId, fr.gouv.culture.archivesdefrance.seda.v2.LevelType descriptionLevel, java.lang.String title, java.lang.String unitParent)
-
createObjectGroup
public static ObjectGroupResponse createObjectGroup(java.lang.String transactionId, java.lang.String fileName, java.lang.String objectId, java.lang.String newFilename, FormatIdentifierResponse format, java.lang.String digest, java.lang.Long size)
-
findUnitParent
public static java.util.Map.Entry<java.lang.String,java.lang.String> findUnitParent(com.fasterxml.jackson.databind.node.ObjectNode unit, @Nonnull java.util.List<MetadataUnitUp> unitUps, java.util.Map<java.lang.String,java.lang.String> unitIds)
-
-