Interface GlossaryAuthorViewCategory
- All Known Implementing Classes:
GlossaryAuthorViewCategoryClient
public interface GlossaryAuthorViewCategory
-
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 categoryGuid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) Extract terms within a Categoryorg.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.
-
Method Details
-
create
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.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Create a Category.The result is the Category object
- 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.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getByGUID
org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category getByGUID(String userId, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Get a Category.The result is the requested Category object
- 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.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.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
update
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 Update a Category.The result is the updated Glossary object
- 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.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
delete
void delete(String userId, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Delete a Category.The result Void object
- 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
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.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Restore a soft-deleted Category.The result is the restored Category object
- 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.UserNotAuthorizedException- the requesting user is not authorized to issue this request.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getRelationships
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 Get a Category's relationshipsThe result is a list of Relationships
- 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.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.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getAllRelationships
List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship> getAllRelationships(String userId, String guid) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Get a Category's relationshipsThe result is a list of Relationships
- 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.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.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getTerms
List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.term.Term> getTerms(String userId, String categoryGuid, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.FindRequest findRequest) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Extract terms within a Category- Parameters:
userId- calling usercategoryGuid- 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.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.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
getCategoryChildren
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.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Extract children within a Category- 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.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.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
findAll
List<org.odpi.openmetadata.accessservices.subjectarea.properties.objects.category.Category> findAll(String userId) throws org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Find Category- Parameters:
userId- calling user- Returns:
- Categories belonging to Userid
- Throws:
org.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.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-
find
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.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException Extract children within a Category- 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.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.org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is null or invalid
-