Class UnitDipServiceImpl

  • All Implemented Interfaces:

    public class UnitDipServiceImpl
    extends java.lang.Object
    implements DipService
    Unit Dip service impl for retrieve DIP
    • Constructor Summary

      Constructor Description
      UnitDipServiceImpl​(ArchiveUnitMapper archiveUnitMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description jsonToXml​(com.fasterxml.jackson.databind.JsonNode object, java.lang.String id)
      Transform the representation of an object (unit or objectGroup) to an xml format (DIP)
      • Methods inherited from class java.lang.Object

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

      • UnitDipServiceImpl

        public UnitDipServiceImpl​(ArchiveUnitMapper archiveUnitMapper,
                                  com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • jsonToXml

        public jsonToXml​(com.fasterxml.jackson.databind.JsonNode object,
                                                   java.lang.String id)
        Description copied from interface: DipService
        Transform the representation of an object (unit or objectGroup) to an xml format (DIP)
        Specified by:
        jsonToXml in interface DipService
        object - the given representation of the object as Json (can be unit or objectGroup)
        id - The given id of the object to transform can be archiveUnit or objectGroup
        xml representation of the object (Unit or Object Group)