Package fr.gouv.vitam.common.mapping.dip
Class ObjectGroupMapper
java.lang.Object
fr.gouv.vitam.common.mapping.dip.ObjectGroupMapper
Mapper that map ObjectGroupResponse(POJO Dslquery response) to a DataObjectPackage (JAXB elements)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfr.gouv.culture.archivesdefrance.seda.v2.DataObjectPackageType
map
(ObjectGroupResponse objectGroupResponse) Map the object objectGroupResponse generated from queryDsl Response To a jaxb object DataObjectPackageType This help convert DslQueryResponse to xml using jaxb
-
Constructor Details
-
ObjectGroupMapper
public ObjectGroupMapper()
-
-
Method Details
-
map
public fr.gouv.culture.archivesdefrance.seda.v2.DataObjectPackageType map(ObjectGroupResponse objectGroupResponse) throws InternalServerException Map the object objectGroupResponse generated from queryDsl Response To a jaxb object DataObjectPackageType This help convert DslQueryResponse to xml using jaxb- Parameters:
objectGroupResponse
- the given queryDsl response for object Group- Returns:
- jaxb DataObjectPackageType
- Throws:
InternalServerException
-