Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 124 for OptionalEntity (0.05 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            for (final File file : fileList) {
                if (targetFile.equals(file)) {
                    return OptionalEntity.of(targetFile);
                }
            }
            return OptionalEntity.empty();
        }
    
        private List<File> getAccessibleFileList(final File baseDir) {
            final List<File> fileList = new ArrayList<>(
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/RoleTypeService.java

    import org.codelibs.fess.opensearch.config.exbhv.RoleTypeBhv;
    import org.codelibs.fess.opensearch.config.exentity.RoleType;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing role types.
     */
    public class RoleTypeService {
    
        /**
         * Constructor.
         */
        public RoleTypeService() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

         * @param currentTime current timestamp
         * @return optional ElevateWord entity
         */
        public static OptionalEntity<ElevateWord> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new ElevateWord()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

         * @return optional entity containing the scheduled job data, or empty if creation fails
         */
        private static OptionalEntity<ScheduledJob> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new ScheduledJob()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

        }
    
        @Override
        public synchronized OptionalEntity<SynonymItem> get(final long id) {
            if (synonymItemList == null) {
                reload(null);
            }
    
            for (final SynonymItem synonymItem : synonymItemList) {
                if (id == synonymItem.getId()) {
                    return OptionalEntity.of(synonymItem);
                }
            }
            return OptionalEntity.empty();
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

    import org.codelibs.fess.opensearch.config.exentity.LabelType;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for label types.
     */
    public class LabelTypeService extends FessAppService {
    
        /** The LabelType behavior. */
        @Resource
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                    }
                    return OptionalEntity.empty();
                }
                if (logger.isDebugEnabled()) {
                    logger.debug("Logged in. {}", context);
                }
                return OptionalEntity.of(ldapUser);
            } catch (final Exception e) {
                logger.debug("Login failed.", e);
            }
            return OptionalEntity.empty();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

    import org.codelibs.fess.opensearch.config.exentity.ScheduledJob;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    import org.lastaflute.job.LaCron;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing scheduled jobs.
     */
    public class ScheduledJobService {
    
        /**
         * Constructor.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

         * Gets user information.
         *
         * @param userCode The user code.
         * @return The user information.
         */
        public OptionalEntity<UserInfo> getUserInfo(final String userCode) {
            if (StringUtil.isNotBlank(userCode)) {
                try {
                    return OptionalEntity.of(userInfoCache.get(userCode));
                } catch (final ExecutionException e) {
                    if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/JobLogService.java

    import org.codelibs.fess.opensearch.config.exentity.JobLog;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing job logs in the Fess application.
     * Provides functionality to create, read, update, and delete job log entries,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top