Class ObjectGroupMapper


  • public class ObjectGroupMapper
    extends java.lang.Object
    Mapper that map ObjectGroupResponse(POJO Dslquery response) to a DataObjectPackage (JAXB elements)
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectGroupMapper

        public ObjectGroupMapper()
    • 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