Package org.codelibs.fess.app.service
Class LabelTypeService
java.lang.Object
org.codelibs.fess.app.service.FessAppService
org.codelibs.fess.app.service.LabelTypeService
Service class for label types.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.codelibs.fess.mylasta.direction.FessConfigThe Fess config.protected org.codelibs.fess.opensearch.config.exbhv.LabelTypeBhvThe LabelType behavior. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(org.codelibs.fess.opensearch.config.exentity.LabelType labelType) Delete a label type.org.dbflute.optional.OptionalEntity<org.codelibs.fess.opensearch.config.exentity.LabelType> getLabelType(String id) 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> getLabelTypeList(LabelTypePager labelTypePager) Get a list of label types.protected voidsetupListCondition(org.codelibs.fess.opensearch.config.cbean.LabelTypeCB cb, LabelTypePager labelTypePager) Set up list conditions.voidstore(org.codelibs.fess.opensearch.config.exentity.LabelType labelType) Store a label type.Methods inherited from class org.codelibs.fess.app.service.FessAppService
wrapQuery
-
Field Details
-
labelTypeBhv
protected org.codelibs.fess.opensearch.config.exbhv.LabelTypeBhv labelTypeBhvThe LabelType behavior. -
fessConfig
protected org.codelibs.fess.mylasta.direction.FessConfig fessConfigThe 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
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.
-