Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for selectByPK (0.04 sec)

  1. src/main/java/org/codelibs/fess/helper/JobHelper.java

            final CronParamsSupplier paramsOp = () -> {
                final Map<String, Object> params = new HashMap<>();
                ComponentUtil.getComponent(ScheduledJobBhv.class)
                        .selectByPK(scheduledJob.getId())
                        .ifPresent(e -> params.put(Constants.SCHEDULED_JOB, e))
                        .orElse(() -> {
                            logger.warn("Job {} is not found.", scheduledJob.getId());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

         * @param id The ID of the scheduled job.
         * @return An optional entity of the scheduled job.
         */
        public OptionalEntity<ScheduledJob> getScheduledJob(final String id) {
            return scheduledJobBhv.selectByPK(id);
        }
    
        /**
         * Deletes a scheduled job.
         * @param scheduledJob The scheduled job to delete.
         */
        public void delete(final ScheduledJob scheduledJob) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

         * @return OptionalEntity containing the elevate word if found, or empty if not found
         */
        public OptionalEntity<ElevateWord> getElevateWord(final String id) {
            return elevateWordBhv.selectByPK(id).map(entity -> {
    
                final List<ElevateWordToLabel> wctltmList = elevateWordToLabelBhv.selectList(wctltmCb -> {
                    wctltmCb.query().setElevateWordId_Equal(entity.getId());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/BadWordService.java

         * @param id The bad word ID.
         * @return Optional entity containing the bad word if found.
         */
        public OptionalEntity<BadWord> getBadWord(final String id) {
            return badWordBhv.selectByPK(id);
        }
    
        /**
         * Stores (inserts or updates) a bad word.
         * @param badWord The bad word to store.
         */
        public void store(final BadWord badWord) {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/UserService.java

         *
         * @param id the unique identifier of the user
         * @return an OptionalEntity containing the user if found
         */
        public OptionalEntity<User> getUser(final String id) {
            return userBhv.selectByPK(id).map(u -> ComponentUtil.getAuthenticationManager().load(u));
        }
    
        /**
         * Retrieves a user by their username.
         *
         * @param username the username to search for
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            final LocalDateTime now = ComponentUtil.getSystemHelper().getCurrentTimeAsLocalDateTime();
            final UserInfo userInfo = userInfoBhv.selectByPK(userCode).map(e -> {
                e.setUpdatedAt(now);
                return e;
            }).orElseGet(() -> {
                final UserInfo e = new UserInfo();
                e.setId(userCode);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top