Class AiFeature
java.lang.Object
fr.paris.lutece.plugins.wiki.modules.ai.business.AiFeature
- All Implemented Interfaces:
Serializable
AiFeature business class
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the display mode (dropdown or button)intgetId()Gets the feature identifiergetName()Gets the feature nameintgetOrder()Gets the feature orderGets the prompt templategetType()Gets the feature typebooleanisActive()Checks if the feature is activevoidsetActive(boolean bIsActive) Sets the feature active statusvoidsetDisplayMode(String strDisplayMode) Sets the display mode (dropdown or button)voidsetId(int nId) Sets the feature identifiervoidSets the feature namevoidsetOrder(int nOrder) Sets the feature ordervoidsetPromptTemplate(String strPromptTemplate) Sets the prompt templatevoidSets the feature type
-
Constructor Details
-
AiFeature
public AiFeature()
-
-
Method Details
-
getId
public int getId()Gets the feature identifier- Returns:
- the feature identifier
-
setId
public void setId(int nId) Sets the feature identifier- Parameters:
nId- the feature identifier
-
getName
Gets the feature name- Returns:
- the feature name
-
setName
Sets the feature name- Parameters:
strName- the feature name
-
getType
Gets the feature type- Returns:
- the feature type
-
setType
Sets the feature type- Parameters:
strType- the feature type
-
getPromptTemplate
Gets the prompt template- Returns:
- the prompt template
-
setPromptTemplate
Sets the prompt template- Parameters:
strPromptTemplate- the prompt template
-
isActive
public boolean isActive()Checks if the feature is active- Returns:
- true if the feature is active, false otherwise
-
setActive
public void setActive(boolean bIsActive) Sets the feature active status- Parameters:
bIsActive- the active status
-
getOrder
public int getOrder()Gets the feature order- Returns:
- the feature order
-
setOrder
public void setOrder(int nOrder) Sets the feature order- Parameters:
nOrder- the feature order
-
getDisplayMode
Gets the display mode (dropdown or button)- Returns:
- the display mode
-
setDisplayMode
Sets the display mode (dropdown or button)- Parameters:
strDisplayMode- the display mode
-