Class ObjectGroupDipServiceImpl
- java.lang.Object
-
- fr.gouv.vitam.access.internal.core.ObjectGroupDipServiceImpl
-
- All Implemented Interfaces:
DipService
public class ObjectGroupDipServiceImpl extends java.lang.Object implements DipService
Object Group Service for retrieve Xml representation of Object Group
-
-
Constructor Summary
Constructors Constructor Description ObjectGroupDipServiceImpl(ObjectGroupMapper objectGroupMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete 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)
-
-
-
Constructor Detail
-
ObjectGroupDipServiceImpl
public ObjectGroupDipServiceImpl(ObjectGroupMapper objectGroupMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
jsonToXml
public javax.ws.rs.core.Response 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 interfaceDipService
- 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)
-
-