Interface HvlLogSearchRestService
- All Known Implementing Classes:
HvlLogSearchRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="logSearchPublicRestService",
path="${hvl.logger.search.path:/es}",
url="${hvl.logger.search.url}")
public interface HvlLogSearchRestService
A restful service which provides specific methods for log search.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse<List<HvlEventLogModel>>
searchList
(@NotNull HvlLogSearchQueryModel searchQueryModel) Returns a list of user matching the query criteria.tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlEventLogModel>>
searchPage
(@NotNull HvlLogSearchQueryModel searchQueryModel) Returns a page of user matching the query criteria.
-
Method Details
-
searchList
@PostMapping(path="/logs/list", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<List<HvlEventLogModel>> searchList(@NotNull @RequestBody @NotNull HvlLogSearchQueryModel searchQueryModel) throws HvlLogSearchException Returns a list of user matching the query criteria.- Parameters:
searchQueryModel
- the search query model- Returns:
- the hvl response
- Throws:
HvlLogSearchException
- the HvlLogSearchException
-
searchPage
@PostMapping(path="/logs/page", consumes="application/json", produces="application/json") tr.com.havelsan.javarch.service.data.HvlResponse<tr.com.havelsan.javarch.data.commons.pageable.HvlPage<HvlEventLogModel>> searchPage(@NotNull @RequestBody @NotNull HvlLogSearchQueryModel searchQueryModel) throws HvlLogSearchException Returns a page of user matching the query criteria.- Parameters:
searchQueryModel
- the search query model- Returns:
- the hvl response
- Throws:
HvlLogSearchException
- the HvlLogSearchException
-