- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 161 for orElse (0.04 sec)
-
src/main/java/org/codelibs/fess/helper/JobHelper.java
ComponentUtil.getComponent(ScheduledJobBhv.class) .selectByPK(scheduledJob.getId()) .ifPresent(e -> params.put(Constants.SCHEDULED_JOB, e)) .orElse(() -> { logger.warn("Job {} is not found.", scheduledJob.getId()); }); return params; }; findJobByUniqueOf(LaJobUnique.of(id)).ifPresent(job -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
} } if (StringUtil.isNotBlank(userCode)) { updateUserSessionId(userCode); } return userCode; }).orElse(null); } /** * Extracts the user code from the user bean stored in the session. * This method retrieves the authenticated user information and creates an encrypted user code. *
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/service/ProtwordsService.java
protwordsPager.setPageNumberList(protwordsList.createPageNumberList()); return (List<ProtwordsItem>) protwordsList; }).orElse(Collections.emptyList()); } /** * Gets the protected words file for the specified dictionary ID. * @param dictId the dictionary ID * @return the protected words file if found */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
*/ public Set<String> build(final SearchRequestType searchRequestType) { final Set<String> roleSet = new HashSet<>(); final HttpServletRequest request = LaRequestUtil.getOptionalRequest().orElse(null); final FessConfig fessConfig = ComponentUtil.getFessConfig(); final boolean isApiRequest =
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/FessApiAdminAction.java
protected boolean isAccessAllowed() { try { return accessTokenService.getPermissions(request) .map(permissions -> fessConfig.isApiAdminAccessAllowed(permissions)) .orElse(false); } catch (final InvalidAccessTokenException e) { if (logger.isDebugEnabled()) { logger.debug("Invalid access token.", e); } return false; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java
} catch (final Exception e) { throwValidationErrorApi(messages -> { messages.addErrorsFailedToStartJob(GLOBAL, entity.getName()); }); } }).orElse(() -> { throwValidationErrorApi(messages -> { messages.addErrorsFailedToStartJob(GLOBAL, id); }); }); return asJson(new ApiResponse().status(Status.OK).result());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
parser.parse(new InputSource(is)); } parser.getWebConfig().ifPresent(c -> { logger.debug(c.toString()); }).orElse(() -> fail()); parser.getFileConfig().ifPresent(c -> { logger.debug(c.toString()); }).orElse(() -> fail()); LabelType[] labelTypes = parser.getLabelTypes(); assertEquals(3, labelTypes.length); } public void test_escape() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java
stemmerOvberridePager.setPageNumberList(stemmerOvberrideList.createPageNumberList()); return (List<StemmerOverrideItem>) stemmerOvberrideList; }).orElse(Collections.emptyList()); } /** * Retrieves the stemmer override dictionary file by ID. * * @param dictId The ID of the stemmer override dictionary to retrieve
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/CharMappingService.java
charMappingPager.setPageNumberList(charMappingList.createPageNumberList()); return (List<CharMappingItem>) charMappingList; }).orElse(Collections.emptyList()); } /** * Retrieves the character mapping file for the specified dictionary ID. * <p> * This method looks up the dictionary file and ensures it is a character mapping file
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserAgentHelper.java
if (uaType == null) { uaType = UserAgentType.OTHER; } request.setAttribute(USER_AGENT_TYPE, uaType); } return uaType; }).orElse(UserAgentType.OTHER); } /** * Enumeration of supported browser types for user agent detection. * Each type represents a major browser family that can be detected
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.5K bytes - Viewed (0)