Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 168 for idPresent (0.14 sec)

  1. 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)
  2. guava-tests/test/com/google/common/io/CharSourceTester.java

        assertEquals(expected.length(), source.length());
      }
    
      public void testLengthIfKnown() throws IOException {
        Optional<Long> lengthIfKnown = source.lengthIfKnown();
        if (lengthIfKnown.isPresent()) {
          assertEquals(expected.length(), (long) lengthIfKnown.get());
        }
      }
    
      public void testReadLines_withProcessor() throws IOException {
        List<String> list =
            source.readLines(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

        //                                                                      ==============
    
        @Execute
        public ActionResponse index() {
            if (fessLoginAssist.getSavedUserBean().isPresent()) {
                return redirect(RootAction.class);
            }
            final SsoManager ssoManager = ComponentUtil.getSsoManager();
            final LoginCredential loginCredential = ssoManager.getLoginCredential();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

        parameterContext: ParameterContext,
        extensionContext: ExtensionContext,
      ): Any {
        val nameAnnotation = parameterContext.findAnnotation(MockWebServerInstance::class.java)
        val name =
          if (nameAnnotation.isPresent) {
            nameAnnotation.get().name
          } else {
            defaultName
          }
        return extensionContext.resource.server(name)
      }
    
      /** Start the servers passed in as test method parameters. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            final long requestedTime = startTime;
    
            final SearchRequestParams params = rewrite(searchRequestParams);
    
            LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                request.setAttribute(Constants.REQUEST_LANGUAGES, params.getLanguages());
                request.setAttribute(Constants.REQUEST_QUERIES, params.getQuery());
            });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java

        }
    
        // DELETE /api/admin/relatedcontent/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            relatedContentService.getRelatedContent(id).ifPresent(entity -> {
                try {
                    relatedContentService.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)
  8. guava-tests/test/com/google/common/io/ByteSourceTester.java

        assertEquals(expected.length, source.size());
      }
    
      public void testSizeIfKnown() throws IOException {
        Optional<Long> sizeIfKnown = source.sizeIfKnown();
        if (sizeIfKnown.isPresent()) {
          assertEquals(expected.length, (long) sizeIfKnown.get());
        }
      }
    
      public void testContentEquals() throws IOException {
        assertTrue(
            source.contentEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/UserService.java

            final boolean changed = ComponentUtil.getAuthenticationManager().changePassword(username, password);
            if (changed) {
                userBhv.selectEntity(cb -> cb.query().setName_Equal(username)).ifPresent(entity -> {
                    final String encodedPassword = fessLoginAssist.encryptPassword(password);
                    entity.setPassword(encodedPassword);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                logger.warn("Failed to process gsa.xml file: {}", fileName, e);
            } finally {
                deleteTempFile(tempFile);
            }
            configParser.getWebConfig().ifPresent(c -> webConfigBhv.insert(c));
            configParser.getFileConfig().ifPresent(c -> fileConfigBhv.insert(c));
            labelTypeBhv.batchInsert(Arrays.stream(configParser.getLabelTypes()).collect(Collectors.toList()));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top