public interface Connector
CBRCaseBase| Modifier and Type | Method and Description |
|---|---|
void |
close()
Cleanup any resource that the connector might be using, and suspends the
service
|
void |
deleteCases(Collection<CBRCase> cases)
Deletes given cases for the storage media
|
void |
initFromXMLfile(URL file)
Initialices the connector with the given XML file
|
Collection<CBRCase> |
retrieveAllCases()
Returns max cases without any special consideration
|
Collection<CBRCase> |
retrieveSomeCases(CaseBaseFilter filter)
Retrieves some cases depending on the filter.
|
void |
storeCases(Collection<CBRCase> cases)
Stores given classes on the storage media
|
void initFromXMLfile(URL file) throws InitializingException
file - XMl file with the settingsInitializingException - Raised if the connector can not be initialezed.void close()
void storeCases(Collection<CBRCase> cases)
cases - List of casesvoid deleteCases(Collection<CBRCase> cases)
cases - List of casesCollection<CBRCase> retrieveAllCases()
Collection<CBRCase> retrieveSomeCases(CaseBaseFilter filter)
Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.