Class CategoryFVT
java.lang.Object
org.odpi.openmetadata.viewservices.glossaryauthor.fvt.CategoryFVT
FVT resource to call Glossary Author View category API
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCategory
(String categoryName, String glossaryGuid) createCategoryWithGlossaryGuid
(String categoryName, String glossaryGuid) void
deleteCategory
(String guid) findCategories
(String criteria) findCategories
(String criteria, boolean exactValue, boolean ignoreCase) getCategoryByGUID
(String guid) getCategoryChildren
(String categoryGuid) static int
getCategoryCount
(String url, String serverName, String userId) getCategoryRelationships
(Category category) getTerms
(String categoryGuid, FindRequest findRequest) static void
restoreCategory
(String guid) void
run()
static void
static void
runWith2Servers
(String url) updateCategory
(String guid, Category category)
-
Constructor Details
-
CategoryFVT
public CategoryFVT(String url, String serverName, String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
-
Method Details
-
main
-
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 -
getCategoryCount
public static int getCategoryCount(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, GlossaryAuthorFVTCheckedException -
run
public void run() throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createCategoryWithGlossaryGuid
public Category createCategoryWithGlossaryGuid(String categoryName, String glossaryGuid) throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createCategory
public Category createCategory(String categoryName, String glossaryGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getCategoryByGUID
public Category getCategoryByGUID(String guid) throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
findCategories
public List<Category> findCategories(String criteria) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
findCategories
public List<Category> findCategories(String criteria, boolean exactValue, boolean ignoreCase) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
updateCategory
public Category updateCategory(String guid, Category category) throws GlossaryAuthorFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
deleteCategory
public void deleteCategory(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
restoreCategory
public Category restoreCategory(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, GlossaryAuthorFVTCheckedException -
getCategoryRelationships
public List<Relationship> getCategoryRelationships(Category category) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getCategoryChildren
public List<Category> getCategoryChildren(String categoryGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getTerms
public List<Term> getTerms(String categoryGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getTerms
public List<Term> getTerms(String categoryGuid, FindRequest findRequest) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-