Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 168 for idPresent (0.09 sec)

  1. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            Optional<Long> size = byteSource.sizeIfKnown();
            // if we know the size and it fits in an int
            if (size.isPresent() && size.get().longValue() == size.get().intValue()) {
              // otherwise try to presize a StringBuilder
              // it is kind of lame that we need to construct a decoder to access this value.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java

        }
    
        // DELETE /api/admin/webconfig/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            webConfigService.getWebConfig(id).ifPresent(entity -> {
                try {
                    webConfigService.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)
  4. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                }
            }
            return OptionalEntity.empty();
        }
    
        public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) {
            getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> {
                if (currentFile.getTimestamp().getTime() > dictFile.getTimestamp().getTime()) {
                    throw new DictionaryException(dictFile.getPath() + " was updated.");
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

        // POST /api/admin/storage/list/{id}
        @Execute
        public JsonResponse<ApiResult> list(final OptionalThing<String> id) {
            final List<Map<String, Object>> list = getFileItems(id.isPresent() ? decodePath(id.get()) : null);
            try {
                return asJson(new ApiResult.ApiStorageResponse().items(list).status(ApiResult.Status.OK).result());
            } catch (final ResultOffsetExceededException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

        }
    
        // DELETE /api/admin/boostdoc/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            boostDocumentRuleService.getBoostDocumentRule(id).ifPresent(entity -> {
                try {
                    boostDocumentRuleService.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.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.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)
  8. src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java

            return asHtml(path_AdminFailureurl_AdminFailureurlDetailsJsp).useForm(EditForm.class, op -> {
                op.setup(form -> {
                    failureUrlService.getFailureUrl(id).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
                        });
                        form.crudMode = crudMode;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java

            saveToken();
            return asHtml(path_AdminJoblog_AdminJoblogDetailsJsp).useForm(EditForm.class, op -> {
                op.setup(form -> {
                    jobLogService.getJobLog(id).ifPresent(entity -> {
                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
                        });
                        form.crudMode = crudMode;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

                              && (m.getModifiers() & (PUBLIC | PROTECTED | PRIVATE)) == 0)
                  .transform(Method::getDeclaringClass);
          if (!supersWithPackagePrivateWriteReplace.isPresent()) {
            continue;
          }
          assertWithMessage(
                  "To help optimizers, any class that inherits a package-private writeReplace() method"
                      + " should override that method.\n"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top