Project

General

Profile

« Previous | Next » 

Revision 49890

View differences:

LocalDatasourceManager.java
6 6

  
7 7
public interface LocalDatasourceManager<DS extends Datasource<?, ?>, API extends Api> extends DatasourceManagerCommon<DS, API> {
8 8

  
9
	List<? extends SearchApisEntry> searchApis(String field, String value) throws DatasourceManagerException;
9
	List<? extends SearchApisEntry> searchApis(String field, Object value) throws DatasourceManagerException;
10 10

  
11
	List<? extends BrowsableField> listBrowsableFields() throws DatasourceManagerException;
12

  
11 13
	List<? extends BrowseTerm> browseField(String field) throws DatasourceManagerException;
12 14

  
13
	void setActive(String dsId, String ifaceId, boolean active) throws DatasourceManagerException; // TODO resettare last_*_* if active == false
15
	void setActive(String dsId, String apiId, boolean active) throws DatasourceManagerException;
14 16

  
15
	boolean isActive(String dsId, String ifaceId) throws DatasourceManagerException;
17
	boolean isActive(String dsId, String apiId) throws DatasourceManagerException;
16 18

  
17
	void setLastCollectionInfo(String dsId, String ifaceId, String mdId, int size, Date date) throws DatasourceManagerException;
19
	void setLastCollectionInfo(String dsId, String apiId, String mdId, Integer size, Date date) throws DatasourceManagerException;
18 20

  
19
	void setLastAggregationInfo(String dsId, String ifaceId, String mdId, int size, Date date) throws DatasourceManagerException;
21
	void setLastAggregationInfo(String dsId, String apiId, String mdId, Integer size, Date date) throws DatasourceManagerException;
20 22

  
21
	void setLastDownloadInfo(String dsId, String ifaceId, String objId, int size, Date date) throws DatasourceManagerException;
23
	void setLastDownloadInfo(String dsId, String apiId, String objId, Integer size, Date date) throws DatasourceManagerException;
22 24

  
23
	void updateApiDetails(String dsId, String ifaceId, String baseUrl, Map<String, String> params) throws DatasourceManagerException;
25
	void updateApiDetails(String dsId, String apiId, String baseUrl, Map<String, String> params) throws DatasourceManagerException;
24 26

  
25 27
}

Also available in: Unified diff