Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for OptionalEntity (0.07 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

         * @param currentTime the current timestamp
         * @return optional duplicate host entity
         */
        public static OptionalEntity<DuplicateHost> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new DuplicateHost()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

         * @param currentTime the current time
         * @return optional key match entity
         */
        public static OptionalEntity<KeyMatch> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new KeyMatch()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

        /**
         * Retrieves a character mapping item by its ID.
         *
         * @param id the unique identifier of the mapping item to retrieve
         * @return an OptionalEntity containing the mapping item if found, empty otherwise
         */
        @Override
        public OptionalEntity<CharMappingItem> get(final long id) {
            if (mappingItemList == null) {
                reload(null);
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

         * @param currentTime The current time.
         * @return An optional entity of a data config.
         */
        public static OptionalEntity<DataConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new DataConfig()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

    import org.codelibs.fess.rank.fusion.SearchResult.SearchResultBuilder;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.DocumentUtil;
    import org.codelibs.fess.util.FacetResponse;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.util.LaRequestUtil;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.action.search.SearchResponse;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 09:24:04 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/UserService.java

         * Loads the user through the authentication manager for complete user data.
         *
         * @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));
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

        }
    
        private OptionalThing<HttpSession> getSession() {
            final HttpSession session = request.getSession(false);
            if (session != null) {
                return OptionalEntity.of(session);
            }
            return OptionalEntity.empty();
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

         * @return an OptionalEntity containing the dictionary file if found, empty otherwise
         */
        public OptionalEntity<DictionaryFile<? extends DictionaryItem>> getDictionaryFile(final String id) {
            for (final DictionaryFile<? extends DictionaryItem> dictFile : getDictionaryFiles()) {
                if (dictFile.getId().equals(id)) {
                    return OptionalEntity.of(dictFile);
                }
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java

        //                                                                        ============
        private static OptionalEntity<PathMapping> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new PathMapping()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

        //                                                                        ============
    
        private static OptionalEntity<AccessToken> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new AccessToken()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top