Class CategoryFVT
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.fvt.CategoryFVT
FVT resource to call subject area category client 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 SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
runIt
public static void runIt(String url, String serverName, String userId) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getCategoryCount
public static int getCategoryCount(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, SubjectAreaFVTCheckedException -
run
public void run() throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createCategoryWithGlossaryGuid
public Category createCategoryWithGlossaryGuid(String categoryName, String glossaryGuid) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
createCategory
public Category createCategory(String categoryName, String glossaryGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
getCategoryByGUID
public Category getCategoryByGUID(String guid) throws SubjectAreaFVTCheckedException, 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 SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
deleteCategory
public void deleteCategory(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException -
restoreCategory
public Category restoreCategory(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, SubjectAreaFVTCheckedException -
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
-