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 TypeMethodDescriptioncreateTerm
(String termName, String glossaryGuid) createTermWithGovernanceClassifications
(String termName, String glossaryGuid, GovernanceClassifications governanceClassifications) void
deleteTerm
(String guid) getCategoriesAPI
(String termGuid, int startingFrom, int pageSize) getTermByGUID
(String guid) static int
getTermCount
(String url, String serverName, String userId) getTermForInput
(String termName, String glossaryGuid) getTermRelationships
(Term term) getTermRelationships
(Term term, Date asOfTime, int offset, int pageSize, SequencingOrder sequenceOrder, String sequenceProperty) issueCreateTerm
(Term term) static void
replaceTerm
(String guid, Term term) restoreTerm
(String guid) void
run()
static void
static void
runWith2Servers
(String url) updateTerm
(String guid, Term term) updateTermToFuture
(long now, String guid, Term term)
-
Constructor Details
-
TermFVT
public TermFVT(String url, String serverName, String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
-
Method Details
-
main
-
runWith2Servers
public static void runWith2Servers(String url) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
runIt
public static void runIt(String url, String serverName, String userId) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getTermCount
public static int getTermCount(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, SubjectAreaFVTCheckedException -
run
public void run() throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createTerm
public Term createTerm(String termName, String glossaryGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
issueCreateTerm
public Term issueCreateTerm(Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getTermForInput
-
createTermWithGovernanceClassifications
public Term createTermWithGovernanceClassifications(String termName, String glossaryGuid, GovernanceClassifications governanceClassifications) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getTermByGUID
public Term getTermByGUID(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
findTerms
public List<Term> findTerms(String criteria) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
updateTerm
public Term updateTerm(String guid, Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
replaceTerm
public Term replaceTerm(String guid, Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
restoreTerm
public Term restoreTerm(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
updateTermToFuture
public Term updateTermToFuture(long now, String guid, Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
deleteTerm
public void deleteTerm(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getTermRelationships
public List<Relationship> getTermRelationships(Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getTermRelationships
public List<Relationship> getTermRelationships(Term term, Date asOfTime, int offset, int pageSize, SequencingOrder sequenceOrder, String sequenceProperty) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getCategoriesAPI
public List<Category> getCategoriesAPI(String termGuid, int startingFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-