Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | package br.gov.al.saude.srv.core.application.uf.impl; |
| 2 | |||
| 3 | import org.springframework.beans.factory.annotation.Autowired; |
||
| 4 | import org.springframework.stereotype.Service; |
||
| 5 | import br.gov.al.saude.framework.core.generic.AbstractFacade; |
||
| 6 | import br.gov.al.saude.framework.core.generic.GenericService; |
||
| 7 | import br.gov.al.saude.framework.model.UfView; |
||
| 8 | import br.gov.al.saude.srv.core.application.uf.UfFacade; |
||
| 9 | import br.gov.al.saude.srv.core.domain.uf.UfService; |
||
| 10 | |||
| 11 | @Service |
||
| 12 | public class UfFacadeImpl extends AbstractFacade<UfView> implements UfFacade { |
||
| 13 | |||
| 14 | private UfService ufService; |
||
| 15 | |||
| 16 | @Autowired |
||
| 17 | public UfFacadeImpl(UfService ufService){ |
||
| 18 | this.ufService = ufService; |
||
| 19 | } |
||
| 20 | |||
| 21 | @Override |
||
| 22 | protected GenericService<UfView> getService() { |
||
| 23 | return this.ufService; |
||
| 24 | } |
||
| 25 | } |