Class AspspSearchController
- java.lang.Object
-
- de.adorsys.xs2a.adapter.rest.impl.controller.AspspSearchController
-
- All Implemented Interfaces:
AspspSearchApi
@RestController public class AspspSearchController extends Object implements AspspSearchApi
-
-
Field Summary
-
Fields inherited from interface de.adorsys.xs2a.adapter.rest.api.AspspSearchApi
V1_APSPS, V1_APSPS_BY_ID
-
-
Constructor Summary
Constructors Constructor Description AspspSearchController(de.adorsys.xs2a.adapter.api.AspspReadOnlyRepository aspspSearchService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<List<AspspTO>>getAspsps(String name, String bic, String bankCode, String iban, String after, int size)org.springframework.http.ResponseEntity<AspspTO>getById(String id)
-
-
-
Method Detail
-
getAspsps
public org.springframework.http.ResponseEntity<List<AspspTO>> getAspsps(@RequestParam(required=false) String name, @RequestParam(required=false) String bic, @RequestParam(required=false) String bankCode, @RequestParam(required=false) String iban, @RequestParam(required=false) String after, @RequestParam(required=false,defaultValue="10") int size)
- Specified by:
getAspspsin interfaceAspspSearchApi
-
getById
public org.springframework.http.ResponseEntity<AspspTO> getById(String id)
- Specified by:
getByIdin interfaceAspspSearchApi
-
-