Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 168 for idPresent (0.16 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

        // DELETE /api/admin/dict/stopwords/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) {
            stopwordsService.getStopwordsItem(dictId, id).ifPresent(entity -> {
                stopwordsService.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)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

        }
    
        // DELETE /api/admin/fileconfig/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            fileConfigService.getFileConfig(id).ifPresent(entity -> {
                try {
                    fileConfigService.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
    - 7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Streams.java

       * otherwise returns an empty stream.
       */
      public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) {
        return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/QueryContext.java

            }
            if (StringUtil.isBlank(this.queryString)) {
                this.queryString = "*";
            }
            if (isQuery) {
                LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                    highlightedQuerySet = new HashSet<>();
                    request.setAttribute(Constants.HIGHLIGHT_QUERIES, highlightedQuerySet);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

        // you should remove the 'final' if you need to override this
        @Override
        public ActionResponse godHandPrologue(final ActionRuntime runtime) {
            fessLoginAssist.getSavedUserBean().ifPresent(u -> {
                final boolean result = u.getFessUser().refresh();
                if (logger.isDebugEnabled()) {
                    logger.debug("refresh user info: {}", result);
                }
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

        }
    
        // DELETE /api/admin/keymatch/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            keyMatchService.getKeyMatch(id).ifPresent(entity -> {
                try {
                    keyMatchService.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.2K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            if (!(jApiCompatibility instanceof JApiMethod) || !((JApiMethod) jApiCompatibility).getOldMethod().isPresent()) {
                return Optional.empty();
            }
            JApiMethod jApiMethod = (JApiMethod) jApiCompatibility;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            if (request.isResume()) {
                projects.stream()
                        .filter(MavenProject::isExecutionRoot)
                        .findFirst()
                        .ifPresent(rootProject -> buildResumptionDataRepository.applyResumptionData(request, rootProject));
            }
        }
    
        private List<MavenProject> getProjectsInRequestScope(MavenExecutionRequest request, List<MavenProject> projects)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

        }
    
        // DELETE /api/admin/labeltype/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            labelTypeService.getLabelType(id).ifPresent(entity -> {
                try {
                    labelTypeService.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.8K bytes
    - Viewed (0)
Back to top