- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 77 for body (0.02 sec)
-
ApiAdminAccesstokenAction.java
})).status(Status.OK).result()); L77: } L78: L79: // PUT /api/admin/accesstoken/setting L80: @Execute L81: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L82: validateApi(body, messages -> {}); L83: body.crudMode = CrudMode.CREATE; L84: final AccessToken accessToken = getAccessToken(body).map(entity -> { L85: entity.setToken(accessTokenHelper.generateAccessToken()); L86: try { L87: accessTokenService.store(entity); L88:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 7K bytes -
ApiAdminDuplicatehostAction.java
})).status(Status.OK).result()); L76: } L77: L78: // PUT /api/admin/duplicatehost/setting L79: @Execute L80: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L81: validateApi(body, messages -> {}); L82: body.crudMode = CrudMode.CREATE; L83: final DuplicateHost duplicateHost = getDuplicateHost(body).map(entity -> { L84: try { L85: duplicateHostService.store(entity); L86: } catch (final Exception e) { L87: logger.warn("Failed...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.4K bytes -
ApiAdminReqheaderAction.java
L84: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L85: validateApi(body, messages -> {}); L86: if (!isValidWebConfigId(body.webConfigId)) { L87: return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result()); L88: } L89: L90: body.crudMode = CrudMode.CREATE; L91: final RequestHeader reqHeader = getRequestHeader(body).map(entity -> { L92: try { L93: reqHeader...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.8K bytes -
ApiAdminWebauthAction.java
L84: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L85: validateApi(body, messages -> {}); L86: if (!isValidWebConfigId(body.webConfigId)) { L87: return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result()); L88: } L89: L90: body.crudMode = CrudMode.CREATE; L91: final WebAuthentication webAuth = getWebAuthentication(body).map(entity -> { L92: try { L93: webAut...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.8K bytes -
ApiAdminFileconfigAction.java
})).status(Status.OK).result()); L81: } L82: L83: // PUT /api/admin/fileconfig/setting L84: @Execute L85: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L86: validateApi(body, messages -> {}); L87: body.crudMode = CrudMode.CREATE; L88: final FileConfig fileConfig = getFileConfig(body).map(entity -> { L89: try { L90: fileConfigService.store(entity); L91: } catch (final Exception e) { L92: logger.warn("Failed...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7K bytes -
ApiAdminCrawlinginfoAction.java
============== L55: L56: // GET /api/admin/crawlinginfo/logs L57: // POST /api/admin/crawlinginfo/logs L58: @Execute L59: public JsonResponse<ApiResult> logs(final SearchBody body) { L60: validateApi(body, messages -> {}); L61: final CrawlingInfoPager pager = copyBeanToNewBean(body, CrawlingInfoPager.class); L62: final List<CrawlingInfo> list = crawlingInfoService.getCrawlingInfoList(pager); L63: return asJson(new ApiResult.ApiLogsResponse<EditBody>().lo...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 4.9K bytes -
ApiAdminFailureurlAction.java
============== L57: L58: // GET /api/admin/failureurl/logs L59: // POST /api/admin/failureurl/logs L60: @Execute L61: public JsonResponse<ApiResult> logs(final SearchBody body) { L62: validateApi(body, messages -> {}); L63: final FailureUrlPager pager = copyBeanToNewBean(body, FailureUrlPager.class); L64: final List<FailureUrl> list = failureUrlService.getFailureUrlList(pager); L65: return asJson(new ApiResult.ApiLogsResponse<EditBody>().logs(list.s...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 4.9K bytes -
ApiAdminDictKuromojiAction.java
createEditBody(final KuromojiItem entity, final String dictId) { L151: final EditBody body = new EditBody(); L152: body.id = entity.getId(); L153: body.dictId = dictId; L154: body.token = entity.getToken(); L155: body.reading = entity.getReading(); L156: body.pos = entity.getPos(); L157: body.segmentation = entity.getSegmentation(); L158: return body; L159: } L160:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.3K bytes -
ApiAdminDictProtwordsAction.java
@Execute L50: public JsonResponse<ApiResult> get$settings(final String dictId, final SearchBody body) { L51: body.dictId = dictId; L52: validateApi(body, messages -> {}); L53: final ProtwordsPager pager = copyBeanToNewBean(body, ProtwordsPager.class); L54: return asJson(new ApiResult.ApiConfigsResponse<EditBody>() L55: .settings(protwordsService.getProtwordsList(body.dictId, pager).stream() L56: .map(protwordsItem -> createEditBody(protwordsItem,...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.2K bytes -
ApiAdminUserAction.java
L88: public JsonResponse<ApiResult> post$setting(final EditBody body) { L89: validateApi(body, messages -> {}); L90: validateAttributes(body.attributes, this::throwValidationErrorApi); L91: body.crudMode = CrudMode.EDIT; L92: final User entity = getUser(body).orElseGet(() -> { L93: throwValidationErrorApi(messages -> { L94: messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, body.id); L95: }); L96: return null; L97: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 5.8K bytes