public class SubjectAreaRESTServices extends Object
| Constructor and Description |
|---|
SubjectAreaRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
GUIDResponse |
createSubjectArea(String serverName,
String userId,
SubjectAreaProperties requestBody)
Create a definition of a subject area.
|
VoidResponse |
deleteSubjectArea(String serverName,
String userId,
String subjectAreaGUID,
NullRequestBody requestBody)
Remove the definition of a subjectArea.
|
SubjectAreaResponse |
getSubjectAreaByGUID(String serverName,
String userId,
String subjectAreaGUID)
Return information about a specific subject area.
|
SubjectAreaResponse |
getSubjectAreaByName(String serverName,
String userId,
String qualifiedName)
Return information about a specific subject area.
|
SubjectAreaDefinitionResponse |
getSubjectAreaDefinitionByGUID(String serverName,
String userId,
String subjectAreaGUID)
Return information about a specific subject area and its linked governance definitions.
|
SubjectAreaListResponse |
getSubjectAreasForDomain(String serverName,
String userId,
int domainIdentifier,
int startFrom,
int pageSize)
Return information about the defined subject areas.
|
VoidResponse |
linkSubjectAreasInHierarchy(String serverName,
String userId,
String parentSubjectAreaGUID,
String childSubjectAreaGUID,
NullRequestBody requestBody)
Link two related subject areas together as part of a hierarchy.
|
VoidResponse |
linkSubjectAreaToGovernanceDefinition(String serverName,
String userId,
String subjectAreaGUID,
String definitionGUID,
NullRequestBody requestBody)
Link a subject area to a governance definition that controls how the assets in the subjectArea should be governed.
|
VoidResponse |
unlinkSubjectAreaFromGovernanceDefinition(String serverName,
String userId,
String subjectAreaGUID,
String definitionGUID,
NullRequestBody requestBody)
Remove the link between a subjectArea and a governance definition.
|
VoidResponse |
unlinkSubjectAreasInHierarchy(String serverName,
String userId,
String parentSubjectAreaGUID,
String childSubjectAreaGUID,
NullRequestBody requestBody)
Remove the link between two subjectAreas in the subjectArea hierarchy.
|
VoidResponse |
updateSubjectArea(String serverName,
String userId,
String subjectAreaGUID,
boolean isMergeUpdate,
SubjectAreaProperties requestBody)
Update the definition of a subjectArea.
|
public GUIDResponse createSubjectArea(String serverName, String userId, SubjectAreaProperties requestBody)
serverName - name of the server instance to connect touserId - calling userrequestBody - other properties for a subject areapublic VoidResponse updateSubjectArea(String serverName, String userId, String subjectAreaGUID, boolean isMergeUpdate, SubjectAreaProperties requestBody)
serverName - name of the server instance to connect touserId - calling usersubjectAreaGUID - unique identifier of subjectAreaisMergeUpdate - are unspecified properties unchanged (true) or replaced with null?requestBody - properties to changepublic VoidResponse deleteSubjectArea(String serverName, String userId, String subjectAreaGUID, NullRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling usersubjectAreaGUID - unique identifier of subjectAreapublic VoidResponse linkSubjectAreasInHierarchy(String serverName, String userId, String parentSubjectAreaGUID, String childSubjectAreaGUID, NullRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling userparentSubjectAreaGUID - unique identifier of the parent subjectAreachildSubjectAreaGUID - unique identifier of the child subjectArearequestBody - null requestBodypublic VoidResponse unlinkSubjectAreasInHierarchy(String serverName, String userId, String parentSubjectAreaGUID, String childSubjectAreaGUID, NullRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling userparentSubjectAreaGUID - unique identifier of the parent subjectAreachildSubjectAreaGUID - unique identifier of the child subjectArearequestBody - null requestBodypublic VoidResponse linkSubjectAreaToGovernanceDefinition(String serverName, String userId, String subjectAreaGUID, String definitionGUID, NullRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling usersubjectAreaGUID - unique identifier of the subjectAreadefinitionGUID - unique identifier of the governance definitionrequestBody - null requestBodypublic VoidResponse unlinkSubjectAreaFromGovernanceDefinition(String serverName, String userId, String subjectAreaGUID, String definitionGUID, NullRequestBody requestBody)
serverName - name of the server instance to connect touserId - calling usersubjectAreaGUID - unique identifier of the subjectAreadefinitionGUID - unique identifier of the governance definitionrequestBody - null requestBodypublic SubjectAreaResponse getSubjectAreaByGUID(String serverName, String userId, String subjectAreaGUID)
serverName - name of the server instance to connect touserId - calling usersubjectAreaGUID - unique identifier for the subjectAreapublic SubjectAreaResponse getSubjectAreaByName(String serverName, String userId, String qualifiedName)
serverName - name of the server instance to connect touserId - calling userqualifiedName - unique name for the subjectAreapublic SubjectAreaListResponse getSubjectAreasForDomain(String serverName, String userId, int domainIdentifier, int startFrom, int pageSize)
serverName - name of the server instance to connect touserId - calling userdomainIdentifier - identifier for the desired governance domain - 0 for all domainsstartFrom - paging start pointpageSize - maximum results that can be returnedpublic SubjectAreaDefinitionResponse getSubjectAreaDefinitionByGUID(String serverName, String userId, String subjectAreaGUID)
serverName - name of the server instance to connect touserId - calling usersubjectAreaGUID - unique identifier for the subjectAreaCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.