Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,979 for Id (0.01 sec)

  1. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRequestHeaderBhv.java

            assertObjectNotNull("id", id);
            return newConditionBean().acceptPK(id);
        }
    
        protected <ENTITY extends RequestHeader> OptionalEntity<ENTITY> doSelectOptionalByPK(String id, Class<? extends ENTITY> tp) {
            return createOptionalEntity(doSelectByPK(id, tp), id);
        }
    
        @Override
        protected Class<? extends RequestHeader> typeOfSelectedEntity() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tests/update_many2many_test.go

    	var user3 User
    	DB.Preload("Languages").Preload("Friends").Find(&user3, "id = ?", user.ID)
    	CheckUser(t, user2, user3)
    
    	if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user4 User
    	DB.Preload("Languages").Preload("Friends").Find(&user4, "id = ?", user.ID)
    	CheckUser(t, user4, user)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. tests/upsert_test.go

    	}
    
    	if user1.Name != "find or create" || user1.ID == 0 || user1.Age != 33 {
    		t.Errorf("user should be created with search value")
    	}
    
    	DB.Where(&User{Name: "find or create", Age: 33}).FirstOrCreate(&user2)
    	if user1.ID != user2.ID || user2.Name != "find or create" || user2.ID == 0 || user2.Age != 33 {
    		t.Errorf("user should be created with search value")
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/JobHelper.java

            if (scheduledJob == null) {
                throw new ScheduledJobException("No job.");
            }
    
            final String id = scheduledJob.getId();
            if (!Constants.T.equals(scheduledJob.getAvailable())) {
                logger.info("Inactive Job {}:{}", id, scheduledJob.getName());
                try {
                    unregister(scheduledJob);
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        private String getId(final String sessionId, final String url) {
            final String id = sessionId + ID_SEPARATOR + new String(Base64.getUrlEncoder().withoutPadding().encode(url.getBytes(UTF_8)), UTF_8);
            if (id.length() <= idPrefixLength) {
                return id;
            }
            return id.substring(0, idPrefixLength) + MessageDigestUtil.digest("SHA-256", id.substring(idPrefixLength));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

                return null;
            });
            return asJson(new ApiUpdateResponse().id(dataConfig.getId()).created(false).status(Status.OK).result());
        }
    
        // DELETE /api/admin/dataconfig/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            dataConfigService.getDataConfig(id).ifPresent(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

      @Test fun `parse multipart`() {
        val multipart =
          """
          |--simple boundary
          |Content-Type: text/plain; charset=utf-8
          |Content-ID: abc
          |
          |abcd
          |efgh
          |--simple boundary
          |Content-Type: text/plain; charset=utf-8
          |Content-ID: ijk
          |
          |ijkl
          |mnop
          |
          |--simple boundary--
          """.trimMargin()
            .replace("\n", "\r\n")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

        }
    
        // GET /api/admin/elevateword/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
    
            final ElevateWord entity = elevateWordService.getElevateWord(id).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/GroupService.java

                op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
            }).createPageNumberList());
    
            return groupList;
        }
    
        public OptionalEntity<Group> getGroup(final String id) {
            return groupBhv.selectByPK(id).map(g -> {
                ComponentUtil.getLdapManager().apply(g);
                return g;
            });
        }
    
        public void store(final Group group) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/RoleService.java

                op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
            }).createPageNumberList());
    
            return roleList;
        }
    
        public OptionalEntity<Role> getRole(final String id) {
            return roleBhv.selectByPK(id);
        }
    
        public void store(final Role role) {
            ComponentUtil.getLdapManager().insert(role);
    
            roleBhv.insertOrUpdate(role, op -> {
                op.setRefreshPolicy(Constants.TRUE);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top