GeographyApiServiceImpl.java
/*
* Copyright 2026 Global Crop Diversity Trust
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root folder or http://www.apache.org/licenses/LICENSE-2.0
*/
package org.gringlobal.api.v2.facade.impl;
import org.gringlobal.api.model.GeographyDTO;
import org.gringlobal.api.v2.facade.GeographyApiService;
import org.gringlobal.model.Geography;
import org.gringlobal.service.GeographyService;
import org.gringlobal.service.filter.GeographyFilter;
import org.springframework.stereotype.Service;
@Service
public class GeographyApiServiceImpl extends APIFilteredServiceFacadeImpl<GeographyService, GeographyDTO, Geography, GeographyFilter> implements GeographyApiService {
@Override
protected Geography convert(GeographyDTO source) {
return mapper.map(source);
}
@Override
protected GeographyDTO convert(Geography source) {
return mapper.map(source);
}
}