Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 118 for OptionalEntity (0.09 sec)

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

            }).orElse(Collections.emptyList());
        }
    
        public OptionalEntity<SynonymFile> getSynonymFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId).filter(SynonymFile.class::isInstance)
                    .map(file -> OptionalEntity.of((SynonymFile) file)).orElse(OptionalEntity.empty());
        }
    
        public OptionalEntity<SynonymItem> getSynonymItem(final String dictId, final long id) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/GroupService.java

    import org.codelibs.fess.es.user.exentity.Group;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    public class GroupService {
    
        @Resource
        protected GroupBhv groupBhv;
    
        @Resource
        protected FessConfig fessConfig;
    
        @Resource
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/RoleService.java

    import org.codelibs.fess.es.user.exentity.Role;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    public class RoleService {
    
        @Resource
        protected RoleBhv roleBhv;
    
        @Resource
        protected FessConfig fessConfig;
    
        @Resource
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

        //                                                                        ============
    
        private static OptionalEntity<RelatedQuery> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new RelatedQuery()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                } else {
                    urlList.add(failureUrl.getUrl());
                }
            }
            return urlList;
        }
    
        public OptionalEntity<CrawlingConfig> getDefaultConfig(final ConfigType configType) {
            if (configType == null) {
                return OptionalEntity.empty();
            }
    
            final String name = ComponentUtil.getFessConfig().getFormAdminDefaultTemplateName();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

            fileAuthenticationBhv.queryDelete(cb -> {
                cb.query().setFileConfigId_Equal(fileConfigId);
            });
        }
    
        public OptionalEntity<FileConfig> getFileConfig(final String id) {
            return fileConfigBhv.selectByPK(id);
        }
    
        public OptionalEntity<FileConfig> getFileConfigByName(final String name) {
            final ListResultBean<FileConfig> list = fileConfigBhv.selectList(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

    import org.codelibs.fess.es.config.exentity.DuplicateHost;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    public class DuplicateHostService extends FessAppService {
    
        @Resource
        protected DuplicateHostBhv duplicateHostBhv;
    
        @Resource
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    public class RelatedQueryService extends FessAppService {
    
        @Resource
        protected RelatedQueryBhv relatedQueryBhv;
    
        @Resource
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/OptionalUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import org.dbflute.optional.OptionalEntity;
    
    public class OptionalUtil {
    
        public static <T> OptionalEntity<T> ofNullable(final T entity) {
            return OptionalEntity.ofNullable(entity, () -> {});
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 866 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

        @Override
        public synchronized OptionalEntity<ProtwordsItem> get(final long id) {
            if (protwordsItemList == null) {
                reload(null);
            }
    
            for (final ProtwordsItem ProtwordsItem : protwordsItemList) {
                if (id == ProtwordsItem.getId()) {
                    return OptionalEntity.of(ProtwordsItem);
                }
            }
            return OptionalEntity.empty();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top