public interface DatasourceManager<DS extends Datasource<?,?>,API extends Api>
| Modifier and Type | Method and Description |
|---|---|
void |
addApi(API api) |
List<? extends BrowseTerm> |
browseField(String field) |
void |
deleteApi(String dsId,
String apiId) |
void |
deleteDs(String dsId) |
List<? extends Api> |
getApis(String dsId) |
DS |
getDs(String id) |
DatasourceResponse<DS> |
getDsInfo(String id) |
List<String> |
listIds(int page,
int size) |
void |
saveDs(DS datasource) |
List<? extends SearchApisEntry> |
searchApis(String field,
String value) |
List<? extends DatasourceResponse<DS>> |
searchByContactemail(String contactemail,
int page,
int size) |
List<? extends DatasourceResponse<DS>> |
searchByCountry(String country,
int page,
int size) |
List<? extends DatasourceResponse<DS>> |
searchByName(String name,
int page,
int size) |
void |
setLastAggregationInfo(String dsId,
String ifaceId,
String mdId,
int size,
Date date) |
void |
setLastCollectionInfo(String dsId,
String ifaceId,
String mdId,
int size,
Date date) |
void |
setLastDownloadInfo(String dsId,
String ifaceId,
String objId,
int size,
Date date) |
void |
setManaged(String id,
boolean managed) |
void |
updateActivationStatus(String dsId,
String ifaceId,
boolean active) |
void |
updateBaseUrl(String dsId,
String ifaceId,
String baseUrl) |
void |
updateCompliance(String dsId,
String ifaceId,
String compliance) |
void |
updateEnglishname(String dsId,
String english) |
void |
updateLatitude(String dsId,
Double latitude) |
void |
updateLongitude(String dsId,
Double longitude) |
void |
updateOfficialname(String dsId,
String officialname) |
List<String> listIds(int page, int size) throws DatasourceManagerException
DatasourceManagerExceptionDatasourceResponse<DS> getDsInfo(String id) throws DatasourceManagerException
DatasourceManagerExceptionDS getDs(String id) throws DatasourceManagerException
DatasourceManagerExceptionList<? extends DatasourceResponse<DS>> searchByName(String name, int page, int size) throws DatasourceManagerException
DatasourceManagerExceptionList<? extends DatasourceResponse<DS>> searchByContactemail(String contactemail, int page, int size) throws DatasourceManagerException
DatasourceManagerExceptionList<? extends DatasourceResponse<DS>> searchByCountry(String country, int page, int size) throws DatasourceManagerException
DatasourceManagerExceptionList<? extends SearchApisEntry> searchApis(String field, String value) throws DatasourceManagerException
DatasourceManagerExceptionList<? extends BrowseTerm> browseField(String field) throws DatasourceManagerException
DatasourceManagerExceptionList<? extends Api> getApis(String dsId) throws DatasourceManagerException
DatasourceManagerExceptionvoid deleteDs(String dsId) throws DatasourceManagerException
DatasourceManagerExceptionvoid deleteApi(String dsId, String apiId) throws DatasourceManagerException
DatasourceManagerExceptionvoid addApi(API api) throws DatasourceManagerException
DatasourceManagerExceptionvoid setManaged(String id, boolean managed) throws DatasourceManagerException
DatasourceManagerExceptionvoid saveDs(DS datasource) throws DatasourceManagerException
DatasourceManagerExceptionvoid updateOfficialname(String dsId, String officialname) throws DatasourceManagerException
DatasourceManagerExceptionvoid updateEnglishname(String dsId, String english) throws DatasourceManagerException
DatasourceManagerExceptionvoid updateLatitude(String dsId, Double latitude) throws DatasourceManagerException
DatasourceManagerExceptionvoid updateLongitude(String dsId, Double longitude) throws DatasourceManagerException
DatasourceManagerExceptionvoid updateActivationStatus(String dsId, String ifaceId, boolean active) throws DatasourceManagerException
DatasourceManagerExceptionvoid updateCompliance(String dsId, String ifaceId, String compliance) throws DatasourceManagerException
DatasourceManagerExceptionvoid setLastCollectionInfo(String dsId, String ifaceId, String mdId, int size, Date date) throws DatasourceManagerException
DatasourceManagerExceptionvoid setLastAggregationInfo(String dsId, String ifaceId, String mdId, int size, Date date) throws DatasourceManagerException
DatasourceManagerExceptionvoid setLastDownloadInfo(String dsId, String ifaceId, String objId, int size, Date date) throws DatasourceManagerException
DatasourceManagerExceptionvoid updateBaseUrl(String dsId, String ifaceId, String baseUrl) throws DatasourceManagerException
DatasourceManagerExceptionCopyright © 2017. All rights reserved.