Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for insertOrUpdate (0.11 sec)

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

        }
    
        public OptionalEntity<JobLog> getJobLog(final String id) {
            return jobLogBhv.selectByPK(id);
        }
    
        public void store(final JobLog jobLog) {
    
            jobLogBhv.insertOrUpdate(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final JobLog jobLog) {
    
            jobLogBhv.delete(jobLog, op -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

                cb.fetchFirst(fessConfig.getPageScheduledJobMaxFetchSizeAsInteger());
            });
        }
    
        public void store(final ScheduledJob scheduledJob) {
            scheduledJobBhv.insertOrUpdate(scheduledJob, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        public List<ScheduledJob> getCrawlerJobList() {
            return scheduledJobBhv.selectList(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

            return OptionalEntity.of(list.get(0));
        }
    
        public void store(final WebConfig webConfig) {
            webConfig.setConfigParameter(ParameterUtil.encrypt(webConfig.getConfigParameter()));
            webConfigBhv.insertOrUpdate(webConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
        }
    
        protected void setupListCondition(final WebConfigCB cb, final WebConfigPager webConfigPager) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/BadWordService.java

        }
    
        public OptionalEntity<BadWord> getBadWord(final String id) {
            return badWordBhv.selectByPK(id);
        }
    
        public void store(final BadWord badWord) {
    
            badWordBhv.insertOrUpdate(badWord, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        public void delete(final BadWord badWord) {
    
            badWordBhv.delete(badWord, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

        public void store(final ElevateWord elevateWord) {
            final boolean isNew = elevateWord.getId() == null;
            final String[] labelTypeIds = elevateWord.getLabelTypeIds();
    
            elevateWordBhv.insertOrUpdate(elevateWord, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
            final String elevateWordId = elevateWord.getId();
            if (labelTypeIds != null) {
                if (isNew) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            return crawlingInfoBhv.selectByPK(id);
        }
    
        public void store(final CrawlingInfo crawlingInfo) {
            setupStoreCondition(crawlingInfo);
    
            crawlingInfoBhv.insertOrUpdate(crawlingInfo, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        public void delete(final CrawlingInfo crawlingInfo) {
            setupDeleteCondition(crawlingInfo);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                e.setId(userCode);
                e.setCreatedAt(now);
                e.setUpdatedAt(now);
                return e;
            });
            CommonPoolUtil.execute(() -> userInfoBhv.insertOrUpdate(userInfo));
            return userInfo;
        }
    
        public OptionalEntity<UserInfo> getUserInfo(final String userCode) {
            if (StringUtil.isNotBlank(userCode)) {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top