- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for ProtwordsItem (0.13 seconds)
-
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java
*/ public class ProtwordsItem extends DictionaryItem { private final String input; private String newInput; /** * Constructor for ProtwordsItem. * @param id the unique identifier for this item * @param input the protected word input */ public ProtwordsItem(final long id, final String input) { this.id = id;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/ProtwordsService.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// Create updater with a new item ProtwordsItem newItem = new ProtwordsItem(0, "testNew"); ProtwordsFile.ProtwordsUpdater updater = protwordsFile.new ProtwordsUpdater(newItem); // Write an existing item (should pass through) ProtwordsItem existingItem = new ProtwordsItem(10, "existing"); ProtwordsItem result = updater.write(existingItem); assertNotNull(result);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
} @Test public void test_equals() { // Test equals method ProtwordsItem item1 = new ProtwordsItem(1, "word"); ProtwordsItem item2 = new ProtwordsItem(2, "word"); ProtwordsItem item3 = new ProtwordsItem(1, "different"); ProtwordsItem item4 = new ProtwordsItem(1, "word"); // Same object assertTrue(item1.equals(item1));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
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(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
return asJson(new ApiResult.ApiConfigsResponse<EditBody>().settings(protwordsService.getProtwordsList(body.dictId, pager) .stream() .map(protwordsItem -> createEditBody(protwordsItem, dictId)) .collect(Collectors.toList())).status(ApiResult.Status.OK).result()); } /** * Retrieve a single protected words entry by ID for the specified dictionary. *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java
// ============ private static OptionalEntity<ProtwordsItem> getEntity(final CreateForm form) { switch (form.crudMode) { case CrudMode.CREATE: final ProtwordsItem entity = new ProtwordsItem(0, StringUtil.EMPTY); return OptionalEntity.of(entity); case CrudMode.EDIT: if (form instanceof EditForm) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 20.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
return asJson(new ApiResult.ApiConfigsResponse<EditBody>().settings(kuromojiService.getKuromojiList(body.dictId, pager) .stream() .map(protwordsItem -> createEditBody(protwordsItem, dictId)) .collect(Collectors.toList())).status(ApiResult.Status.OK).result()); } /** * Retrieves a specific Kuromoji dictionary item by ID. *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java
new ApiResult.ApiConfigsResponse<EditBody>().settings(stemmerOverrideService.getStemmerOverrideList(body.dictId, pager) .stream() .map(protwordsItem -> createEditBody(protwordsItem, dictId)) .collect(Collectors.toList())).status(ApiResult.Status.OK).result()); } /** * Retrieves a specific stemmer override dictionary item by ID. *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java
return asJson(new ApiResult.ApiConfigsResponse<EditBody>().settings(synonymService.getSynonymList(body.dictId, pager) .stream() .map(protwordsItem -> createEditBody(protwordsItem, dictId)) .collect(Collectors.toList())).status(ApiResult.Status.OK).result()); } /** * Retrieves a specific synonym dictionary item by ID. *
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.3K bytes - Click Count (0)