Class GlossaryFVT
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.fvt.GlossaryFVT
FVT resource to call subject area glossary client API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFutureGlossary
(long now, String name) createGlossary
(String glossaryName) createPastFromGlossary
(long now, String name) createPastToGlossary
(long now, 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) 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, SubjectAreaFVTCheckedException -
main
-
runIt
public static void runIt(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, SubjectAreaFVTCheckedException -
getGlossaryCount
public static int getGlossaryCount(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, SubjectAreaFVTCheckedException -
run
public void run() throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
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(long now, String name) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createPastFromGlossary
public Glossary createPastFromGlossary(long now, String name) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createInvalidEffectiveDateGlossary
public Glossary createInvalidEffectiveDateGlossary(String name) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createFutureGlossary
public Glossary createFutureGlossary(long now, String name) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, SubjectAreaFVTCheckedException -
findGlossaries
public List<Glossary> findGlossaries(String criteria) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getGlossaryByGUID
public Glossary getGlossaryByGUID(String guid) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
updateGlossary
public Glossary updateGlossary(String guid, Glossary glossary) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
deleteGlossary
public void deleteGlossary(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
restoreGlossary
public Glossary restoreGlossary(String guid) throws SubjectAreaFVTCheckedException, 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
-