net.n2oapp.security.admin.rest.impl.RegionRestServiceImpl Maven / Gradle / Ivy
package net.n2oapp.security.admin.rest.impl;
import net.n2oapp.security.admin.api.model.Region;
import net.n2oapp.security.admin.api.service.RegionService;
import net.n2oapp.security.admin.rest.api.RegionRestService;
import net.n2oapp.security.admin.rest.api.criteria.RestRegionCriteria;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Controller;
/**
* Реализация REST сервиса управления регонами
*/
@Controller
public class RegionRestServiceImpl implements RegionRestService {
@Autowired
private RegionService service;
@Override
public Page getAll(RestRegionCriteria criteria) {
return service.findAll(criteria);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy