public class MetadataTaxonomiesManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataTaxonomiesManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
MetadataTaxonomiesManager() |
protected |
MetadataTaxonomiesManager(MetadataTaxonomiesManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
MetadataTaxonomyLevels |
addMetadataTaxonomyLevel(String namespace,
String taxonomyKey,
AddMetadataTaxonomyLevelRequestBody requestBody)
Creates a new metadata taxonomy level and appends it to the existing levels.
|
MetadataTaxonomyLevels |
addMetadataTaxonomyLevel(String namespace,
String taxonomyKey,
AddMetadataTaxonomyLevelRequestBody requestBody,
AddMetadataTaxonomyLevelHeaders headers)
Creates a new metadata taxonomy level and appends it to the existing levels.
|
MetadataTaxonomy |
createMetadataTaxonomy(CreateMetadataTaxonomyRequestBody requestBody)
Creates a new metadata taxonomy that can be used in metadata templates.
|
MetadataTaxonomy |
createMetadataTaxonomy(CreateMetadataTaxonomyRequestBody requestBody,
CreateMetadataTaxonomyHeaders headers)
Creates a new metadata taxonomy that can be used in metadata templates.
|
MetadataTaxonomyLevels |
createMetadataTaxonomyLevel(String namespace,
String taxonomyKey,
List<MetadataTaxonomyLevel> requestBody)
Creates new metadata taxonomy levels.
|
MetadataTaxonomyLevels |
createMetadataTaxonomyLevel(String namespace,
String taxonomyKey,
List<MetadataTaxonomyLevel> requestBody,
CreateMetadataTaxonomyLevelHeaders headers)
Creates new metadata taxonomy levels.
|
MetadataTaxonomyNode |
createMetadataTaxonomyNode(String namespace,
String taxonomyKey,
CreateMetadataTaxonomyNodeRequestBody requestBody)
Creates a new metadata taxonomy node.
|
MetadataTaxonomyNode |
createMetadataTaxonomyNode(String namespace,
String taxonomyKey,
CreateMetadataTaxonomyNodeRequestBody requestBody,
CreateMetadataTaxonomyNodeHeaders headers)
Creates a new metadata taxonomy node.
|
void |
deleteMetadataTaxonomy(String namespace,
String taxonomyKey)
Delete a metadata taxonomy.
|
void |
deleteMetadataTaxonomy(String namespace,
String taxonomyKey,
DeleteMetadataTaxonomyHeaders headers)
Delete a metadata taxonomy.
|
MetadataTaxonomyLevels |
deleteMetadataTaxonomyLevel(String namespace,
String taxonomyKey)
Deletes the last level of the metadata taxonomy.
|
MetadataTaxonomyLevels |
deleteMetadataTaxonomyLevel(String namespace,
String taxonomyKey,
DeleteMetadataTaxonomyLevelHeaders headers)
Deletes the last level of the metadata taxonomy.
|
void |
deleteMetadataTaxonomyNode(String namespace,
String taxonomyKey,
String nodeId)
Delete a metadata taxonomy node.
|
void |
deleteMetadataTaxonomyNode(String namespace,
String taxonomyKey,
String nodeId,
DeleteMetadataTaxonomyNodeHeaders headers)
Delete a metadata taxonomy node.
|
Authentication |
getAuth() |
MetadataTaxonomies |
getMetadataTaxonomies(String namespace)
Used to retrieve all metadata taxonomies in a namespace.
|
MetadataTaxonomies |
getMetadataTaxonomies(String namespace,
GetMetadataTaxonomiesHeaders headers)
Used to retrieve all metadata taxonomies in a namespace.
|
MetadataTaxonomies |
getMetadataTaxonomies(String namespace,
GetMetadataTaxonomiesQueryParams queryParams)
Used to retrieve all metadata taxonomies in a namespace.
|
MetadataTaxonomies |
getMetadataTaxonomies(String namespace,
GetMetadataTaxonomiesQueryParams queryParams,
GetMetadataTaxonomiesHeaders headers)
Used to retrieve all metadata taxonomies in a namespace.
|
MetadataTaxonomy |
getMetadataTaxonomyByKey(String namespace,
String taxonomyKey)
Used to retrieve a metadata taxonomy by taxonomy key.
|
MetadataTaxonomy |
getMetadataTaxonomyByKey(String namespace,
String taxonomyKey,
GetMetadataTaxonomyByKeyHeaders headers)
Used to retrieve a metadata taxonomy by taxonomy key.
|
MetadataTaxonomyNode |
getMetadataTaxonomyNodeById(String namespace,
String taxonomyKey,
String nodeId)
Retrieves a metadata taxonomy node by its identifier.
|
MetadataTaxonomyNode |
getMetadataTaxonomyNodeById(String namespace,
String taxonomyKey,
String nodeId,
GetMetadataTaxonomyNodeByIdHeaders headers)
Retrieves a metadata taxonomy node by its identifier.
|
MetadataTaxonomyNodes |
getMetadataTaxonomyNodes(String namespace,
String taxonomyKey)
Used to retrieve metadata taxonomy nodes based on the parameters specified.
|
MetadataTaxonomyNodes |
getMetadataTaxonomyNodes(String namespace,
String taxonomyKey,
GetMetadataTaxonomyNodesHeaders headers)
Used to retrieve metadata taxonomy nodes based on the parameters specified.
|
MetadataTaxonomyNodes |
getMetadataTaxonomyNodes(String namespace,
String taxonomyKey,
GetMetadataTaxonomyNodesQueryParams queryParams)
Used to retrieve metadata taxonomy nodes based on the parameters specified.
|
MetadataTaxonomyNodes |
getMetadataTaxonomyNodes(String namespace,
String taxonomyKey,
GetMetadataTaxonomyNodesQueryParams queryParams,
GetMetadataTaxonomyNodesHeaders headers)
Used to retrieve metadata taxonomy nodes based on the parameters specified.
|
MetadataTaxonomyNodes |
getMetadataTemplateFieldOptions(String namespace,
String templateKey,
String fieldKey)
Used to retrieve metadata taxonomy nodes which are available for the taxonomy field based on
its configuration and the parameters specified.
|
MetadataTaxonomyNodes |
getMetadataTemplateFieldOptions(String namespace,
String templateKey,
String fieldKey,
GetMetadataTemplateFieldOptionsHeaders headers)
Used to retrieve metadata taxonomy nodes which are available for the taxonomy field based on
its configuration and the parameters specified.
|
MetadataTaxonomyNodes |
getMetadataTemplateFieldOptions(String namespace,
String templateKey,
String fieldKey,
GetMetadataTemplateFieldOptionsQueryParams queryParams)
Used to retrieve metadata taxonomy nodes which are available for the taxonomy field based on
its configuration and the parameters specified.
|
MetadataTaxonomyNodes |
getMetadataTemplateFieldOptions(String namespace,
String templateKey,
String fieldKey,
GetMetadataTemplateFieldOptionsQueryParams queryParams,
GetMetadataTemplateFieldOptionsHeaders headers)
Used to retrieve metadata taxonomy nodes which are available for the taxonomy field based on
its configuration and the parameters specified.
|
NetworkSession |
getNetworkSession() |
MetadataTaxonomy |
updateMetadataTaxonomy(String namespace,
String taxonomyKey,
UpdateMetadataTaxonomyRequestBody requestBody)
Updates an existing metadata taxonomy.
|
MetadataTaxonomy |
updateMetadataTaxonomy(String namespace,
String taxonomyKey,
UpdateMetadataTaxonomyRequestBody requestBody,
UpdateMetadataTaxonomyHeaders headers)
Updates an existing metadata taxonomy.
|
MetadataTaxonomyLevel |
updateMetadataTaxonomyLevelById(String namespace,
String taxonomyKey,
long levelIndex,
UpdateMetadataTaxonomyLevelByIdRequestBody requestBody)
Updates an existing metadata taxonomy level.
|
MetadataTaxonomyLevel |
updateMetadataTaxonomyLevelById(String namespace,
String taxonomyKey,
long levelIndex,
UpdateMetadataTaxonomyLevelByIdRequestBody requestBody,
UpdateMetadataTaxonomyLevelByIdHeaders headers)
Updates an existing metadata taxonomy level.
|
MetadataTaxonomyNode |
updateMetadataTaxonomyNode(String namespace,
String taxonomyKey,
String nodeId)
Updates an existing metadata taxonomy node.
|
MetadataTaxonomyNode |
updateMetadataTaxonomyNode(String namespace,
String taxonomyKey,
String nodeId,
UpdateMetadataTaxonomyNodeHeaders headers)
Updates an existing metadata taxonomy node.
|
MetadataTaxonomyNode |
updateMetadataTaxonomyNode(String namespace,
String taxonomyKey,
String nodeId,
UpdateMetadataTaxonomyNodeRequestBody requestBody)
Updates an existing metadata taxonomy node.
|
MetadataTaxonomyNode |
updateMetadataTaxonomyNode(String namespace,
String taxonomyKey,
String nodeId,
UpdateMetadataTaxonomyNodeRequestBody requestBody,
UpdateMetadataTaxonomyNodeHeaders headers)
Updates an existing metadata taxonomy node.
|
public Authentication auth
public NetworkSession networkSession
public MetadataTaxonomiesManager()
protected MetadataTaxonomiesManager(MetadataTaxonomiesManager.Builder builder)
public MetadataTaxonomy createMetadataTaxonomy(CreateMetadataTaxonomyRequestBody requestBody)
requestBody - Request body of createMetadataTaxonomy methodpublic MetadataTaxonomy createMetadataTaxonomy(CreateMetadataTaxonomyRequestBody requestBody, CreateMetadataTaxonomyHeaders headers)
requestBody - Request body of createMetadataTaxonomy methodheaders - Headers of createMetadataTaxonomy methodpublic MetadataTaxonomies getMetadataTaxonomies(String namespace)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"public MetadataTaxonomies getMetadataTaxonomies(String namespace, GetMetadataTaxonomiesQueryParams queryParams)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"queryParams - Query parameters of getMetadataTaxonomies methodpublic MetadataTaxonomies getMetadataTaxonomies(String namespace, GetMetadataTaxonomiesHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"headers - Headers of getMetadataTaxonomies methodpublic MetadataTaxonomies getMetadataTaxonomies(String namespace, GetMetadataTaxonomiesQueryParams queryParams, GetMetadataTaxonomiesHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"queryParams - Query parameters of getMetadataTaxonomies methodheaders - Headers of getMetadataTaxonomies methodpublic MetadataTaxonomy getMetadataTaxonomyByKey(String namespace, String taxonomyKey)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"public MetadataTaxonomy getMetadataTaxonomyByKey(String namespace, String taxonomyKey, GetMetadataTaxonomyByKeyHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"headers - Headers of getMetadataTaxonomyByKey methodpublic MetadataTaxonomy updateMetadataTaxonomy(String namespace, String taxonomyKey, UpdateMetadataTaxonomyRequestBody requestBody)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"requestBody - Request body of updateMetadataTaxonomy methodpublic MetadataTaxonomy updateMetadataTaxonomy(String namespace, String taxonomyKey, UpdateMetadataTaxonomyRequestBody requestBody, UpdateMetadataTaxonomyHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"requestBody - Request body of updateMetadataTaxonomy methodheaders - Headers of updateMetadataTaxonomy methodpublic void deleteMetadataTaxonomy(String namespace, String taxonomyKey)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"public void deleteMetadataTaxonomy(String namespace, String taxonomyKey, DeleteMetadataTaxonomyHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"headers - Headers of deleteMetadataTaxonomy methodpublic MetadataTaxonomyLevels createMetadataTaxonomyLevel(String namespace, String taxonomyKey, List<MetadataTaxonomyLevel> requestBody)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"requestBody - Request body of createMetadataTaxonomyLevel methodpublic MetadataTaxonomyLevels createMetadataTaxonomyLevel(String namespace, String taxonomyKey, List<MetadataTaxonomyLevel> requestBody, CreateMetadataTaxonomyLevelHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"requestBody - Request body of createMetadataTaxonomyLevel methodheaders - Headers of createMetadataTaxonomyLevel methodpublic MetadataTaxonomyLevel updateMetadataTaxonomyLevelById(String namespace, String taxonomyKey, long levelIndex, UpdateMetadataTaxonomyLevelByIdRequestBody requestBody)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"levelIndex - The index of the metadata taxonomy level. Example: 1requestBody - Request body of updateMetadataTaxonomyLevelById methodpublic MetadataTaxonomyLevel updateMetadataTaxonomyLevelById(String namespace, String taxonomyKey, long levelIndex, UpdateMetadataTaxonomyLevelByIdRequestBody requestBody, UpdateMetadataTaxonomyLevelByIdHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"levelIndex - The index of the metadata taxonomy level. Example: 1requestBody - Request body of updateMetadataTaxonomyLevelById methodheaders - Headers of updateMetadataTaxonomyLevelById methodpublic MetadataTaxonomyLevels addMetadataTaxonomyLevel(String namespace, String taxonomyKey, AddMetadataTaxonomyLevelRequestBody requestBody)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"requestBody - Request body of addMetadataTaxonomyLevel methodpublic MetadataTaxonomyLevels addMetadataTaxonomyLevel(String namespace, String taxonomyKey, AddMetadataTaxonomyLevelRequestBody requestBody, AddMetadataTaxonomyLevelHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"requestBody - Request body of addMetadataTaxonomyLevel methodheaders - Headers of addMetadataTaxonomyLevel methodpublic MetadataTaxonomyLevels deleteMetadataTaxonomyLevel(String namespace, String taxonomyKey)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"public MetadataTaxonomyLevels deleteMetadataTaxonomyLevel(String namespace, String taxonomyKey, DeleteMetadataTaxonomyLevelHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"headers - Headers of deleteMetadataTaxonomyLevel methodpublic MetadataTaxonomyNodes getMetadataTaxonomyNodes(String namespace, String taxonomyKey)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"public MetadataTaxonomyNodes getMetadataTaxonomyNodes(String namespace, String taxonomyKey, GetMetadataTaxonomyNodesQueryParams queryParams)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"queryParams - Query parameters of getMetadataTaxonomyNodes methodpublic MetadataTaxonomyNodes getMetadataTaxonomyNodes(String namespace, String taxonomyKey, GetMetadataTaxonomyNodesHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"headers - Headers of getMetadataTaxonomyNodes methodpublic MetadataTaxonomyNodes getMetadataTaxonomyNodes(String namespace, String taxonomyKey, GetMetadataTaxonomyNodesQueryParams queryParams, GetMetadataTaxonomyNodesHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"queryParams - Query parameters of getMetadataTaxonomyNodes methodheaders - Headers of getMetadataTaxonomyNodes methodpublic MetadataTaxonomyNode createMetadataTaxonomyNode(String namespace, String taxonomyKey, CreateMetadataTaxonomyNodeRequestBody requestBody)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"requestBody - Request body of createMetadataTaxonomyNode methodpublic MetadataTaxonomyNode createMetadataTaxonomyNode(String namespace, String taxonomyKey, CreateMetadataTaxonomyNodeRequestBody requestBody, CreateMetadataTaxonomyNodeHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"requestBody - Request body of createMetadataTaxonomyNode methodheaders - Headers of createMetadataTaxonomyNode methodpublic MetadataTaxonomyNode getMetadataTaxonomyNodeById(String namespace, String taxonomyKey, String nodeId)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"nodeId - The identifier of the metadata taxonomy node. Example:
"14d3d433-c77f-49c5-b146-9dea370f6e32"public MetadataTaxonomyNode getMetadataTaxonomyNodeById(String namespace, String taxonomyKey, String nodeId, GetMetadataTaxonomyNodeByIdHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"nodeId - The identifier of the metadata taxonomy node. Example:
"14d3d433-c77f-49c5-b146-9dea370f6e32"headers - Headers of getMetadataTaxonomyNodeById methodpublic MetadataTaxonomyNode updateMetadataTaxonomyNode(String namespace, String taxonomyKey, String nodeId)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"nodeId - The identifier of the metadata taxonomy node. Example:
"14d3d433-c77f-49c5-b146-9dea370f6e32"public MetadataTaxonomyNode updateMetadataTaxonomyNode(String namespace, String taxonomyKey, String nodeId, UpdateMetadataTaxonomyNodeRequestBody requestBody)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"nodeId - The identifier of the metadata taxonomy node. Example:
"14d3d433-c77f-49c5-b146-9dea370f6e32"requestBody - Request body of updateMetadataTaxonomyNode methodpublic MetadataTaxonomyNode updateMetadataTaxonomyNode(String namespace, String taxonomyKey, String nodeId, UpdateMetadataTaxonomyNodeHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"nodeId - The identifier of the metadata taxonomy node. Example:
"14d3d433-c77f-49c5-b146-9dea370f6e32"headers - Headers of updateMetadataTaxonomyNode methodpublic MetadataTaxonomyNode updateMetadataTaxonomyNode(String namespace, String taxonomyKey, String nodeId, UpdateMetadataTaxonomyNodeRequestBody requestBody, UpdateMetadataTaxonomyNodeHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"nodeId - The identifier of the metadata taxonomy node. Example:
"14d3d433-c77f-49c5-b146-9dea370f6e32"requestBody - Request body of updateMetadataTaxonomyNode methodheaders - Headers of updateMetadataTaxonomyNode methodpublic void deleteMetadataTaxonomyNode(String namespace, String taxonomyKey, String nodeId)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"nodeId - The identifier of the metadata taxonomy node. Example:
"14d3d433-c77f-49c5-b146-9dea370f6e32"public void deleteMetadataTaxonomyNode(String namespace, String taxonomyKey, String nodeId, DeleteMetadataTaxonomyNodeHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"taxonomyKey - The key of the metadata taxonomy. Example: "geography"nodeId - The identifier of the metadata taxonomy node. Example:
"14d3d433-c77f-49c5-b146-9dea370f6e32"headers - Headers of deleteMetadataTaxonomyNode methodpublic MetadataTaxonomyNodes getMetadataTemplateFieldOptions(String namespace, String templateKey, String fieldKey)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"templateKey - The name of the metadata template. Example: "properties"fieldKey - The key of the metadata taxonomy field in the template. Example: "geography"public MetadataTaxonomyNodes getMetadataTemplateFieldOptions(String namespace, String templateKey, String fieldKey, GetMetadataTemplateFieldOptionsQueryParams queryParams)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"templateKey - The name of the metadata template. Example: "properties"fieldKey - The key of the metadata taxonomy field in the template. Example: "geography"queryParams - Query parameters of getMetadataTemplateFieldOptions methodpublic MetadataTaxonomyNodes getMetadataTemplateFieldOptions(String namespace, String templateKey, String fieldKey, GetMetadataTemplateFieldOptionsHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"templateKey - The name of the metadata template. Example: "properties"fieldKey - The key of the metadata taxonomy field in the template. Example: "geography"headers - Headers of getMetadataTemplateFieldOptions methodpublic MetadataTaxonomyNodes getMetadataTemplateFieldOptions(String namespace, String templateKey, String fieldKey, GetMetadataTemplateFieldOptionsQueryParams queryParams, GetMetadataTemplateFieldOptionsHeaders headers)
namespace - The namespace of the metadata taxonomy. Example: "enterprise_123456"templateKey - The name of the metadata template. Example: "properties"fieldKey - The key of the metadata taxonomy field in the template. Example: "geography"queryParams - Query parameters of getMetadataTemplateFieldOptions methodheaders - Headers of getMetadataTemplateFieldOptions methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()