Class ArchiveUnitMapper
java.lang.Object
fr.gouv.vitam.worker.core.mapping.ArchiveUnitMapper
map archive unit to model
-
Constructor Summary
ConstructorDescriptionArchiveUnitMapper
(DescriptiveMetadataMapper descriptiveMetadataMapper, RuleMapper ruleMapper) -
Method Summary
Modifier and TypeMethodDescriptionmap
(fr.gouv.culture.archivesdefrance.seda.v2.ArchiveUnitType archiveUnitType, String id, String groupId, String operationId, String unitType, String sedaVersion) mappingmapAndValidateDataObjectReference
(fr.gouv.culture.archivesdefrance.seda.v2.ArchiveUnitType archiveUnitType)
-
Constructor Details
-
ArchiveUnitMapper
public ArchiveUnitMapper(DescriptiveMetadataMapper descriptiveMetadataMapper, RuleMapper ruleMapper)
-
-
Method Details
-
map
public ArchiveUnitRoot map(fr.gouv.culture.archivesdefrance.seda.v2.ArchiveUnitType archiveUnitType, String id, String groupId, String operationId, String unitType, String sedaVersion) throws ProcessingMalformedDataException, ProcessingObjectReferenceException mapping- Parameters:
archiveUnitType
-id
-groupId
-operationId
-unitType
-sedaVersion
-- Returns:
- ArchiveUnitRoot
- Throws:
ProcessingMalformedDataException
ProcessingObjectReferenceException
-
mapAndValidateDataObjectReference
public DataObjectReference mapAndValidateDataObjectReference(fr.gouv.culture.archivesdefrance.seda.v2.ArchiveUnitType archiveUnitType) throws ProcessingObjectReferenceException
-