Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java @ 86:b2e0cb83631c
Removed trailing whitespace
artifacts/trunk@833 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 26 Mar 2010 10:04:34 +0000 |
parents | 72e2dd4feb31 |
children | 73d0ebae81d7 |
comparison
equal
deleted
inserted
replaced
85:78263e910675 | 86:b2e0cb83631c |
---|---|
94 protected int action; | 94 protected int action; |
95 protected CallMeta callMeta; | 95 protected CallMeta callMeta; |
96 protected HashMap customValues; | 96 protected HashMap customValues; |
97 | 97 |
98 public CallContextImpl( | 98 public CallContextImpl( |
99 PersistentArtifact artifact, | 99 PersistentArtifact artifact, |
100 int action, | 100 int action, |
101 CallMeta callMeta | 101 CallMeta callMeta |
102 ) { | 102 ) { |
103 this.artifact = artifact; | 103 this.artifact = artifact; |
104 this.action = action; | 104 this.action = action; |
343 public ArtifactFactory getArtifactFactory(String factoryName) { | 343 public ArtifactFactory getArtifactFactory(String factoryName) { |
344 return (ArtifactFactory)name2factory.get(factoryName); | 344 return (ArtifactFactory)name2factory.get(factoryName); |
345 } | 345 } |
346 | 346 |
347 public Document createArtifactWithFactory( | 347 public Document createArtifactWithFactory( |
348 String factoryName, | 348 String factoryName, |
349 CallMeta callMeta, | 349 CallMeta callMeta, |
350 Document data | 350 Document data |
351 ) | 351 ) |
352 throws ArtifactDatabaseException | 352 throws ArtifactDatabaseException |
353 { | 353 { |
473 | 473 |
474 byte [] bytes = (byte [])backend.loadArtifact( | 474 byte [] bytes = (byte [])backend.loadArtifact( |
475 artifact, | 475 artifact, |
476 new Backend.ArtifactLoader() { | 476 new Backend.ArtifactLoader() { |
477 public Object load( | 477 public Object load( |
478 ArtifactFactory factory, | 478 ArtifactFactory factory, |
479 Long ttl, | 479 Long ttl, |
480 byte [] bytes, | 480 byte [] bytes, |
481 int id | 481 int id |
482 ) { | 482 ) { |
483 factoryName[0] = factory.getName(); | 483 factoryName[0] = factory.getName(); |
644 public String [][] serviceNamesAndDescriptions() { | 644 public String [][] serviceNamesAndDescriptions() { |
645 return serviceNamesAndDescription; | 645 return serviceNamesAndDescription; |
646 } | 646 } |
647 | 647 |
648 public Document process( | 648 public Document process( |
649 String serviceName, | 649 String serviceName, |
650 Document input, | 650 Document input, |
651 CallMeta callMeta | 651 CallMeta callMeta |
652 ) | 652 ) |
653 throws ArtifactDatabaseException | 653 throws ArtifactDatabaseException |
654 { | 654 { |