public class ISProfile extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.com.fasterxml.jackson.databind.ObjectMapper |
mapper |
static int |
PRETTY_PRINT_INDENT_FACTOR |
| Constructor and Description |
|---|
ISProfile() |
| Modifier and Type | Method and Description |
|---|---|
int |
count() |
protected void |
createGenericResource(String name,
String xml) |
boolean |
createOrUpdate(String name,
String xml) |
boolean |
delete(String name) |
protected org.gcube.common.resources.gcore.GenericResource |
getGenericResource(String name) |
org.gcube.com.fasterxml.jackson.databind.ObjectMapper |
getMapper() |
protected org.gcube.common.resources.gcore.GenericResource |
instantiateGenericResource(String name,
String xml) |
org.gcube.com.fasterxml.jackson.databind.node.ArrayNode |
list() |
String |
read(String name,
boolean xml) |
protected void |
removeGenericResource(String name) |
protected void |
updateGenericResource(String name,
String xml) |
public static int PRETTY_PRINT_INDENT_FACTOR
protected org.gcube.com.fasterxml.jackson.databind.ObjectMapper mapper
public org.gcube.com.fasterxml.jackson.databind.ObjectMapper getMapper()
public int count()
public org.gcube.com.fasterxml.jackson.databind.node.ArrayNode list()
protected org.gcube.common.resources.gcore.GenericResource instantiateGenericResource(String name, String xml) throws Exception
Exceptionprotected void createGenericResource(String name, String xml) throws Exception
Exceptionprotected org.gcube.common.resources.gcore.GenericResource getGenericResource(String name)
protected void removeGenericResource(String name)
public boolean createOrUpdate(String name, String xml) throws SAXException
SAXExceptionpublic boolean delete(String name)
Copyright © 2021. All Rights Reserved.