1 package fr.ifremer.tutti.persistence;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 import com.google.common.base.Predicate;
26 import com.google.common.collect.ImmutableSet;
27 import com.google.common.collect.Multimap;
28 import fr.ifremer.adagio.core.dao.referential.ObjectTypeCode;
29 import fr.ifremer.tutti.persistence.entities.CaracteristicMap;
30 import fr.ifremer.tutti.persistence.entities.data.AccidentalBatch;
31 import fr.ifremer.tutti.persistence.entities.data.Attachment;
32 import fr.ifremer.tutti.persistence.entities.data.BatchContainer;
33 import fr.ifremer.tutti.persistence.entities.data.CatchBatch;
34 import fr.ifremer.tutti.persistence.entities.data.Cruise;
35 import fr.ifremer.tutti.persistence.entities.data.FishingOperation;
36 import fr.ifremer.tutti.persistence.entities.data.IndividualObservationBatch;
37 import fr.ifremer.tutti.persistence.entities.data.MarineLitterBatch;
38 import fr.ifremer.tutti.persistence.entities.data.Program;
39 import fr.ifremer.tutti.persistence.entities.data.SpeciesBatch;
40 import fr.ifremer.tutti.persistence.entities.data.SpeciesBatchFrequency;
41 import fr.ifremer.tutti.persistence.entities.protocol.TuttiProtocol;
42 import fr.ifremer.tutti.persistence.entities.referential.Caracteristic;
43 import fr.ifremer.tutti.persistence.entities.referential.Gear;
44 import fr.ifremer.tutti.persistence.entities.referential.ObjectType;
45 import fr.ifremer.tutti.persistence.entities.referential.Person;
46 import fr.ifremer.tutti.persistence.entities.referential.Species;
47 import fr.ifremer.tutti.persistence.entities.referential.TuttiLocation;
48 import fr.ifremer.tutti.persistence.entities.referential.TuttiReferentialEntity;
49 import fr.ifremer.tutti.persistence.entities.referential.Vessel;
50 import fr.ifremer.tutti.persistence.model.ProgramDataModel;
51 import fr.ifremer.tutti.persistence.service.UpdateSchemaContextSupport;
52 import org.nuiton.version.Version;
53
54 import java.io.File;
55 import java.io.IOException;
56 import java.util.Collection;
57 import java.util.List;
58 import java.util.Map;
59 import java.util.Set;
60 import java.util.concurrent.Callable;
61
62
63
64
65
66
67
68 public class TuttiPersistenceNoDbImpl implements TuttiPersistence {
69
70 @Override
71 public String getImplementationName() {
72 return "Mock persistence service implementation";
73 }
74
75 @Override
76 public void setSkipShutdownDbWhenClosing() {
77 throw notImplemented();
78 }
79
80 @Override
81 public ProgramDataModel loadProgram(String programId, boolean loadFishingOperation) {
82 throw notImplemented();
83 }
84
85 @Override
86 public ProgramDataModel loadCruises(String programId, boolean loadFishingOperation, Integer... cruiseIds) {
87 throw notImplemented();
88 }
89
90 @Override
91 public ProgramDataModel loadCruise(String programId, Integer cruiseId, Integer... fishingOperationIds) {
92 throw notImplemented();
93 }
94
95 @Override
96 public <V> V invoke(Callable<V> call) {
97 throw notImplemented();
98 }
99
100 @Override
101 public void lazyInit() {
102 throw notImplemented();
103 }
104
105 @Override
106 public <U extends UpdateSchemaContextSupport> void prepareUpdateSchemaContext(U context) {
107 throw notImplemented();
108 }
109
110 @Override
111 public Version getSchemaVersion() {
112 throw notImplemented();
113 }
114
115 @Override
116 public Version getSchemaVersionIfUpdate() {
117 throw notImplemented();
118 }
119
120 @Override
121 public void updateSchema() {
122 throw notImplemented();
123 }
124
125 @Override
126 public void sanityDb() {
127 throw notImplemented();
128 }
129
130 @Override
131 public void clearAllCaches() {
132 throw notImplemented();
133 }
134
135 @Override
136 public List<TuttiLocation> getAllProgramZone() {
137 throw notImplemented();
138 }
139
140 @Override
141 public List<TuttiLocation> getAllCountry() {
142 throw notImplemented();
143 }
144
145 @Override
146 public List<TuttiLocation> getAllHarbour() {
147 throw notImplemented();
148 }
149
150 @Override
151 public List<TuttiLocation> getAllHarbourWithObsoletes() {
152 throw notImplemented();
153 }
154
155 @Override
156 public ImmutableSet<Integer> getAllFishingOperationStratasAndSubstratasIdsForProgram(String zoneId) {
157 throw notImplemented();
158 }
159
160 @Override
161 public Multimap<TuttiLocation, TuttiLocation> getAllFishingOperationStratasAndSubstratas(String zoneId) {
162 throw notImplemented();
163 }
164
165 @Override
166 public List<TuttiLocation> getAllFishingOperationStrata(String zoneId) {
167 throw notImplemented();
168 }
169
170 @Override
171 public List<TuttiLocation> getAllFishingOperationStrataWithObsoletes(String zoneId) {
172 throw notImplemented();
173 }
174
175 @Override
176 public List<TuttiLocation> getAllFishingOperationSubStrata(String zoneId, String strataId) {
177 throw notImplemented();
178 }
179
180 @Override
181 public List<TuttiLocation> getAllFishingOperationSubStrataWithObsoletes(String zoneId, String strataId) {
182 throw notImplemented();
183 }
184
185 @Override
186 public List<TuttiLocation> getAllFishingOperationLocation(String zoneId, String strataId, String subStrataId) {
187 throw notImplemented();
188 }
189
190 @Override
191 public List<TuttiLocation> getAllFishingOperationLocationWithObsoletes(String zoneId, String strataId, String subStrataId) {
192 throw notImplemented();
193 }
194
195 @Override
196 public String getLocationLabelByLatLong(Float latitude, Float longitude) {
197 throw notImplemented();
198 }
199
200 @Override
201 public Integer getLocationIdByLatLong(Float latitude, Float longitude) {
202 throw notImplemented();
203 }
204
205 @Override
206 public List<Vessel> getAllScientificVessel() {
207 throw notImplemented();
208 }
209
210 @Override
211 public List<Vessel> getAllFishingVessel() {
212 throw notImplemented();
213 }
214
215 @Override
216 public List<Vessel> getAllVesselWithObsoletes() {
217 throw notImplemented();
218 }
219
220 @Override
221 public List<Species> getAllSpecies() {
222 throw notImplemented();
223 }
224
225 @Override
226 public List<Species> getAllReferentSpecies() {
227 throw notImplemented();
228 }
229
230 @Override
231 public List<Species> getAllReferentSpeciesWithObsoletes() {
232 throw notImplemented();
233 }
234
235 @Override
236 public Species getSpeciesByReferenceTaxonIdWithVernacularCode(Integer referenceTaxonId) {
237 throw notImplemented();
238 }
239
240 @Override
241 public List<Caracteristic> getAllCaracteristic() {
242 throw notImplemented();
243 }
244
245 @Override
246 public List<Caracteristic> getAllCaracteristicWithProtected() {
247 throw notImplemented();
248 }
249
250 @Override
251 public List<Caracteristic> getAllCaracteristicForSampleCategory() {
252 throw notImplemented();
253 }
254
255 @Override
256 public List<Caracteristic> getAllNumericCaracteristic() {
257 throw notImplemented();
258 }
259
260 @Override
261 public Caracteristic getSizeCategoryCaracteristic() {
262 throw notImplemented();
263 }
264
265 @Override
266 public Caracteristic getSexCaracteristic() {
267 throw notImplemented();
268 }
269
270 @Override
271 public Caracteristic getSortedUnsortedCaracteristic() {
272 throw notImplemented();
273 }
274
275 @Override
276 public Caracteristic getMaturityCaracteristic() {
277 throw notImplemented();
278 }
279
280 @Override
281 public Caracteristic getAgeCaracteristic() {
282 throw notImplemented();
283 }
284
285 @Override
286 public Caracteristic getMarineLitterCategoryCaracteristic() {
287 throw notImplemented();
288 }
289
290 @Override
291 public Caracteristic getMarineLitterSizeCategoryCaracteristic() {
292 throw notImplemented();
293 }
294
295 @Override
296 public Caracteristic getVerticalOpeningCaracteristic() {
297 throw notImplemented();
298 }
299
300 @Override
301 public Caracteristic getHorizontalOpeningWingsCaracteristic() {
302 throw notImplemented();
303 }
304
305 @Override
306 public Caracteristic getHorizontalOpeningDoorCaracteristic() {
307 throw notImplemented();
308 }
309
310 @Override
311 public Caracteristic getDeadOrAliveCaracteristic() {
312 throw notImplemented();
313 }
314
315 @Override
316 public Caracteristic getCalcifiedStructureCaracteristic() {
317 throw notImplemented();
318 }
319
320 @Override
321 public Caracteristic getPmfmIdCaracteristic() {
322 throw notImplemented();
323 }
324
325 @Override
326 public Caracteristic getWeightMeasuredCaracteristic() {
327 throw notImplemented();
328 }
329
330 @Override
331 public Caracteristic getCopyIndividualObservationModeCaracteristic() {
332 throw notImplemented();
333 }
334
335 @Override
336 public Caracteristic getSampleCodeCaracteristic() {
337 throw notImplemented();
338 }
339
340 @Override
341 public Caracteristic getCaracteristic(Integer pmfmId) {
342 throw notImplemented();
343 }
344
345 @Override
346 public boolean isVracBatch(SpeciesBatch speciesBatch) {
347 throw notImplemented();
348 }
349
350 @Override
351 public boolean isHorsVracBatch(SpeciesBatch speciesBatch) {
352 throw notImplemented();
353 }
354
355 @Override
356 public Predicate<SpeciesBatch> getVracBatchPredicate() {
357 throw notImplemented();
358 }
359
360 @Override
361 public boolean isTemporary(TuttiReferentialEntity entity) {
362 throw notImplemented();
363 }
364
365 @Override
366 public List<Gear> getAllScientificGear() {
367 throw notImplemented();
368 }
369
370 @Override
371 public List<Gear> getAllFishingGear() {
372 throw notImplemented();
373 }
374
375 @Override
376 public List<Gear> getAllGearWithObsoletes() {
377 throw notImplemented();
378 }
379
380 @Override
381 public List<Person> getAllPerson() {
382 throw notImplemented();
383 }
384
385 @Override
386 public List<Person> getAllPersonWithObsoletes() {
387 throw notImplemented();
388 }
389
390 @Override
391 public Person getPerson(Integer personId) {
392 throw notImplemented();
393 }
394
395 @Override
396 public Gear getGear(Integer gearCode) {
397 throw notImplemented();
398 }
399
400 @Override
401 public Vessel getVessel(String vesselCode) {
402 throw notImplemented();
403 }
404
405 @Override
406 public List<Species> addTemporarySpecies(List<Species> species) {
407 throw notImplemented();
408 }
409
410 @Override
411 public List<Species> updateTemporarySpecies(List<Species> species) {
412 throw notImplemented();
413 }
414
415 @Override
416 public List<Species> linkTemporarySpecies(List<Species> specieses) {
417 throw notImplemented();
418 }
419
420 @Override
421 public List<Vessel> addTemporaryVessels(List<Vessel> vessels) {
422 throw notImplemented();
423 }
424
425 @Override
426 public List<Vessel> updateTemporaryVessels(List<Vessel> vessels) {
427 throw notImplemented();
428 }
429
430 @Override
431 public List<Vessel> linkTemporaryVessels(List<Vessel> vessels) {
432 throw notImplemented();
433 }
434
435 @Override
436 public List<Person> addTemporaryPersons(List<Person> persons) {
437 throw notImplemented();
438 }
439
440 @Override
441 public List<Person> updateTemporaryPersons(List<Person> persons) {
442 throw notImplemented();
443 }
444
445 @Override
446 public List<Person> linkTemporaryPersons(List<Person> persons) {
447 throw notImplemented();
448 }
449
450 @Override
451 public List<Gear> addTemporaryGears(List<Gear> gears) {
452 throw notImplemented();
453 }
454
455 @Override
456 public List<Gear> updateTemporaryGears(List<Gear> gears) {
457 throw notImplemented();
458 }
459
460 @Override
461 public List<Gear> linkTemporaryGears(List<Gear> gears) {
462 throw notImplemented();
463 }
464
465 @Override
466 public List<ObjectType> getAllObjectType() {
467 throw notImplemented();
468 }
469
470 @Override
471 public ObjectType getObjectType(String objectTypeCode) {
472 throw notImplemented();
473 }
474
475 @Override
476 public Map<Integer, Integer> getAllObsoleteReferentTaxons() {
477 throw notImplemented();
478 }
479
480
481
482
483
484 @Override
485 public List<Program> getAllProgram() {
486 throw notImplemented();
487 }
488
489 @Override
490 public Program getProgram(String id) {
491 throw notImplemented();
492 }
493
494 @Override
495 public Program createProgram(Program bean) {
496 throw notImplemented();
497 }
498
499 @Override
500 public Program saveProgram(Program bean) {
501 throw notImplemented();
502 }
503
504
505
506
507
508
509 @Override
510 public List<Integer> getAllCruiseId(String programId) {
511 throw notImplemented();
512 }
513
514 @Override
515 public List<Cruise> getAllCruise(String programId) {
516 throw notImplemented();
517 }
518
519 @Override
520 public Cruise getCruise(Integer id) {
521 throw notImplemented();
522 }
523
524 @Override
525 public Cruise createCruise(Cruise bean) {
526 throw notImplemented();
527 }
528
529 @Override
530 public Cruise saveCruise(Cruise bean,
531 boolean updateVessel,
532 boolean updateGear) {
533 throw notImplemented();
534 }
535
536 @Override
537 public void setCruiseReadyToSynch(Integer cruiseId) {
538 throw notImplemented();
539 }
540
541 @Override
542 public CaracteristicMap getGearCaracteristics(Integer cruiseId, Integer gearId, short rankOrder) {
543 throw notImplemented();
544 }
545
546 @Override
547 public boolean isOperationUseGears(Integer cruiseId, Collection<Gear> gears) {
548 throw notImplemented();
549 }
550
551 @Override
552 public void saveGearCaracteristics(Gear gear, Cruise cruise) {
553 throw notImplemented();
554 }
555
556
557
558
559
560 @Override
561 public TuttiProtocol getProtocol() {
562 throw notImplemented();
563 }
564
565 @Override
566 public TuttiProtocol getProtocolByName(String protocolName) {
567 throw notImplemented();
568 }
569
570 @Override
571 public void setProtocol(TuttiProtocol protocol) {
572 throw notImplemented();
573 }
574
575 @Override
576 public String getFirstAvailableName(String protocolName) {
577 throw notImplemented();
578 }
579
580 @Override
581 public List<String> getAllProtocolNames() {
582 throw notImplemented();
583 }
584
585 @Override
586 public List<TuttiProtocol> getAllProtocol() {
587 throw notImplemented();
588 }
589
590 @Override
591 public List<TuttiProtocol> getAllProtocol(String programId) {
592 throw notImplemented();
593 }
594
595 @Override
596 public boolean isProtocolExist(String id) {
597 throw notImplemented();
598 }
599
600 @Override
601 public TuttiProtocol getProtocol(String id) {
602 throw notImplemented();
603 }
604
605 @Override
606 public TuttiProtocol createProtocol(TuttiProtocol bean) {
607 throw notImplemented();
608 }
609
610 @Override
611 public TuttiProtocol saveProtocol(TuttiProtocol bean) {
612 throw notImplemented();
613 }
614
615 @Override
616 public void deleteProtocol(String id) {
617 throw notImplemented();
618 }
619
620
621
622
623
624 @Override
625 public int getFishingOperationCount(Integer cruiseId) {
626 throw notImplemented();
627 }
628
629 @Override
630 public List<Integer> getAllFishingOperationIds(Integer cruiseId) {
631 throw notImplemented();
632 }
633
634 @Override
635 public List<FishingOperation> getAllFishingOperation(Integer cruiseId) {
636 throw notImplemented();
637 }
638
639 @Override
640 public FishingOperation getFishingOperation(Integer id) {
641 throw notImplemented();
642 }
643
644 @Override
645 public List<Vessel> getFishingOperationSecondaryVessel(Integer fishingOperationId) {
646 throw notImplemented();
647 }
648
649 @Override
650 public FishingOperation createFishingOperation(FishingOperation bean) {
651 throw notImplemented();
652 }
653
654 @Override
655 public FishingOperation saveFishingOperation(FishingOperation bean) {
656 throw notImplemented();
657 }
658
659 @Override
660 public void deleteFishingOperation(Integer id) {
661 throw notImplemented();
662 }
663
664 @Override
665 public boolean isFishingOperationWithCatchBatch(Integer operationId) {
666 throw notImplemented();
667 }
668
669
670
671
672
673 @Override
674 public CatchBatch getCatchBatchFromFishingOperation(Integer id) {
675 throw notImplemented();
676 }
677
678 @Override
679 public CatchBatch createCatchBatch(CatchBatch bean) {
680 throw notImplemented();
681 }
682
683 @Override
684 public CatchBatch saveCatchBatch(CatchBatch bean) {
685 throw notImplemented();
686 }
687
688 @Override
689 public void recomputeCatchBatchSampleRatios(Integer fishingOperationId) {
690 throw notImplemented();
691 }
692
693 @Override
694 public Map getPrevOperationNameAndBatchId(int operationId, int taxonId) {
695 throw notImplemented();
696 }
697
698 @Override
699 public Map getNextOperationNameAndBatchId(int operationId, int taxonId) {
700 throw notImplemented();
701 }
702
703
704
705
706
707 @Override
708 public BatchContainer<SpeciesBatch> getRootSpeciesBatch(Integer fishingOperationId, boolean validateTree) throws InvalidBatchModelException {
709 throw notImplemented();
710 }
711
712 @Override
713 public Set<Integer> getBatchChildIds(Integer id) {
714 throw notImplemented();
715 }
716
717 @Override
718 public SpeciesBatch createSpeciesBatch(SpeciesBatch bean, Integer parentBatchId, boolean computeRankOrder) {
719 throw notImplemented();
720 }
721
722 @Override
723 public Collection<SpeciesBatch> createSpeciesBatches(Integer fishingOperationId, Collection<SpeciesBatch> beans) {
724 throw notImplemented();
725 }
726
727 @Override
728 public SpeciesBatch saveSpeciesBatch(SpeciesBatch bean) {
729 throw notImplemented();
730 }
731
732 @Override
733 public void deleteSpeciesBatch(Integer id) {
734 throw notImplemented();
735 }
736
737 @Override
738 public void deleteSpeciesSubBatch(Integer id) {
739 throw notImplemented();
740 }
741
742 @Override
743 public void changeSpeciesBatchSpecies(Integer batchId, Species species) {
744 throw notImplemented();
745 }
746
747 @Override
748 public List<SpeciesBatch> getAllSpeciesBatchToConfirm(Integer fishingOperationId) throws InvalidBatchModelException {
749 throw notImplemented();
750 }
751
752 @Override
753 public List<SpeciesBatchFrequency> getAllSpeciesBatchFrequency(Integer speciesBatchId) {
754 throw notImplemented();
755 }
756
757 @Override
758 public Multimap<Species, SpeciesBatchFrequency> getAllSpeciesBatchFrequencyForBatch(BatchContainer<SpeciesBatch> batchContainer) {
759 throw notImplemented();
760 }
761
762 @Override
763 public List<SpeciesBatchFrequency> saveSpeciesBatchFrequency(Integer speciesBatchId, List<SpeciesBatchFrequency> frequencies) {
764 throw notImplemented();
765 }
766
767
768
769
770
771 @Override
772 public BatchContainer<SpeciesBatch> getRootBenthosBatch(Integer fishingOperationId, boolean validateTree) throws InvalidBatchModelException {
773 throw notImplemented();
774 }
775
776 @Override
777 public SpeciesBatch createBenthosBatch(SpeciesBatch bean, Integer parentBatchId, boolean computeRankOrder) {
778 throw notImplemented();
779 }
780
781 @Override
782 public Collection<SpeciesBatch> createBenthosBatches(Integer fishingOperationId, Collection<SpeciesBatch> beans) {
783 throw notImplemented();
784 }
785
786 @Override
787 public SpeciesBatch saveBenthosBatch(SpeciesBatch bean) {
788 throw notImplemented();
789 }
790
791 @Override
792 public void deleteBenthosBatch(Integer id) {
793 throw notImplemented();
794 }
795
796 @Override
797 public void deleteBenthosSubBatch(Integer id) {
798 throw notImplemented();
799 }
800
801 @Override
802 public void changeBenthosBatchSpecies(Integer batchId, Species species) {
803 throw notImplemented();
804 }
805
806 @Override
807 public List<SpeciesBatch> getAllBenthosBatchToConfirm(Integer fishingOperationId) throws InvalidBatchModelException {
808 throw notImplemented();
809 }
810
811 @Override
812 public List<SpeciesBatchFrequency> getAllBenthosBatchFrequency(Integer benthosBatchId) {
813 throw notImplemented();
814 }
815
816 @Override
817 public Multimap<Species, SpeciesBatchFrequency> getAllBenthosBatchFrequencyForBatch(BatchContainer<SpeciesBatch> batchContainer) {
818 throw notImplemented();
819 }
820
821 @Override
822 public List<SpeciesBatchFrequency> saveBenthosBatchFrequency(Integer benthosBatchId, List<SpeciesBatchFrequency> frequencies) {
823 throw notImplemented();
824 }
825
826
827
828
829
830 @Override
831 public BatchContainer<MarineLitterBatch> getRootMarineLitterBatch(Integer fishingOperationId) {
832 throw notImplemented();
833 }
834
835 @Override
836 public MarineLitterBatch createMarineLitterBatch(MarineLitterBatch bean) {
837 throw notImplemented();
838 }
839
840 @Override
841 public Collection<MarineLitterBatch> createMarineLitterBatches(Integer fishingOperationId, Collection<MarineLitterBatch> beans) {
842 throw notImplemented();
843 }
844
845 @Override
846 public MarineLitterBatch saveMarineLitterBatch(MarineLitterBatch bean) {
847 throw notImplemented();
848 }
849
850 @Override
851 public void deleteMarineLitterBatch(Integer id) {
852 throw notImplemented();
853 }
854
855
856
857
858
859 @Override
860 public List<AccidentalBatch> getAllAccidentalBatch(Integer fishingOperationId) {
861 throw notImplemented();
862 }
863
864 @Override
865 public AccidentalBatch createAccidentalBatch(AccidentalBatch bean) {
866 throw notImplemented();
867 }
868
869 @Override
870 public Collection<AccidentalBatch> createAccidentalBatches(Collection<AccidentalBatch> beans) {
871 throw notImplemented();
872 }
873
874 @Override
875 public AccidentalBatch saveAccidentalBatch(AccidentalBatch bean) {
876 throw notImplemented();
877 }
878
879 @Override
880 public void deleteAccidentalBatch(String id) {
881 throw notImplemented();
882 }
883
884 @Override
885 public List<Attachment> getAllAttachments(ObjectTypeCode objectType,
886 Integer objectId) {
887 throw notImplemented();
888 }
889
890 @Override
891 public File getAttachmentFile(String attachmentId) {
892 throw notImplemented();
893 }
894
895 @Override
896 public Attachment createAttachment(Attachment attachment, File file) {
897 throw notImplemented();
898 }
899
900 @Override
901 public Attachment saveAttachment(Attachment attachment) {
902 throw notImplemented();
903 }
904
905 @Override
906 public void deleteAttachment(String attachmentId) {
907 throw notImplemented();
908 }
909
910 @Override
911 public void deleteAllAttachment(ObjectTypeCode objectType, Integer objectId) {
912 throw notImplemented();
913 }
914
915
916
917
918
919 @Override
920 public List<IndividualObservationBatch> getAllIndividualObservationBatchsForBatch(Integer batchId) {
921 throw notImplemented();
922 }
923
924 @Override
925 public List<IndividualObservationBatch> getAllIndividualObservationBatchsForFishingOperation(Integer fishingOperationId) {
926 throw notImplemented();
927 }
928
929 @Override
930 public List<IndividualObservationBatch> getAllIndividualObservationBatchsForCruise(Integer cruiseId) {
931 throw notImplemented();
932 }
933
934 @Override
935 public boolean isSamplingCodeAvailable(Integer cruiseId, Integer referenceTaxonId, String samplingCodeSuffix) {
936 throw notImplemented();
937 }
938
939 @Override
940 public List<IndividualObservationBatch> createIndividualObservationBatches(FishingOperation fishingOperation, Collection<IndividualObservationBatch> individualObservations) {
941 throw notImplemented();
942 }
943
944 @Override
945 public List<IndividualObservationBatch> saveBatchIndividualObservation(Integer batchId,
946 List<IndividualObservationBatch> individualObservation) {
947 throw notImplemented();
948 }
949
950 @Override
951 public void deleteAllIndividualObservationsForFishingOperation(Integer fishingOperationId) {
952 throw notImplemented();
953 }
954
955 @Override
956 public void deleteAllIndividualObservationsForBatch(Integer speciesBatchId) {
957 throw notImplemented();
958 }
959
960 @Override
961 public void init() {
962 }
963
964 @Override
965 public void close() throws IOException {
966 }
967
968 @Override
969 public void deleteAccidentalBatchForFishingOperation(Integer fishingOperationId) {
970 throw notImplemented();
971 }
972
973 @Override
974 public void deleteAllAttachment(ObjectTypeCode objectType, Set<Integer> objectIds) {
975 throw notImplemented();
976 }
977
978 @Override
979 public void deleteCatchBatch(Integer fishingOperationId) {
980 throw notImplemented();
981 }
982
983 @Override
984 public Collection<FishingOperation> saveFishingOperations(Collection<FishingOperation> beans) {
985 throw notImplemented();
986 }
987
988 @Override
989 public List<String> getAllProtocolId() {
990 throw notImplemented();
991 }
992
993 @Override
994 public TuttiLocation getLocation(String id) {
995 throw notImplemented();
996 }
997
998 @Override
999 public Species getSpeciesByReferenceTaxonId(Integer referenceTaxonId) {
1000 throw notImplemented();
1001 }
1002
1003 @Override
1004 public void replaceGear(Gear source, Gear target, boolean delete) {
1005 throw notImplemented();
1006 }
1007
1008 @Override
1009 public void replacePerson(Person source, Person target, boolean delete) {
1010 throw notImplemented();
1011 }
1012
1013 @Override
1014 public void replaceSpecies(Species source, Species target, boolean delete) {
1015 throw notImplemented();
1016 }
1017
1018 @Override
1019 public void replaceVessel(Vessel source, Vessel target, boolean delete) {
1020 throw notImplemented();
1021 }
1022
1023 @Override
1024 public void deleteTemporaryGear(Integer id) {
1025 throw notImplemented();
1026 }
1027
1028 @Override
1029 public void deleteTemporaryGears(Collection<Integer> id) {
1030 throw notImplemented();
1031 }
1032
1033 @Override
1034 public void deleteTemporarySpecies(Integer referenceTaxonId) {
1035 throw notImplemented();
1036 }
1037
1038 @Override
1039 public void deleteTemporarySpecies(Collection<Integer> referenceTaxonIds) {
1040 throw notImplemented();
1041 }
1042
1043 @Override
1044 public void deleteTemporaryPerson(Integer id) {
1045 throw notImplemented();
1046 }
1047
1048 @Override
1049 public void deleteTemporaryPersons(Collection<Integer> ids) {
1050 throw notImplemented();
1051 }
1052
1053 @Override
1054 public void deleteTemporaryVessel(String code) {
1055 throw notImplemented();
1056 }
1057
1058 @Override
1059 public void deleteTemporaryVessels(Collection<String> codes) {
1060 throw notImplemented();
1061 }
1062
1063 @Override
1064 public boolean isTemporaryPersonUsed(Integer id) {
1065 throw notImplemented();
1066 }
1067
1068 @Override
1069 public boolean isTemporarySpeciesUsed(Integer referenceTaxonId) {
1070 throw notImplemented();
1071 }
1072
1073 @Override
1074 public boolean isTemporaryGearUsed(Integer id) {
1075 throw notImplemented();
1076 }
1077
1078 @Override
1079 public boolean isTemporaryVesselUsed(String code) {
1080 throw notImplemented();
1081 }
1082
1083 protected RuntimeException notImplemented() {
1084 return new RuntimeException("method not implemented");
1085 }
1086 }