public class HeaderUtility extends Object
| Constructor and Description |
|---|
HeaderUtility() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.informationsystem.model.reference.properties.Header |
addHeader(com.orientechnologies.orient.core.record.OElement element,
UUID uuid) |
static org.gcube.informationsystem.model.reference.properties.Header |
createHeader(UUID uuid) |
static org.gcube.informationsystem.model.reference.properties.Header |
getHeader(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode,
boolean creation) |
static org.gcube.informationsystem.model.reference.properties.Header |
getHeader(com.orientechnologies.orient.core.record.OElement element) |
static HeaderOrient |
getHeaderOrient(com.orientechnologies.orient.core.record.impl.ODocument oDocument) |
static String |
getUser() |
static void |
updateModifiedByAndLastUpdate(com.orientechnologies.orient.core.record.OElement element) |
public static String getUser()
public static org.gcube.informationsystem.model.reference.properties.Header createHeader(UUID uuid)
public static org.gcube.informationsystem.model.reference.properties.Header getHeader(org.gcube.com.fasterxml.jackson.databind.JsonNode jsonNode,
boolean creation)
throws org.gcube.com.fasterxml.jackson.core.JsonParseException,
org.gcube.com.fasterxml.jackson.databind.JsonMappingException,
IOException,
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.com.fasterxml.jackson.core.JsonParseExceptionorg.gcube.com.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static HeaderOrient getHeaderOrient(com.orientechnologies.orient.core.record.impl.ODocument oDocument) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static org.gcube.informationsystem.model.reference.properties.Header addHeader(com.orientechnologies.orient.core.record.OElement element,
UUID uuid)
public static org.gcube.informationsystem.model.reference.properties.Header getHeader(com.orientechnologies.orient.core.record.OElement element)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic static void updateModifiedByAndLastUpdate(com.orientechnologies.orient.core.record.OElement element)
throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2022. All Rights Reserved.