- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 206 for isPresent (0.09 seconds)
-
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
*/ protected void updateUserSessionId(final String userCode) { ComponentUtil.getSearchLogHelper().getUserInfo(userCode); LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(Constants.USER_CODE, userCode)); updateCookie(userCode, cookieMaxAge); } /** * Updates the user identification cookie with the specified user code and max age.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 14.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); return null; }); getUserBean().ifPresent(u -> { if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) { throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL)); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 29.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java
* @param id the job log ID to delete * @return JSON response with deletion status */ @Execute public JsonResponse<ApiResult> delete$log(final String id) { jobLogService.getJobLog(id).ifPresent(entity -> { try { jobLogService.delete(entity); saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); } catch (final Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java
*/ // DELETE /api/admin/relatedquery/setting/{id} @Execute 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) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
if (doc.get(fessConfig.getIndexFieldConfigId()) instanceof final String configId) { crawlingConfigHelper.getPipeline(configId).ifPresent(s -> builder.setPipeline(s)); } }); return asJson(new ApiBulkResponse().items(Arrays.stream(response.getItems()).map(item -> { final Map<String, Object> itemMap = new HashMap<>();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
}); a.map(Activation::getProperty).ifPresent(pa -> { Interpolation nt = new Interpolation(pa, interpolator::interpolate); nt.performFor(pa.getName(), "name", pa::setName); nt.performFor(pa.getValue(), "value", pa::setValue); }); a.map(Activation::getJdk).ifPresent(ja -> new Interpolation(activation, interpolator::interpolate)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java
* @return JSON response with deletion status */ @Execute public JsonResponse<ApiResult> delete$setting(final String id) { duplicateHostService.getDuplicateHost(id).ifPresent(entity -> { try { duplicateHostService.delete(entity); saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); } 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) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
*/ // DELETE /api/admin/dict/kuromoji/setting/{dictId}/{id} @Execute 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(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
*/ // DELETE /api/admin/dict/protwords/setting/{dictId}/{id} @Execute 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(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.4K bytes - Click Count (0)