Class TermFVT
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.fvt.TermFVT
FVT resource to call subject area term client API
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.TermcreateTerm(String termName, String glossaryGuid) org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.TermcreateTermWithGovernanceClassifications(String termName, String glossaryGuid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.GovernanceClassifications governanceClassifications) voiddeleteTerm(String guid) List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term>List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category>getCategoriesAPI(String termGuid, int startingFrom, int pageSize) org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.TermgetTermByGUID(String guid) static intgetTermCount(String url, String serverName, String userId) org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.TermgetTermForInput(String termName, String glossaryGuid) List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship>getTermRelationships(org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term) List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship>getTermRelationships(org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term, Date asOfTime, int offset, int pageSize, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.SequencingOrder sequenceOrder, String sequenceProperty) org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.TermissueCreateTerm(org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term) static voidorg.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.TermreplaceTerm(String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term) org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.TermrestoreTerm(String guid) voidrun()static voidstatic voidrunWith2Servers(String url) org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.TermupdateTerm(String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term) org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.TermupdateTermToFuture(long now, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term)
-
Constructor Details
-
TermFVT
public TermFVT(String url, String serverName, String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
-
Method Details
-
main
-
runWith2Servers
public static void runWith2Servers(String url) throws SubjectAreaFVTCheckedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
SubjectAreaFVTCheckedExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
runIt
public static void runIt(String url, String serverName, String userId) throws SubjectAreaFVTCheckedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
SubjectAreaFVTCheckedExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
getTermCount
public static int getTermCount(String url, String serverName, String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, SubjectAreaFVTCheckedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionSubjectAreaFVTCheckedException
-
run
public void run() throws SubjectAreaFVTCheckedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- Throws:
SubjectAreaFVTCheckedExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
createTerm
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term createTerm(String termName, String glossaryGuid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
issueCreateTerm
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term issueCreateTerm(org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
getTermForInput
-
createTermWithGovernanceClassifications
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term createTermWithGovernanceClassifications(String termName, String glossaryGuid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.GovernanceClassifications governanceClassifications) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
getTermByGUID
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term getTermByGUID(String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
findTerms
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term> findTerms(String criteria) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
updateTerm
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term updateTerm(String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
replaceTerm
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term replaceTerm(String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
restoreTerm
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term restoreTerm(String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
updateTermToFuture
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term updateTermToFuture(long now, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
deleteTerm
public void deleteTerm(String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
getTermRelationships
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship> getTermRelationships(org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
getTermRelationships
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship> getTermRelationships(org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term, Date asOfTime, int offset, int pageSize, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.SequencingOrder sequenceOrder, String sequenceProperty) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
getCategoriesAPI
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category> getCategoriesAPI(String termGuid, int startingFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-