Class GlossaryAuthorViewCategoryClient
java.lang.Object
org.odpi.openmetadata.viewservices.glossaryauthor.fvt.client.category.GlossaryAuthorViewCategoryClient
- All Implemented Interfaces:
org.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category>,GlossaryAuthorViewCategory
public class GlossaryAuthorViewCategoryClient
extends Object
implements GlossaryAuthorViewCategory, org.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category>
The class acts as a wrapper class for calling the REST services for Glossary Author Category related services.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Categorycreate(String userId, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category category) Create a Category.voidDelete a Category.List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category>find(String userId, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase) Extract children within a CategoryList<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category>Find CategoryList<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship>getAllRelationships(String userId, String guid) Get a Category's relationshipsorg.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.CategoryGet a Category.List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category>getCategoryChildren(String userId, String parentGuid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase) Extract children within a CategoryList<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship>getRelationships(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) Get a Category's relationshipsList<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term>getTerms(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) Extract terms within a CategoryList<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term>getTerms(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase, Integer maximumPageSizeOnRestCall) Class<? extends org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse>org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.CategoryRestore a soft-deleted Category.org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Categoryupdate(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category category, boolean isReplace) Update a Category.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization
getParameterizedType, resultType
-
Constructor Details
-
GlossaryAuthorViewCategoryClient
-
-
Method Details
-
create
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category create(String userId, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category category) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:GlossaryAuthorViewCategoryCreate a Category.The result is the Category object
- Specified by:
createin interfaceGlossaryAuthorViewCategory- Parameters:
userId- userId under which the request is performedcategory- Glossary object to be created- Returns:
- The Category
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
update
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category update(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category category, boolean isReplace) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:GlossaryAuthorViewCategoryUpdate a Category.The result is the updated Glossary object
- Specified by:
updatein interfaceGlossaryAuthorViewCategory- Parameters:
userId- userId under which the request is performedguid- guid of Glossary object to be updatedcategory- Glossary object with updated valuesisReplace- If the object is to be replaced- Returns:
- The updated Category
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
delete
public void delete(String userId, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Description copied from interface:GlossaryAuthorViewCategoryDelete a Category.The result Void object
- Specified by:
deletein interfaceGlossaryAuthorViewCategory- Parameters:
userId- userId under which the request is performedguid- guid of Category object to be retrieved- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.
-
restore
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category restore(String userId, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:GlossaryAuthorViewCategoryRestore a soft-deleted Category.The result is the restored Category object
- Specified by:
restorein interfaceGlossaryAuthorViewCategory- Parameters:
userId- userId under which the request is performedguid- guid of Category object to be restored- Returns:
- The restored Category
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getCategoryChildren
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category> getCategoryChildren(String userId, String parentGuid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:GlossaryAuthorViewCategoryExtract children within a Category- Specified by:
getCategoryChildrenin interfaceGlossaryAuthorViewCategory- Parameters:
userId- calling userparentGuid- Category GUIDfindRequest- information object for find calls. This include pageSize to limit the number of elements returned.exactValue- exactValue - when false values with trailing characters will match.ignoreCase- ignore the case when matching.- Returns:
- list of Categories
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
findAll
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category> findAll(String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:GlossaryAuthorViewCategoryFind Category- Specified by:
findAllin interfaceGlossaryAuthorViewCategory- Parameters:
userId- calling user- Returns:
- Categories belonging to Userid
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getByGUID
public org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category getByGUID(String userId, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:GlossaryAuthorViewCategoryGet a Category.The result is the requested Category object
- Specified by:
getByGUIDin interfaceGlossaryAuthorViewCategory- Parameters:
userId- userId under which the request is performedguid- guid of Category object to be retrieved- Returns:
- The requested Category
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
find
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category> find(String userId, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:GlossaryAuthorViewCategoryExtract children within a Category- Specified by:
findin interfaceGlossaryAuthorViewCategory- Parameters:
userId- calling userfindRequest- information object for find calls. This include pageSize to limit the number of elements returned.exactValue- exactValue - when false values with trailing characters will match.ignoreCase- ignore the case when matching.- Returns:
- list of Categories
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getRelationships
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship> getRelationships(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:GlossaryAuthorViewCategoryGet a Category's relationshipsThe result is a list of Relationships
- Specified by:
getRelationshipsin interfaceGlossaryAuthorViewCategory- Parameters:
userId- userId under which the request is performedguid- guid of Category object to be retrievedfindRequest- information object for find calls. This include pageSize to limit the number of elements returned.- Returns:
- The list of Category relationships
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getAllRelationships
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship> getAllRelationships(String userId, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:GlossaryAuthorViewCategoryGet a Category's relationshipsThe result is a list of Relationships
- Specified by:
getAllRelationshipsin interfaceGlossaryAuthorViewCategory- Parameters:
userId- userId under which the request is performedguid- guid of Category object to be retrieved- Returns:
- The list of Category relationships
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getTerms
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term> getTerms(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException Description copied from interface:GlossaryAuthorViewCategoryExtract terms within a Category- Specified by:
getTermsin interfaceGlossaryAuthorViewCategory- Parameters:
userId- calling userguid- Category GUIDfindRequest- information object for find calls. This include pageSize to limit the number of elements returned.- Returns:
- list of terms
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- something went wrong with the REST call stack.org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
getTerms
public List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term> getTerms(String userId, String guid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest, boolean exactValue, boolean ignoreCase, Integer maximumPageSizeOnRestCall) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerExceptionorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
-
responseType
public Class<? extends org.odpi.openmetadata.commonservices.ffdc.rest.GenericResponse> responseType()- Specified by:
responseTypein interfaceorg.odpi.openmetadata.commonservices.ffdc.rest.ResponseParameterization<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category>
-