Mercurial > dive4elements > framework
comparison artifacts/src/main/java/org/dive4elements/artifacts/ArtifactDatabase.java @ 562:05caf2e731d0
Allow to add additional restful services via configuration.
author | gernotbelger |
---|---|
date | Wed, 10 Oct 2018 20:07:58 +0200 |
parents | 68f01f10624e |
children |
comparison
equal
deleted
inserted
replaced
561:1c2ce0501305 | 562:05caf2e731d0 |
---|---|
12 import java.io.OutputStream; | 12 import java.io.OutputStream; |
13 | 13 |
14 import org.w3c.dom.Document; | 14 import org.w3c.dom.Document; |
15 | 15 |
16 import java.util.Date; | 16 import java.util.Date; |
17 import java.util.Map; | |
17 | 18 |
18 /** | 19 /** |
19 * Interface of an artifact managing database. | 20 * Interface of an artifact managing database. |
20 * | 21 * |
21 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 22 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
294 | 295 |
295 public void loadAllArtifacts(ArtifactLoadedCallback callback) | 296 public void loadAllArtifacts(ArtifactLoadedCallback callback) |
296 throws ArtifactDatabaseException; | 297 throws ArtifactDatabaseException; |
297 | 298 |
298 String findArtifactUser(String artifactIdentifier); | 299 String findArtifactUser(String artifactIdentifier); |
300 | |
301 String getServerAddress(); | |
302 | |
303 /** an additional list of rest services (path and implementing class) that should be registered */ | |
304 Map<String, Class<?>> getRestServices(); | |
299 } | 305 } |
300 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 306 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |