- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 142 for ifPresent (0.04 sec)
-
src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java
final String value = processVirtualHost(s -> s, StringUtil.EMPTY); LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(FessConfig.VIRTUAL_HOST_VALUE, value)); return value; }); } /** * Processes virtual host configuration by applying a function to the matched virtual host key.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
final RequestManager requestManager = ComponentUtil.getRequestManager(); try { requestManager.findUserBean(FessUserBean.class) .ifPresent(fessUserBean -> stream(fessUserBean.getPermissions()).of(stream -> stream.forEach(roleSet::add))) .orElse(() -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.1K bytes - Viewed (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(() -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.4K bytes - Viewed (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(() -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/SearchLog.java
} return userInfo; } public void setUserInfo(final OptionalEntity<UserInfo> userInfo) { this.userInfo = userInfo; userInfo.ifPresent(e -> { super.setUserInfoId(e.getId()); }); } public List<Pair<String, String>> getSearchFieldLogList() { return searchFieldLogList; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 6K bytes - Viewed (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) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.6K bytes - Viewed (0) -
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.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java
*/ // DELETE /api/admin/reqheader/setting/{id} @Execute public JsonResponse<ApiResult> delete$setting(final String id) { reqHeaderService.getRequestHeader(id).ifPresent(entity -> { try { reqHeaderService.delete(entity); saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java
*/ // DELETE /api/admin/webauth/setting/{id} @Execute public JsonResponse<ApiResult> delete$setting(final String id) { webAuthService.getWebAuthentication(id).ifPresent(entity -> { try { webAuthService.delete(entity); saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL)); } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.1K bytes - Viewed (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<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.3K bytes - Viewed (0)