public class CategoryFVT extends Object
| Constructor and Description |
|---|
CategoryFVT(String url,
String serverName,
String userId) |
| Modifier and Type | Method and Description |
|---|---|
Category |
createCategory(String categoryName,
String glossaryGuid) |
Category |
createCategoryWithGlossaryGuid(String categoryName,
String glossaryGuid) |
void |
deleteCategory(String guid) |
List<Category> |
findCategories(String criteria) |
Category |
getCategoryByGUID(String guid) |
List<Category> |
getCategoryChildren(String categoryGuid) |
static int |
getCategoryCount(String url,
String serverName,
String userId) |
List<Relationship> |
getCategoryRelationships(Category category) |
List<Term> |
getTerms(String categoryGuid) |
List<Term> |
getTerms(String categoryGuid,
FindRequest findRequest) |
static void |
main(String[] args) |
void |
purgeCategory(String guid) |
Category |
restoreCategory(String guid) |
void |
run() |
static void |
runIt(String url,
String serverName,
String userId) |
static void |
runWith2Servers(String url) |
Category |
updateCategory(String guid,
Category category) |
public CategoryFVT(String url, String serverName, String userId) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public static void main(String[] args)
public static void runWith2Servers(String url) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public static void runIt(String url, String serverName, String userId) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public static int getCategoryCount(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, SubjectAreaFVTCheckedException
public void run()
throws SubjectAreaFVTCheckedException,
InvalidParameterException,
PropertyServerException,
UserNotAuthorizedException
public Category createCategoryWithGlossaryGuid(String categoryName, String glossaryGuid) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Category createCategory(String categoryName, String glossaryGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Category getCategoryByGUID(String guid) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public List<Category> findCategories(String criteria) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Category updateCategory(String guid, Category category) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public void deleteCategory(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Category restoreCategory(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException, SubjectAreaFVTCheckedException
public void purgeCategory(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public List<Relationship> getCategoryRelationships(Category category) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public List<Category> getCategoryChildren(String categoryGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public List<Term> getTerms(String categoryGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public List<Term> getTerms(String categoryGuid, FindRequest findRequest) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.