public class Validator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper |
static int |
MAX_TAG_CHARS |
| Constructor and Description |
|---|
Validator() |
Validator(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
|
com.fasterxml.jackson.databind.node.ObjectNode |
validateAgainstProfile(com.fasterxml.jackson.databind.node.ObjectNode objectNode,
MetadataUtility metadataUtility) |
public static final int MAX_TAG_CHARS
protected com.fasterxml.jackson.databind.ObjectMapper mapper
public Validator()
public Validator(com.fasterxml.jackson.databind.ObjectMapper mapper)
public com.fasterxml.jackson.databind.node.ObjectNode validateAgainstProfile(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 © 2020. All Rights Reserved.