Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java @ 94:5332d956729c
Brought all line lengths of non Javadoc lines below 80.
artifacts/trunk@937 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 17 Apr 2010 10:28:43 +0000 |
parents | 73d0ebae81d7 |
children | 933bbc9fc11f |
comparison
equal
deleted
inserted
replaced
93:e27cf9c84eb8 | 94:5332d956729c |
---|---|
237 break; | 237 break; |
238 case STORE: | 238 case STORE: |
239 artifact.store(); | 239 artifact.store(); |
240 break; | 240 break; |
241 case BACKGROUND: | 241 case BACKGROUND: |
242 logger.warn("BACKGROUND processing is not fully implemented, yet!"); | 242 logger.warn( |
243 "BACKGROUND processing is not fully implemented, yet!"); | |
243 artifact.store(); | 244 artifact.store(); |
244 break; | 245 break; |
245 default: | 246 default: |
246 logger.error(INVALID_CALL_STATE + ": " + action); | 247 logger.error(INVALID_CALL_STATE + ": " + action); |
247 throw new IllegalStateException(INVALID_CALL_STATE); | 248 throw new IllegalStateException(INVALID_CALL_STATE); |
587 finally { | 588 finally { |
588 cc.postCall(); | 589 cc.postCall(); |
589 } | 590 } |
590 } | 591 } |
591 | 592 |
592 public Document describe(String identifier, Document data, CallMeta callMeta) | 593 public Document describe( |
593 throws ArtifactDatabaseException | 594 String identifier, |
595 Document data, | |
596 CallMeta callMeta | |
597 ) | |
598 throws ArtifactDatabaseException | |
594 { | 599 { |
595 // TODO: Handle background tasks | 600 // TODO: Handle background tasks |
596 PersistentArtifact artifact = backend.getArtifact(identifier); | 601 PersistentArtifact artifact = backend.getArtifact(identifier); |
597 | 602 |
598 if (artifact == null) { | 603 if (artifact == null) { |
608 finally { | 613 finally { |
609 cc.postCall(); | 614 cc.postCall(); |
610 } | 615 } |
611 } | 616 } |
612 | 617 |
613 public Document advance(String identifier, Document target, CallMeta callMeta) | 618 public Document advance( |
614 throws ArtifactDatabaseException | 619 String identifier, |
620 Document target, | |
621 CallMeta callMeta | |
622 ) | |
623 throws ArtifactDatabaseException | |
615 { | 624 { |
616 // TODO: Handle background tasks | 625 // TODO: Handle background tasks |
617 PersistentArtifact artifact = backend.getArtifact(identifier); | 626 PersistentArtifact artifact = backend.getArtifact(identifier); |
618 | 627 |
619 if (artifact == null) { | 628 if (artifact == null) { |
650 finally { | 659 finally { |
651 cc.postCall(); | 660 cc.postCall(); |
652 } | 661 } |
653 } | 662 } |
654 | 663 |
655 public DeferredOutput out(String identifier, Document format, CallMeta callMeta) | 664 public DeferredOutput out( |
656 throws ArtifactDatabaseException | 665 String identifier, |
666 Document format, | |
667 CallMeta callMeta | |
668 ) | |
669 throws ArtifactDatabaseException | |
657 { | 670 { |
658 // TODO: Handle background tasks | 671 // TODO: Handle background tasks |
659 PersistentArtifact artifact = backend.getArtifact(identifier); | 672 PersistentArtifact artifact = backend.getArtifact(identifier); |
660 | 673 |
661 if (artifact == null) { | 674 if (artifact == null) { |