java.lang.Object
fr.paris.lutece.plugins.wiki.modules.ai.business.AiFeature
All Implemented Interfaces:
Serializable

public class AiFeature extends Object implements Serializable
AiFeature business class
See Also:
  • 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

      public String getName()
      Gets the feature name
      Returns:
      the feature name
    • setName

      public void setName(String strName)
      Sets the feature name
      Parameters:
      strName - the feature name
    • getType

      public String getType()
      Gets the feature type
      Returns:
      the feature type
    • setType

      public void setType(String strType)
      Sets the feature type
      Parameters:
      strType - the feature type
    • getPromptTemplate

      public String getPromptTemplate()
      Gets the prompt template
      Returns:
      the prompt template
    • setPromptTemplate

      public void setPromptTemplate(String strPromptTemplate)
      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

      public String getDisplayMode()
      Gets the display mode (dropdown or button)
      Returns:
      the display mode
    • setDisplayMode

      public void setDisplayMode(String strDisplayMode)
      Sets the display mode (dropdown or button)
      Parameters:
      strDisplayMode - the display mode