public interface ClassificationService
Modifier and Type | Method and Description |
---|---|
String |
classify(ClassificationRequest classificationRequest) |
int |
countMatchingGroups(Criteria criteria) |
int |
countMatchingRules(Criteria criteria) |
void |
deleteGroup(int groupId) |
void |
deleteRule(int ruleId) |
void |
deleteRules(int groupId) |
String |
exportRules(int groupId) |
List<Group> |
findMatchingGroups(Criteria criteria) |
List<Rule> |
findMatchingRules(Criteria criteria) |
Group |
getGroup(int groupId) |
List<Rule> |
getInvalidRules() |
Rule |
getRule(int ruleId) |
void |
importRules(int groupId,
InputStream inputStream,
boolean hasHeader,
boolean deleteExistingRules) |
Integer |
saveGroup(Group group) |
Integer |
saveRule(Rule rule) |
void |
updateGroup(Group group) |
void |
updateRule(Rule rule) |
void |
validateRule(Rule validateMe) |
int countMatchingRules(Criteria criteria)
Rule getRule(int ruleId)
Integer saveRule(Rule rule) throws InvalidRuleException
InvalidRuleException
void deleteRules(int groupId)
void deleteRule(int ruleId)
void updateRule(Rule rule)
int countMatchingGroups(Criteria criteria)
Group getGroup(int groupId)
void deleteGroup(int groupId)
void updateGroup(Group group)
void importRules(int groupId, InputStream inputStream, boolean hasHeader, boolean deleteExistingRules) throws CSVImportException
CSVImportException
String exportRules(int groupId)
String classify(ClassificationRequest classificationRequest)
void validateRule(Rule validateMe)
Copyright © 2021. All rights reserved.