Revision 7c778a7e
Added by Andreas Müller about 10 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/berlinModel/in/BerlinModelWebMarkerCategoryImport.java | ||
---|---|---|
123 | 123 |
return strQuery; |
124 | 124 |
} |
125 | 125 |
|
126 |
/* (non-Javadoc) |
|
127 |
* @see eu.etaxonomy.cdm.io.berlinModel.in.IPartitionedIO#doPartition(eu.etaxonomy.cdm.io.berlinModel.in.ResultSetPartitioner, eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelImportState) |
|
128 |
*/ |
|
126 |
@Override |
|
129 | 127 |
public boolean doPartition(ResultSetPartitioner partitioner, BerlinModelImportState state) { |
130 | 128 |
return false; // not needed |
131 | 129 |
} |
132 | 130 |
|
133 |
/* (non-Javadoc) |
|
134 |
* @see eu.etaxonomy.cdm.io.berlinModel.in.IPartitionedIO#getRelatedObjectsForPartition(java.sql.ResultSet) |
|
135 |
*/ |
|
136 |
public Map<Object, Map<String, ? extends CdmBase>> getRelatedObjectsForPartition(ResultSet rs) { |
|
131 |
@Override |
|
132 |
public Map<Object, Map<String, ? extends CdmBase>> getRelatedObjectsForPartition(ResultSet rs, BerlinModelImportState state) { |
|
137 | 133 |
return null; // not needed |
138 | 134 |
} |
139 | 135 |
|
140 |
|
|
141 |
/* (non-Javadoc) |
|
142 |
* @see eu.etaxonomy.cdm.io.common.CdmIoBase#doCheck(eu.etaxonomy.cdm.io.common.IoStateBase) |
|
143 |
*/ |
|
144 | 136 |
@Override |
145 | 137 |
protected boolean doCheck(BerlinModelImportState state){ |
146 | 138 |
IOValidator<BerlinModelImportState> validator = new BerlinModelWebMarkerCategoryImportValidator(); |
147 | 139 |
return validator.validate(state); |
148 | 140 |
} |
149 | 141 |
|
150 |
|
|
151 |
/* (non-Javadoc) |
|
152 |
* @see eu.etaxonomy.cdm.io.common.CdmIoBase#isIgnore(eu.etaxonomy.cdm.io.common.IImportConfigurator) |
|
153 |
*/ |
|
142 |
@Override |
|
154 | 143 |
protected boolean isIgnore(BerlinModelImportState state){ |
155 | 144 |
return ! state.getConfig().isDoMarker(); |
156 | 145 |
} |
Also available in: Unified diff
latest globis import changes and update for IPartionedIO signature for app-import