Package org.codelibs.fess.app.service
Class KuromojiService
java.lang.Object
org.codelibs.fess.app.service.KuromojiService
Service class for Kuromoji.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DictionaryManagerThe dictionary manager.protected org.codelibs.fess.mylasta.direction.FessConfigThe Fess config. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(String dictId, KuromojiItem kuromojiItem) Delete a Kuromoji item.org.dbflute.optional.OptionalEntity<KuromojiFile> getKuromojiFile(String dictId) Get a Kuromoji file.org.dbflute.optional.OptionalEntity<KuromojiItem> getKuromojiItem(String dictId, long id) Get a Kuromoji item.getKuromojiList(String dictId, KuromojiPager kuromojiPager) Get a list of Kuromoji items.voidstore(String dictId, KuromojiItem kuromojiItem) Store a Kuromoji item.
-
Field Details
-
dictionaryManager
The dictionary manager. -
fessConfig
protected org.codelibs.fess.mylasta.direction.FessConfig fessConfigThe Fess config.
-
-
Constructor Details
-
KuromojiService
public KuromojiService()Default constructor.
-
-
Method Details
-
getKuromojiList
Get a list of Kuromoji items.- Parameters:
dictId- The dictionary ID.kuromojiPager- The pager for Kuromoji.- Returns:
- A list of Kuromoji items.
-
getKuromojiFile
Get a Kuromoji file.- Parameters:
dictId- The dictionary ID.- Returns:
- An optional entity of the Kuromoji file.
-
getKuromojiItem
Get a Kuromoji item.- Parameters:
dictId- The dictionary ID.id- The ID of the Kuromoji item.- Returns:
- An optional entity of the Kuromoji item.
-
store
Store a Kuromoji item.- Parameters:
dictId- The dictionary ID.kuromojiItem- The Kuromoji item to store.
-
delete
Delete a Kuromoji item.- Parameters:
dictId- The dictionary ID.kuromojiItem- The Kuromoji item to delete.
-