WebCooperatorApiServiceImpl.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.WebCooperatorDTO;
import org.gringlobal.api.v2.facade.WebCooperatorApiService;
import org.gringlobal.model.WebCooperator;
import org.gringlobal.service.WebCooperatorService;
import org.gringlobal.service.filter.WebCooperatorFilter;
import org.springframework.stereotype.Service;
@Service
public class WebCooperatorApiServiceImpl extends APIFilteredServiceFacadeImpl<WebCooperatorService, WebCooperatorDTO, WebCooperator, WebCooperatorFilter>
implements WebCooperatorApiService {
@Override
protected WebCooperator convert(WebCooperatorDTO source) {
return mapper.map(source);
}
@Override
protected WebCooperatorDTO convert(WebCooperator source) {
return mapper.map(source);
}
}