Package fr.gouv.vitam.common.mapping.dip
Interface DipService
-
- All Known Implementing Classes:
ObjectGroupDipServiceImpl
,UnitDipServiceImpl
public interface DipService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
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)
-
-
-
Method Detail
-
jsonToXml
javax.ws.rs.core.Response 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)- Parameters:
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- Returns:
- xml representation of the object (Unit or Object Group)
-
-