Project

General

Profile

« Previous | Next » 

Revision bcc64240

Added by Andreas Müller almost 2 years ago

cleanup

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/service/IIOService.java
24 24
/**
25 25
 * @author cmathew
26 26
 * @since 31 Jul 2015
27
 *
28 27
 */
29 28
public interface IIOService {
30 29

  
31 30
    public ExportResult export(IExportConfigurator configurator);
32 31

  
33

  
34
    /**
35
     * @param configurator
36
     * @param importData
37
     * @param type
38
     * @return
39
     */
40 32
    public UUID monitImportData(IImportConfigurator configurator, byte[] importData, SOURCE_TYPE type);
41 33

  
42
    /**
43
     * @param configurator
44
     * @param importData
45
     * @param type
46
     * @return
47
     */
48 34
    public ImportResult importData(IImportConfigurator configurator, byte[] importData, SOURCE_TYPE type);
49 35

  
50
    /**
51
     * @param configurator
52
     * @param importData
53
     * @return
54
     */
55 36
    public ImportResult importDataFromUri(IImportConfigurator configurator, byte[] importData);
56 37

  
57
    /**
58
     * @param configurator
59
     * @param importData
60
     * @return
61
     */
62 38
    public ImportResult importDataFromInputStream(IImportConfigurator configurator, byte[] importData);
63 39

  
64

  
65
    /**
66
     * @param configurator
67
     * @return
68
     */
69 40
    ImportResult importDataFromStream(SpecimenImportConfiguratorBase configurator);
70 41

  
71

  
72
    /**
73
     * @param configurators
74
     * @return
75
     */
76 42
    ImportResult importDataFromStream(List<Abcd206ImportConfigurator> configurators);
77 43

  
78
//    /**
79
//     * @param configurators
80
//     * @return
81
//     */
82
//    ImportResult updateSortIndex(SortIndexUpdaterConfigurator config);
83

  
84

  
85
//    /**
86
//     * @param config
87
//     * @return
88
//     */
89
//    ImportResult updateCaches(CacheUpdaterConfigurator config);
90

  
91

  
92
//    /**
93
//     * @param configurator
94
//     * @param importData
95
//     * @param type
96
//     * @return
97
//     */
98
//    UUID monitUpdateData(IImportConfigurator configurator);
99

  
100

  
101
//    /**
102
//     * @param configurator
103
//     * @return
104
//     */
105
//    ImportResult updateData(SecundumForSubtreeConfigurator configurator);
106

  
107
    /**
108
     * @param configurator
109
     * @return
110
     */
111 44
    ImportResult updateDistributionData(ExcelDistributionUpdateConfigurator configurator);
112
    /**
113
     * @param configurator
114
     * @param type
115
     * @return
116
     */
117
    UUID monitExportData(IExportConfigurator configurator);
118 45

  
46
    UUID monitExportData(IExportConfigurator configurator);
119 47

  
120
    /**
121
     * @param configurator
122
     * @return
123
     */
124 48
    ImportResult importRISData(RisReferenceImportConfigurator configurator);
125 49

  
126 50
}
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/service/IOServiceImpl.java
146 146
        }
147 147
    }
148 148

  
149
//    @Override
150
//    public ImportResult updateData(SecundumForSubtreeConfigurator configurator) {
151
//        ImportResult result;
152
//
153
//        result = cdmImport.invoke(configurator);
154
//        return result;
155
//    }
156

  
157 149
    @Override
158 150
    public ImportResult importDataFromUri(IImportConfigurator configurator, byte[] importData) {
159 151
        ImportResult result;
......
220 212
            return result;
221 213
    }
222 214

  
223

  
224
//    /**
225
//     * {@inheritDoc}
226
//     */
227
//    @Override
228
//    public ImportResult updateSortIndex(SortIndexUpdaterConfigurator config) {
229
//        ImportResult result = new ImportResult();
230
//
231
//        result = cdmImport.invoke(config);
232
//        return result;
233
//    }
234

  
235
//    /**
236
//     * {@inheritDoc}
237
//     */
238
//    @Override
239
//    public ImportResult updateCaches(CacheUpdaterConfigurator config) {
240
//        ImportResult result = new ImportResult();
241
//
242
//        result = cdmImport.invoke(config);
243
//        return result;
244
//    }
245

  
246

  
247
    /**
248
     * {@inheritDoc}
249
     */
250 215
    @Override
251 216
    public ImportResult updateDistributionData(ExcelDistributionUpdateConfigurator configurator) {
252 217
        ImportResult result = new ImportResult();
......
254 219
        return result;
255 220
    }
256 221

  
257
    /**
258
     * {@inheritDoc}
259
     */
260 222
    @Override
261 223
    public ImportResult importRISData(RisReferenceImportConfigurator configurator) {
262 224
        ImportResult result = new ImportResult();
263 225
        result = cdmImport.invoke(configurator);
264 226
        return result;
265 227
    }
266

  
267

  
268

  
269

  
270

  
271
}
228
}

Also available in: Unified diff