Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for queryDelete (0.28 sec)

  1. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            crawlingInfoParamBhv.queryDelete(cb1 -> cb1.query().filtered((cq, cf) -> {
                cq.matchAll();
                if (!idList.isEmpty()) {
                    cf.not(subCf -> subCf.setCrawlingInfoId_InScope(idList));
                }
            }));
            crawlingInfoBhv.queryDelete(cb2 -> cb2.query().filtered((cq, cf) -> {
                cq.matchAll();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

            cb.query().addOrderBy_LastAccessTime_Desc();
    
            buildSearchCondition(failureUrlPager, cb);
        }
    
        public void deleteAll(final FailureUrlPager failureUrlPager) {
            failureUrlBhv.queryDelete(cb -> {
                buildSearchCondition(failureUrlPager, cb);
            });
        }
    
        private void buildSearchCondition(final FailureUrlPager failureUrlPager, final FailureUrlCB cb) {
            // search
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 24 01:20:42 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/JobLogService.java

            final long targetTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - days * oneday;
            jobLogBhv.queryDelete(cb -> {
                cb.query().setEndTime_LessThan(targetTime);
            });
        }
    
        public void deleteByJobStatus(final List<String> jobStatusList) {
            jobLogBhv.queryDelete(cb -> {
                cb.query().setJobStatus_InScope(jobStatusList);
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

            webConfigBhv.delete(webConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            webAuthenticationBhv.queryDelete(cb -> {
                cb.query().setWebConfigId_Equal(webConfigId);
            });
    
            requestHeaderBhv.queryDelete(cb -> {
                cb.query().setWebConfigId_Equal(webConfigId);
            });
        }
    
        public OptionalEntity<WebConfig> getWebConfig(final String id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/UserInfoService.java

    public class UserInfoService {
    
        @Resource
        private UserInfoBhv userInfoBhv;
    
        @Resource
        private SystemHelper systemHelper;
    
        public void deleteBefore(final int days) {
            userInfoBhv.queryDelete(cb -> {
                cb.query().setUpdatedAt_LessEqual(systemHelper.getCurrentTimeAsLocalDateTime().minusDays(days));
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java

            scheduledJobService.start(cron);
    
            final String myName = fessConfig.getSchedulerTargetName();
            if (StringUtil.isNotBlank(myName)) {
                ComponentUtil.getComponent(JobLogBhv.class).queryDelete(cb -> {
                    cb.query().setJobStatus_Equal(Constants.RUNNING);
                    cb.query().setTarget_Equal(myName);
                });
            }
    
            TimeoutManager.getInstance().addTimeoutTarget(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

            final String fileConfigId = fileConfig.getId();
    
            fileConfigBhv.delete(fileConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            fileAuthenticationBhv.queryDelete(cb -> {
                cb.query().setFileConfigId_Equal(fileConfigId);
            });
        }
    
        public OptionalEntity<FileConfig> getFileConfig(final String id) {
            return fileConfigBhv.selectByPK(id);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsCrawlingInfoBhv.java

        }
    
        public void delete(CrawlingInfo entity, RequestOptionCall<DeleteRequestBuilder> opLambda) {
            entity.asDocMeta().deleteOption(opLambda);
            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<CrawlingInfoCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<CrawlingInfo> list) {
            return batchInsert(list, null, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsElevateWordToLabelBhv.java

        public void delete(ElevateWordToLabel entity, RequestOptionCall<DeleteRequestBuilder> opLambda) {
            entity.asDocMeta().deleteOption(opLambda);
            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<ElevateWordToLabelCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<ElevateWordToLabel> list) {
            return batchInsert(list, null, null);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java

        }
    
        public void delete(JobLog entity, RequestOptionCall<DeleteRequestBuilder> opLambda) {
            entity.asDocMeta().deleteOption(opLambda);
            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<JobLogCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<JobLog> list) {
            return batchInsert(list, null, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top