Class CategoryFVT
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.fvt.CategoryFVT
-
public class CategoryFVT extends Object
FVT resource to call subject area category client API
-
-
Constructor Summary
Constructors Constructor Description CategoryFVT(String url, String serverName, String userId)
-
Method Summary
-
-
-
Constructor Detail
-
CategoryFVT
public CategoryFVT(String url, String serverName, String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
-
-
Method Detail
-
main
public static void main(String[] args)
-
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
-
-