java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.fvt.TermFVT

public class TermFVT extends Object
FVT resource to call subject area term client API
  • Constructor Summary

    Constructors
    Constructor
    Description
    TermFVT(String url, String serverName, String userId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term
    createTerm(String termName, String glossaryGuid)
     
    org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term
    createTermWithGovernanceClassifications(String termName, String glossaryGuid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.GovernanceClassifications governanceClassifications)
     
    void
     
    List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term>
    findTerms(String criteria)
     
    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.Term
     
    static int
    getTermCount(String url, String serverName, String userId)
     
    org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term
    getTermForInput(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.Term
    issueCreateTerm(org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term)
     
    static void
    main(String[] args)
     
    org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term
    replaceTerm(String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term)
     
    org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term
     
    void
    run()
     
    static void
    runIt(String url, String serverName, String userId)
     
    static void
     
    org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term
    updateTerm(String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term)
     
    org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term
    updateTermToFuture(long now, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term term)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
  • Method Details

    • main

      public static void main(String[] args)
    • 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:
      SubjectAreaFVTCheckedException
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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:
      SubjectAreaFVTCheckedException
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      SubjectAreaFVTCheckedException
    • 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:
      SubjectAreaFVTCheckedException
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
    • getTermForInput

      public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term getTermForInput(String termName, String glossaryGuid)
    • 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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.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.InvalidParameterException
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException