Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 124 for OptionalEntity (0.06 sec)

  1. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingInfoParam.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class CrawlingInfoParam extends BsCrawlingInfoParam {
    
        private static final long serialVersionUID = 1L;
    
        private OptionalEntity<CrawlingInfo> crawlingInfo;
    
        public String getId() {
            return asDocMeta().id();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

         * @return an optional WebAuthentication entity
         */
        public static OptionalEntity<WebAuthentication> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new WebAuthentication()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            // Load test data
            loadTestData();
    
            OptionalEntity<StopwordsItem> result = stopwordsFile.get(1);
            assertTrue(result.isPresent());
            assertEquals("the", result.get().getInput());
        }
    
        public void test_get_nonExistingItem() {
            // Load test data
            loadTestData();
    
            OptionalEntity<StopwordsItem> result = stopwordsFile.get(999);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

        private static OptionalEntity<SynonymItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final SynonymItem entity = new SynonymItem(0, StringUtil.EMPTY_STRINGS, StringUtil.EMPTY_STRINGS);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

         * @param currentTime the current time
         * @return optional file configuration entity
         */
        public static OptionalEntity<FileConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new FileConfig()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

        @Override
        public synchronized OptionalEntity<StopwordsItem> get(final long id) {
            if (stopwordsItemList == null) {
                reload(null);
            }
    
            for (final StopwordsItem StopwordsItem : stopwordsItemList) {
                if (id == StopwordsItem.getId()) {
                    return OptionalEntity.of(StopwordsItem);
                }
            }
            return OptionalEntity.empty();
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

        //                                                                        ============
    
        private static OptionalEntity<BoostDocumentRule> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new BoostDocumentRule()).map(entity -> {
                    entity.setCreatedBy(username);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top