Class LabelTypeService

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

public class LabelTypeService extends FessAppService
Service class for label types.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.codelibs.fess.mylasta.direction.FessConfig
    The Fess config.
    protected org.codelibs.fess.opensearch.config.exbhv.LabelTypeBhv
    The LabelType behavior.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(org.codelibs.fess.opensearch.config.exentity.LabelType labelType)
    Delete a label type.
    org.dbflute.optional.OptionalEntity<org.codelibs.fess.opensearch.config.exentity.LabelType>
    Get a label type.
    List<org.codelibs.fess.opensearch.config.exentity.LabelType>
    Get a list of all label types.
    List<org.codelibs.fess.opensearch.config.exentity.LabelType>
    Get a list of label types.
    protected void
    setupListCondition(org.codelibs.fess.opensearch.config.cbean.LabelTypeCB cb, LabelTypePager labelTypePager)
    Set up list conditions.
    void
    store(org.codelibs.fess.opensearch.config.exentity.LabelType labelType)
    Store a label type.

    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

    • labelTypeBhv

      protected org.codelibs.fess.opensearch.config.exbhv.LabelTypeBhv labelTypeBhv
      The LabelType behavior.
    • fessConfig

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

    • LabelTypeService

      public LabelTypeService()
      Default constructor.
  • Method Details

    • getLabelTypeList

      public List<org.codelibs.fess.opensearch.config.exentity.LabelType> getLabelTypeList(LabelTypePager labelTypePager)
      Get a list of label types.
      Parameters:
      labelTypePager - The pager for label types.
      Returns:
      A list of label types.
    • delete

      public void delete(org.codelibs.fess.opensearch.config.exentity.LabelType labelType)
      Delete a label type.
      Parameters:
      labelType - The label type to delete.
    • setupListCondition

      protected void setupListCondition(org.codelibs.fess.opensearch.config.cbean.LabelTypeCB cb, LabelTypePager labelTypePager)
      Set up list conditions.
      Parameters:
      cb - The condition bean.
      labelTypePager - The pager for label types.
    • getLabelTypeList

      public List<org.codelibs.fess.opensearch.config.exentity.LabelType> getLabelTypeList()
      Get a list of all label types.
      Returns:
      A list of all label types.
    • store

      public void store(org.codelibs.fess.opensearch.config.exentity.LabelType labelType)
      Store a label type.
      Parameters:
      labelType - The label type to store.
    • getLabelType

      public org.dbflute.optional.OptionalEntity<org.codelibs.fess.opensearch.config.exentity.LabelType> getLabelType(String id)
      Get a label type.
      Parameters:
      id - The ID of the label type.
      Returns:
      An optional entity of the label type.