Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for queryDelete (0.21 sec)

  1. 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) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K 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
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 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);
            });
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. 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));
            });
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  5. 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(() -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. 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);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/bsbhv/BsRoleBhv.java

        }
    
        public void delete(Role entity, RequestOptionCall<DeleteRequestBuilder> opLambda) {
            entity.asDocMeta().deleteOption(opLambda);
            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<RoleCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<Role> list) {
            return batchInsert(list, null, null);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.8K 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);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  9. 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);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/bsbhv/BsFavoriteLogBhv.java

        }
    
        public void delete(FavoriteLog entity, RequestOptionCall<DeleteRequestBuilder> opLambda) {
            entity.asDocMeta().deleteOption(opLambda);
            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<FavoriteLogCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<FavoriteLog> list) {
            return batchInsert(list, null, null);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top