Class BoostDocumentRuleService

java.lang.Object
org.codelibs.fess.app.service.FessAppService
org.codelibs.fess.app.service.BoostDocumentRuleService

public class BoostDocumentRuleService extends FessAppService
Service class for boost document rule management operations. Provides CRUD operations for boost document rules.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.codelibs.fess.opensearch.config.exbhv.BoostDocumentRuleBhv
    Database behavior for boost document rule operations.
    protected org.codelibs.fess.mylasta.direction.FessConfig
    Fess configuration.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for BoostDocumentRuleService.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(org.codelibs.fess.opensearch.config.exentity.BoostDocumentRule boostDocumentRule)
    Deletes a boost document rule.
    org.dbflute.optional.OptionalEntity<org.codelibs.fess.opensearch.config.exentity.BoostDocumentRule>
    Gets a boost document rule by its ID.
    List<org.codelibs.fess.opensearch.config.exentity.BoostDocumentRule>
    getBoostDocumentRuleList(BoostDocPager boostDocumentRulePager)
    Gets a paginated list of boost document rules.
    protected void
    setupListCondition(org.codelibs.fess.opensearch.config.cbean.BoostDocumentRuleCB cb, BoostDocPager boostDocumentRulePager)
    Sets up search conditions for boost document rule list queries.
    void
    store(org.codelibs.fess.opensearch.config.exentity.BoostDocumentRule boostDocumentRule)
    Stores (inserts or updates) a boost document rule.

    Methods inherited from class org.codelibs.fess.app.service.FessAppService

    wrapQuery

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • boostDocumentRuleBhv

      protected org.codelibs.fess.opensearch.config.exbhv.BoostDocumentRuleBhv boostDocumentRuleBhv
      Database behavior for boost document rule operations.
    • fessConfig

      protected org.codelibs.fess.mylasta.direction.FessConfig fessConfig
      Fess configuration.
  • Constructor Details

    • BoostDocumentRuleService

      public BoostDocumentRuleService()
      Default constructor for BoostDocumentRuleService.
  • Method Details

    • getBoostDocumentRuleList

      public List<org.codelibs.fess.opensearch.config.exentity.BoostDocumentRule> getBoostDocumentRuleList(BoostDocPager boostDocumentRulePager)
      Gets a paginated list of boost document rules.
      Parameters:
      boostDocumentRulePager - The pager with search criteria and pagination settings.
      Returns:
      List of boost document rules matching the criteria.
    • getBoostDocumentRule

      public org.dbflute.optional.OptionalEntity<org.codelibs.fess.opensearch.config.exentity.BoostDocumentRule> getBoostDocumentRule(String id)
      Gets a boost document rule by its ID.
      Parameters:
      id - The boost document rule ID.
      Returns:
      Optional entity containing the boost document rule if found.
    • store

      public void store(org.codelibs.fess.opensearch.config.exentity.BoostDocumentRule boostDocumentRule)
      Stores (inserts or updates) a boost document rule.
      Parameters:
      boostDocumentRule - The boost document rule to store.
    • delete

      public void delete(org.codelibs.fess.opensearch.config.exentity.BoostDocumentRule boostDocumentRule)
      Deletes a boost document rule.
      Parameters:
      boostDocumentRule - The boost document rule to delete.
    • setupListCondition

      protected void setupListCondition(org.codelibs.fess.opensearch.config.cbean.BoostDocumentRuleCB cb, BoostDocPager boostDocumentRulePager)
      Sets up search conditions for boost document rule list queries.
      Parameters:
      cb - The condition bean for the query.
      boostDocumentRulePager - The pager containing search criteria.