Class TermFVT
- java.lang.Object
-
- org.odpi.openmetadata.viewservices.glossaryauthor.fvt.TermFVT
-
public class TermFVT extends Object
FVT resource to call Glossary Author View term API
-
-
Method Summary
-
-
-
Constructor Detail
-
TermFVT
public TermFVT(String url, String serverName, String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
-
Method Detail
-
main
public static void main(String[] args)
-
runWith2Servers
public static void runWith2Servers(String url) throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
runIt
public static void runIt(String url, String serverName, String userId) throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
getTermCount
public static int getTermCount(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, GlossaryAuthorFVTCheckedException, PropertyServerException, UserNotAuthorizedException
-
run
public void run() throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
createTerm
public Term createTerm(String termName, String glossaryGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
issueCreateTerm
public Term issueCreateTerm(Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
createTermWithGovernanceClassifications
public Term createTermWithGovernanceClassifications(String termName, String glossaryGuid, GovernanceClassifications governanceClassifications) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
getTermByGUID
public Term getTermByGUID(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
findTerms
public List<Term> findTerms(String criteria) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
updateTerm
public Term updateTerm(String guid, Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
replaceTerm
public Term replaceTerm(String guid, Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
restoreTerm
public Term restoreTerm(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
updateTermToFuture
public Term updateTermToFuture(long now, String guid, Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
deleteTerm
public void deleteTerm(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
getTermRelationships
public List<Relationship> getTermRelationships(Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
getTermRelationships
public List<Relationship> getTermRelationships(Term term, Date asOfTime, int offset, int pageSize, SequencingOrder sequenceOrder, String sequenceProperty) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, PropertyServerException, UserNotAuthorizedException
-
getCategoriesAPI
public List<Category> getCategoriesAPI(String termGuid, int startingFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
-