Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for body (0.02 sec)

  1. ApiAdminDictSynonymAction.java

    L148: } L149: L150: protected EditBody createEditBody(final SynonymItem entity, final String dictId) { L151: final EditBody body = new EditBody(); L152: body.id = entity.getId(); L153: body.dictId = dictId; L154: body.inputs = entity.getInputsValue(); L155: body.outputs = entity.getOutputsValue(); L156: return body; L157: } L158:}...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      7.1K bytes
  2. ApiAdminElevatewordAction.java

    n"))); L92: return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result()); L93: } L94: L95: // PUT /api/admin/elevateword/setting L96: @Execute L97: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L98: validateApi(body, messages -> {}); L99: body.crudMode = CrudMode.CREATE; L100: final ElevateWord entity = getElevateWord(body).orElseGet(() -> { L101: throwValidationErrorApi(messages -> { L102:...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      9.6K bytes
  3. ApiAdminGroupAction.java

    L90: public JsonResponse<ApiResult> post$setting(final EditBody body) { L91: validateApi(body, messages -> {}); L92: validateAttributes(body.attributes, this::throwValidationErrorApi); L93: body.crudMode = CrudMode.EDIT; L94: final Group entity = getGroup(body).orElseGet(() -> { L95: throwValidationErrorApi(messages -> { L96: messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, body.id); L97: }); L98: return null; L99: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      5.8K bytes
  4. CrudTestBase.java

    List<Map<String, Object>> getItemList(final Map<String, Object> body) { L232: String response = checkGetMethod(body, getListEndpointSuffix()).asString(); L233: return JsonPath.from(response).getList(getJsonPath()); L234: } L235: L236: protected List<String> getIdList(final Map<String, Object> body) { L237: return getPropList(body, getIdKey()); L238: } L239: L240: protected List<String> getPropList(final Map<String, Object> body, final String prop) { L241: String response...
    github.com/codelibs/fess/src/test/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      9.1K bytes
  5. ApiAdminFileauthAction.java

    public JsonResponse<ApiResult> put$setting(final CreateBody body) { L85: validateApi(body, messages -> {}); L86: if (!isValidFileConfigId(body.fileConfigId)) { L87: return asJson(new ApiErrorResponse().message("invalid fileConfigId").status(Status.BAD_REQUEST).result()); L88: } L89: L90: body.crudMode = CrudMode.CREATE; L91: final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> { L92: try { L93: fil...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      6.8K bytes
  6. ApiAdminDataconfigAction.java

    })).status(Status.OK).result()); L81: } L82: L83: // PUT /api/admin/dataconfig/setting L84: @Execute L85: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L86: validateApi(body, messages -> {}); L87: body.crudMode = CrudMode.CREATE; L88: final DataConfig dataConfig = getDataConfig(body).map(entity -> { L89: try { L90: dataConfigService.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
  7. ApiAdminBoostdocAction.java

    })).status(Status.OK).result()); L78: } L79: L80: // PUT /api/admin/boostdoc/setting L81: @Execute L82: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L83: validateApi(body, messages -> {}); L84: body.crudMode = CrudMode.CREATE; L85: final BoostDocumentRule boostDoc = getBoostDocumentRule(body).map(entity -> { L86: try { L87: boostDocumentRuleService.store(entity); L88: } catch (final Exception e) { L89: ...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      6.4K bytes
  8. PluginTests.java

    L105: return DELETE_ENDPOINT_SUFFIX; L106: } L107: L108: protected Response checkDeleteMethod(final Map<String, Object> body) { L109: return checkMethodBase(body).delete(getApiPath() + "/"); L110: } L111: L112: @Test L113: void testInstalled_ok() { L114: checkGetMethod(Collections.emptyMap(), getInstalledEndpointSuffix() + "/").then().body("response.status", equalTo(0)); L115: } L116: L117: @Test L118: void testAvailable_ok() { L119: checkGetMethod(...
    github.com/codelibs/fess/src/test/java/org/code...
    Mon Jul 01 02:20:48 UTC 2024
      6.3K bytes
  9. ApiAdminDictStopwordsAction.java

    @Execute L50: public JsonResponse<ApiResult> get$settings(final String dictId, final SearchBody body) { L51: body.dictId = dictId; L52: validateApi(body, messages -> {}); L53: final StopwordsPager pager = copyBeanToNewBean(body, StopwordsPager.class); L54: return asJson(new ApiResult.ApiConfigsResponse<EditBody>() L55: .settings(stopwordsService.getStopwordsList(body.dictId, pager).stream() L56: .map(stopwordsItem -> createEditBody(stopwordsItem,...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      7.2K bytes
  10. ApiAdminBadwordAction.java

    return null; L82: }); L83: L84: final EditBody body = createEditBody(entity); L85: return asJson(new ApiResult.ApiConfigResponse().setting(body).status(ApiResult.Status.OK).result()); L86: } L87: L88: // PUT /api/admin/badword/setting L89: @Execute L90: public JsonResponse<ApiResult> put$setting(final CreateBody body) { L91: validateApi(body, messages -> {}); L92: body.crudMode = CrudMode.CREATE; L93: final BadWord entity = getBadWo...
    github.com/codelibs/fess/src/main/java/org/code...
    Thu Feb 22 01:53:18 UTC 2024
      8.4K bytes
Back to top