Class MetadataHelper
java.lang.Object
fr.gouv.vitam.collect.internal.core.helpers.MetadataHelper
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyTransactionToQuery
(String transactionId, RequestMultiple select) static ObjectGroupResponse
createObjectGroup
(String transactionId, String fileName, String objectId, String newFilename, Optional<FormatIdentifierResponse> formatOpt, String digest, Long size) static ArchiveUnitModel
createUnit
(String transactionId, LevelType descriptionLevel, String path, String title, String unitParent) findUnitParent
(com.fasterxml.jackson.databind.node.ObjectNode unit, List<MetadataUnitUp> unitUps, Map<String, String> attachmentUnitsBySystemId)
-
Field Details
-
STATIC_ATTACHMENT
- See Also:
-
DYNAMIC_ATTACHEMENT
- See Also:
-
-
Method Details
-
createUnit
-
createObjectGroup
public static ObjectGroupResponse createObjectGroup(String transactionId, String fileName, String objectId, String newFilename, Optional<FormatIdentifierResponse> formatOpt, String digest, Long size) -
findUnitParent
-
applyTransactionToQuery
public static void applyTransactionToQuery(String transactionId, RequestMultiple select) throws InvalidCreateOperationException - Throws:
InvalidCreateOperationException
-