Package fr.gouv.vitam.common.mapping.dip
Class ObjectGroupMapper
- java.lang.Object
-
- fr.gouv.vitam.common.mapping.dip.ObjectGroupMapper
-
public class ObjectGroupMapper extends java.lang.Object
Mapper that map ObjectGroupResponse(POJO Dslquery response) to a DataObjectPackage (JAXB elements)
-
-
Constructor Summary
Constructors Constructor Description ObjectGroupMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description fr.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
-
-
-
Method Detail
-
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
-
-