Package org.codelibs.fess.app.service
Class KeyMatchService
java.lang.Object
org.codelibs.fess.app.service.FessAppService
org.codelibs.fess.app.service.KeyMatchService
Service class for KeyMatch.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.codelibs.fess.mylasta.direction.FessConfigThe Fess config.protected org.codelibs.fess.opensearch.config.exbhv.KeyMatchBhvThe KeyMatch behavior. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(org.codelibs.fess.opensearch.config.exentity.KeyMatch keyMatch) Delete a key match.org.dbflute.optional.OptionalEntity<org.codelibs.fess.opensearch.config.exentity.KeyMatch> getKeyMatch(String id) Get a key match.List<org.codelibs.fess.opensearch.config.exentity.KeyMatch> getKeyMatchList(KeyMatchPager keyMatchPager) Get a list of key matches.protected voidsetupListCondition(org.codelibs.fess.opensearch.config.cbean.KeyMatchCB cb, KeyMatchPager keyMatchPager) Set up list conditions.voidstore(org.codelibs.fess.opensearch.config.exentity.KeyMatch keyMatch) Store a key match.Methods inherited from class org.codelibs.fess.app.service.FessAppService
wrapQuery
-
Field Details
-
keyMatchBhv
protected org.codelibs.fess.opensearch.config.exbhv.KeyMatchBhv keyMatchBhvThe KeyMatch behavior. -
fessConfig
protected org.codelibs.fess.mylasta.direction.FessConfig fessConfigThe Fess config.
-
-
Constructor Details
-
KeyMatchService
public KeyMatchService()Default constructor.
-
-
Method Details
-
getKeyMatchList
public List<org.codelibs.fess.opensearch.config.exentity.KeyMatch> getKeyMatchList(KeyMatchPager keyMatchPager) Get a list of key matches.- Parameters:
keyMatchPager- Pager for key matches.- Returns:
- A list of key matches.
-
getKeyMatch
public org.dbflute.optional.OptionalEntity<org.codelibs.fess.opensearch.config.exentity.KeyMatch> getKeyMatch(String id) Get a key match.- Parameters:
id- The ID of the key match.- Returns:
- An optional entity of the key match.
-
store
public void store(org.codelibs.fess.opensearch.config.exentity.KeyMatch keyMatch) Store a key match.- Parameters:
keyMatch- The key match to store.
-
delete
public void delete(org.codelibs.fess.opensearch.config.exentity.KeyMatch keyMatch) Delete a key match.- Parameters:
keyMatch- The key match to delete.
-
setupListCondition
protected void setupListCondition(org.codelibs.fess.opensearch.config.cbean.KeyMatchCB cb, KeyMatchPager keyMatchPager) Set up list conditions.- Parameters:
cb- The condition bean.keyMatchPager- The pager for key matches.
-