Revision 79e8baa5
Added by Patrick Plitzner almost 9 years ago
- added transient service methods
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientNameService.java | ||
---|---|---|
26 | 26 |
|
27 | 27 |
import eu.etaxonomy.cdm.api.service.DeleteResult; |
28 | 28 |
import eu.etaxonomy.cdm.api.service.INameService; |
29 |
import eu.etaxonomy.cdm.api.service.UpdateResult; |
|
29 | 30 |
import eu.etaxonomy.cdm.api.service.config.DeleteConfiguratorBase; |
30 | 31 |
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; |
31 | 32 |
import eu.etaxonomy.cdm.api.service.config.NameDeletionConfigurator; |
... | ... | |
78 | 79 |
*/ |
79 | 80 |
public class TransientNameService implements INameService { |
80 | 81 |
|
81 |
private INameService defaultService; |
|
82 |
private final INameService defaultService;
|
|
82 | 83 |
|
83 | 84 |
/** |
84 | 85 |
* |
... | ... | |
1148 | 1149 |
public TaxonNameBase findWithoutFlush(UUID uuid) { |
1149 | 1150 |
return defaultService.findWithoutFlush(uuid); |
1150 | 1151 |
} |
1151 |
|
|
1152 |
|
|
1152 |
|
|
1153 |
|
|
1153 | 1154 |
|
1154 | 1155 |
@Override |
1155 | 1156 |
public <S extends TaxonNameBase> Pager<FindByIdentifierDTO<S>> findByIdentifier(Class<S> clazz, String identifier, DefinedTerm identifierType, MatchMode matchmode, boolean includeEntity, Integer pageSize, Integer pageNumber, List<String> propertyPaths){ |
1156 | 1157 |
return defaultService.findByIdentifier(clazz, identifier, identifierType, matchmode, includeEntity, pageSize, pageNumber, propertyPaths); |
1157 | 1158 |
} |
1158 | 1159 |
|
1159 |
|
|
1160 |
|
|
1160 | 1161 |
|
1161 | 1162 |
@Override |
1162 | 1163 |
public List<HashMap<String, String>> getNameRecords() { |
1163 |
|
|
1164 |
|
|
1164 | 1165 |
return defaultService.getNameRecords(); |
1165 | 1166 |
} |
1166 |
|
|
1167 |
|
|
1168 | 1167 |
|
1169 |
|
|
1168 |
/** |
|
1169 |
* {@inheritDoc} |
|
1170 |
*/ |
|
1171 |
@Override |
|
1172 |
public DeleteResult delete(UUID arg0) { |
|
1173 |
return defaultService.delete(arg0); |
|
1174 |
} |
|
1175 |
|
|
1176 |
/** |
|
1177 |
* {@inheritDoc} |
|
1178 |
*/ |
|
1179 |
@Override |
|
1180 |
public UpdateResult setAsGroupsBasionym(UUID arg0) { |
|
1181 |
return defaultService.setAsGroupsBasionym(arg0); |
|
1182 |
} |
|
1183 |
|
|
1184 |
|
|
1185 |
|
|
1186 |
|
|
1170 | 1187 |
|
1171 | 1188 |
|
1172 | 1189 |
} |
Also available in: Unified diff