public class Validator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.com.fasterxml.jackson.databind.ObjectMapper |
mapper |
static int |
MAX_TAG_CHARS |
| Constructor and Description |
|---|
Validator() |
Validator(org.gcube.com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUserToGroupAsSysAdmin(String groupName) |
void |
addUserToGroupAsSysAdmin(String groupName,
String username) |
void |
createGroupAsSysAdmin(String title)
Retrieve an instance of the library for the scope
|
static List<String> |
getGroupHierarchyNames(String groupName)
Get the group hierarchy
|
org.gcube.com.fasterxml.jackson.databind.node.ObjectNode |
validateAgainstProfile(org.gcube.com.fasterxml.jackson.databind.node.ObjectNode objectNode,
MetadataUtility metadataUtility) |
public static final int MAX_TAG_CHARS
protected org.gcube.com.fasterxml.jackson.databind.ObjectMapper mapper
public Validator()
public Validator(org.gcube.com.fasterxml.jackson.databind.ObjectMapper mapper)
public org.gcube.com.fasterxml.jackson.databind.node.ObjectNode validateAgainstProfile(org.gcube.com.fasterxml.jackson.databind.node.ObjectNode objectNode,
MetadataUtility metadataUtility)
throws Exception
Exceptionpublic void createGroupAsSysAdmin(String title) throws Exception
Exceptionpublic void addUserToGroupAsSysAdmin(String groupName) throws Exception
Exceptionpublic void addUserToGroupAsSysAdmin(String groupName, String username) throws Exception
ExceptionCopyright © 2021. All Rights Reserved.