Interface ClassificationMatchApi
public interface ClassificationMatchApi
-
Method Summary
Modifier and TypeMethodDescriptionaddClassificationMatch
(AddClassificationMatchRequest request) Add theClassificationMatch
for given asset and classification.addClassificationMatches
(AddClassificationMatchesRequest request) Add the list ofClassificationMatch
for given asset and a list of the classifications.Allows to change status of classification match.Allows to change statuses of classification matches.PagedResponse<ClassificationMatch>
Finds all theClassificationMatch
matching given search criteria.
-
Method Details
-
addClassificationMatch
Add theClassificationMatch
for given asset and classification.- Parameters:
request
- request specifying classification match to be added- Returns:
- added classification match with given asset and classification
-
addClassificationMatches
Add the list ofClassificationMatch
for given asset and a list of the classifications.- Parameters:
request
- request specifying classification matches to be added- Returns:
- added classification matches with given asset and classifications
-
findClassificationMatches
PagedResponse<ClassificationMatch> findClassificationMatches(FindClassificationMatchesRequest request) Finds all theClassificationMatch
matching given search criteria.- Parameters:
request
- search criteria specifying what classification matches to search for- Returns:
- classification matches matching given criteria
-
changeClassificationMatch
Allows to change status of classification match. Only two statuses are allowed to be changed to : ACCEPTED and REJECTED. REJECTED matches are no longer visible on asset page and can't be searched by.- Parameters:
request
- request specifying classification match and changes that should be performed on it- Returns:
- updated classification match
-
changeClassificationMatches
List<ClassificationMatch> changeClassificationMatches(List<ChangeClassificationMatchRequest> requests) Allows to change statuses of classification matches. Only two statuses are allowed to be changed to : ACCEPTED and REJECTED. REJECTED matches are no longer visible on asset page and can't be searched by.- Parameters:
requests
- requests specifying classification matches and changes that should be performed on them- Returns:
- updated classification matches
-