Revision 28069
Added by Michele Artini about 10 years ago
modules/dnet-datasource-manager-rmi/trunk/src/main/java/eu/dnetlib/enabling/datasources/rmi/DatasourceManagerService.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.enabling.datasources.rmi; |
2 | 2 |
|
3 |
import java.util.Date; |
|
3 | 4 |
import java.util.List; |
4 | 5 |
|
5 | 6 |
import javax.jws.WebParam; |
... | ... | |
242 | 243 |
*/ |
243 | 244 |
public boolean updateSQL(@WebParam(name = "dsId") String dsId, @WebParam(name = "sql") String sql, @WebParam(name = "delete") boolean delete) |
244 | 245 |
throws DatasourceManagerServiceException; |
246 |
|
|
247 |
|
|
248 |
/** |
|
249 |
* Calculate the next execution date of a related metaworkflow |
|
250 |
* |
|
251 |
* @param dsId |
|
252 |
* the OpenAireDataSourceId (example: opendoar____::2101) |
|
253 |
* @param ifcId |
|
254 |
* the id of the interface |
|
255 |
* @return the date of the next scheduled execution (or null) |
|
256 |
* @throws DatasourceManagerServiceException |
|
257 |
*/ |
|
258 |
public Date findNextScheduledExecution(@WebParam(name = "dsId") String dsId, @WebParam(name = "ifaceId") String ifaceId) throws DatasourceManagerServiceException; |
|
245 | 259 |
|
260 |
|
|
246 | 261 |
} |
modules/dnet-datasource-manager-rmi/trunk/pom.xml | ||
---|---|---|
10 | 10 |
<groupId>eu.dnetlib</groupId> |
11 | 11 |
<artifactId>dnet-datasource-manager-rmi</artifactId> |
12 | 12 |
<packaging>jar</packaging> |
13 |
<version>3.0.0-SNAPSHOT</version>
|
|
13 |
<version>3.0.1-SNAPSHOT</version>
|
|
14 | 14 |
<dependencies> |
15 | 15 |
<dependency> |
16 | 16 |
<groupId>eu.dnetlib</groupId> |
Also available in: Unified diff
added method findNextScheduledExecution, see #567