Class GlossaryFVT
java.lang.Object
org.odpi.openmetadata.viewservices.glossaryauthor.fvt.GlossaryFVT
FVT resource to call Glossary author glossary API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFutureGlossary
(String name) createGlossary
(String glossaryName) createMultipleTerms
(String userId, String guid, Term[] termArray) createPastFromGlossary
(String name) createPastToGlossary
(String name) void
deleteGlossary
(String guid) findGlossaries
(String criteria) getCategories
(String glossaryGuid, FindRequest findRequest, boolean onlyTop) getGlossaryByGUID
(String guid) static int
getGlossaryCount
(String url, String serverName, String userId) getGlossaryForInput
(String glossaryName) getGlossaryRelationships
(Glossary glossary) getTaxonomyForInput
(String glossaryName) getTermForInput
(String termName, String glossaryGuid) getTerms
(String glossaryGuid, FindRequest findRequest) issueCreateGlossary
(Glossary glossary) static void
restoreGlossary
(String guid) void
run()
static void
static void
runWith2Servers
(String url) updateGlossary
(String guid, Glossary glossary)
-
Constructor Details
-
GlossaryFVT
public GlossaryFVT(String url, String serverName, String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
-
Method Details
-
runWith2Servers
public static void runWith2Servers(String url) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, GlossaryAuthorFVTCheckedException -
main
-
runIt
public static void runIt(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, GlossaryAuthorFVTCheckedException -
getGlossaryCount
public static int getGlossaryCount(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, GlossaryAuthorFVTCheckedException -
run
public void run() throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getTermForInput
-
createGlossary
public Glossary createGlossary(String glossaryName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
issueCreateGlossary
public Glossary issueCreateGlossary(Glossary glossary) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException -
getGlossaryForInput
-
getTaxonomyForInput
-
createPastToGlossary
public Glossary createPastToGlossary(String name) throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createPastFromGlossary
public Glossary createPastFromGlossary(String name) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createInvalidEffectiveDateGlossary
public Glossary createInvalidEffectiveDateGlossary(String name) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createFutureGlossary
public Glossary createFutureGlossary(String name) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, GlossaryAuthorFVTCheckedException -
findGlossaries
public List<Glossary> findGlossaries(String criteria) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getGlossaryByGUID
public Glossary getGlossaryByGUID(String guid) throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
updateGlossary
public Glossary updateGlossary(String guid, Glossary glossary) throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
deleteGlossary
public void deleteGlossary(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
restoreGlossary
public Glossary restoreGlossary(String guid) throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getGlossaryRelationships
public List<Relationship> getGlossaryRelationships(Glossary glossary) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getCategories
public List<Category> getCategories(String glossaryGuid, FindRequest findRequest, boolean onlyTop) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getTerms
public List<Term> getTerms(String glossaryGuid, FindRequest findRequest) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createMultipleTerms
public List<Term> createMultipleTerms(String userId, String guid, Term[] termArray) throws PropertyServerException, InvalidParameterException, UserNotAuthorizedException
-