- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 75 for saveInfo (0.11 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java
getAccessToken(form).ifPresent(entity -> { entity.setToken(accessTokenHelper.generateAccessToken()); try { accessTokenService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 14.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java
verifyToken(this::asEditHtml); getLabelType(form).ifPresent(entity -> { try { labelTypeService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
verifyPassword(form, this::asEditHtml); verifyToken(this::asEditHtml); getUser(form).ifPresent(entity -> { try { userService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to add {}", entity, e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java
public JsonResponse<ApiResult> delete$setting(final String id) { relatedQueryService.getRelatedQuery(id).ifPresent(entity -> { try { relatedQueryService.delete(entity); saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
if (startReindex(isCheckboxEnabled(form.replaceAliases), isCheckboxEnabled(form.resetDictionaries), form.numberOfShardsForDoc, form.autoExpandReplicasForDoc)) { saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL)); } return redirect(getClass()); } @Execute @Secured({ ROLE })
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 14K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
} try { write(uploadFile.getAbsolutePath(), form.designFile.getFileData()); final String currentFileName = fileName; saveInfo(messages -> messages.addSuccessUploadDesignFile(GLOBAL, currentFileName)); } catch (final Exception e) { logger.error("Failed to write an image file: {}", fileName, e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java
validate(form, messages -> {}, this::asEditHtml); verifyToken(this::asEditHtml); getRole(form).ifPresent(entity -> { try { roleService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to add {}", entity, e);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) { protwordsService.getProtwordsItem(dictId, id).ifPresent(entity -> { protwordsService.delete(dictId, entity); saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); }).orElse(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id))); });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) { kuromojiService.getKuromojiItem(dictId, id).ifPresent(entity -> { kuromojiService.delete(dictId, entity); saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); }).orElse(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, String.valueOf(id))); });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java
postcard.addTo(address); })); BeanUtil.copyMapToBean(dataMap, postcard); }); saveInfo(messages -> messages.addSuccessSendTestmail(GLOBAL)); updateProperty(Constants.NOTIFICATION_TO_PROPERTY, form.notificationTo); systemProperties.store(); } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.8K bytes - Viewed (0)