Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 175 for crudMode (0.12 seconds)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

         */
        // POST /api/admin/role/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final Role entity = getRole(body).orElseGet(() -> {
                throwValidationErrorApi(messages -> {
                    messages.addErrorsCrudFailedToCreateInstance(GLOBAL);
                });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

         */
        // POST /api/admin/keymatch/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final KeyMatch keyMatch = getKeyMatch(body).map(entity -> {
                try {
                    keyMatchService.store(entity);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

         * @return JSON response with created setting ID and status
         */
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final DuplicateHost duplicateHost = getDuplicateHost(body).map(entity -> {
                try {
                    duplicateHostService.store(entity);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

         * @return JSON response with created setting ID and status
         */
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final ElevateWord entity = getElevateWord(body).orElseGet(() -> {
                throwValidationErrorApi(messages -> {
                    messages.addErrorsCrudFailedToCreateInstance(GLOBAL);
                });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

         */
        // POST /api/admin/scheduler/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final ScheduledJob entity = getScheduledJob(body).orElseGet(() -> {
                throwValidationErrorApi(messages -> {
                    messages.addErrorsCrudFailedToCreateInstance(GLOBAL);
                });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

         */
        // POST /api/admin/labeltype/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final LabelType labelType = getLabelType(body).map(entity -> {
                try {
                    labelTypeService.store(entity);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

            if (!isValidWebConfigId(body.webConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final RequestHeader reqHeader = getRequestHeader(body).map(entity -> {
                try {
                    reqHeaderService.store(entity);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

            if (!isValidWebConfigId(body.webConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final WebAuthentication webAuth = getWebAuthentication(body).map(entity -> {
                try {
                    webAuthService.store(entity);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

            switch (form.crudMode) {
            case CrudMode.CREATE:
                final Map<String, Object> entity = new HashMap<>();
                entity.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(entity));
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                final String docId;
                if (form.doc != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:38:39 GMT 2026
    - 25.5K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

         * @return JSON response with created setting ID and status
         */
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final FileConfig fileConfig = getFileConfig(body).map(entity -> {
                try {
                    fileConfigService.store(entity);
                } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top