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) |
Category |
deleteCategory(String guid) |
List<Category> |
findCategories(String criteria) |
Category |
getCategoryByGUID(String guid) |
List<Line> |
getCategoryRelationships(Category category) |
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
InvalidParameterExceptionpublic static void main(String[] args)
public static void runWith2Servers(String url) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public static void runIt(String url, String serverName, String userId) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public void run()
throws SubjectAreaCheckedException,
SubjectAreaFVTCheckedException
public Category createCategoryWithGlossaryGuid(String categoryName, String glossaryGuid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Category createCategory(String categoryName, String glossaryGuid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Category getCategoryByGUID(String guid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public List<Category> findCategories(String criteria) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Category updateCategory(String guid, Category category) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Category deleteCategory(String guid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Category restoreCategory(String guid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public void purgeCategory(String guid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public List<Line> getCategoryRelationships(Category category) throws UserNotAuthorizedException, UnexpectedResponseException, InvalidParameterException, FunctionNotSupportedException, MetadataServerUncontactableException
Copyright © 2018–2020 ODPi. All rights reserved.