- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 168 for isPresent (0.07 sec)
-
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
final int maxQueryLength = fessConfig.getQueryMaxLengthAsInteger(); stream(conditions.get(SearchRequestParams.AS_OCCURRENCE)) .of(stream -> stream.filter(this::isOccurrence).findFirst().ifPresent(q -> queryBuf.insert(0, q + ":"))); stream(conditions.get(SearchRequestParams.AS_Q)).of(stream -> stream
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.7K 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); } protected void updateCookie(final String userCode, final int age) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.5K bytes - Viewed (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)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.8K bytes - Viewed (0) -
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; }); } protected <T> T processVirtualHost(final Function<String, T> func, final T defaultValue) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (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) {
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/api/admin/joblog/ApiAdminJoblogAction.java
})).status(Status.OK).result()); } // DELETE /api/admin/joblog/log/{id} @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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
if (user.hasRoles(ComponentUtil.getFessConfig().getAuthenticationAdminRolesAsArray())) { return Constants.SEARCH_PREFERENCE_LOCAL; } return user.getUserId(); }).ifPresent(p -> searchRequestBuilder.setPreference(p)).orElse(() -> LaRequestUtil.getOptionalRequest().map(r -> { final HttpSession session = r.getSession(false); if (session != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K 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 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
// 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 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/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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 25 01:48:41 UTC 2024 - 11.5K bytes - Viewed (0)