Class SnIndexConfigurationModel

All Implemented Interfaces:
Serializable

public class SnIndexConfigurationModel extends ItemModel
Generated model class for type SnIndexConfiguration first defined at extension searchservices.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of SnIndexConfiguration.id attribute defined at extension searchservices.
      See Also:
    • NAME

      public static final String NAME
      Generated constant - Attribute key of SnIndexConfiguration.name attribute defined at extension searchservices.
      See Also:
    • USER

      public static final String USER
      Generated constant - Attribute key of SnIndexConfiguration.user attribute defined at extension searchservices.
      See Also:
    • LISTENERS

      public static final String LISTENERS
      Generated constant - Attribute key of SnIndexConfiguration.listeners attribute defined at extension searchservices.
      See Also:
    • LANGUAGES

      public static final String LANGUAGES
      Generated constant - Attribute key of SnIndexConfiguration.languages attribute defined at extension searchservices.
      See Also:
    • CURRENCIES

      public static final String CURRENCIES
      Generated constant - Attribute key of SnIndexConfiguration.currencies attribute defined at extension searchservices.
      See Also:
    • SEARCHPROVIDERCONFIGURATION

      public static final String SEARCHPROVIDERCONFIGURATION
      Generated constant - Attribute key of SnIndexConfiguration.searchProviderConfiguration attribute defined at extension searchservices.
      See Also:
    • INDEXTYPES

      public static final String INDEXTYPES
      Generated constant - Attribute key of SnIndexConfiguration.indexTypes attribute defined at extension searchservices.
      See Also:
    • SYNONYMDICTIONARIES

      public static final String SYNONYMDICTIONARIES
      Generated constant - Attribute key of SnIndexConfiguration.synonymDictionaries attribute defined at extension searchservices.
      See Also:
  • Constructor Details

    • SnIndexConfigurationModel

      public SnIndexConfigurationModel()
      Generated constructor - Default constructor for generic creation.
    • SnIndexConfigurationModel

      public SnIndexConfigurationModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • SnIndexConfigurationModel

      @Deprecated(since="4.1.1", forRemoval=true) public SnIndexConfigurationModel(String _id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _id - initial attribute declared by type SnIndexConfiguration at extension searchservices
    • SnIndexConfigurationModel

      @Deprecated(since="4.1.1", forRemoval=true) public SnIndexConfigurationModel(String _id, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _id - initial attribute declared by type SnIndexConfiguration at extension searchservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCurrencies

      @Accessor(qualifier="currencies", type=GETTER) public List<CurrencyModel> getCurrencies()
      Generated method - Getter of the SnIndexConfiguration.currencies attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the currencies
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the SnIndexConfiguration.id attribute defined at extension searchservices.
      Returns:
      the id
    • getIndexTypes

      @Accessor(qualifier="indexTypes", type=GETTER) public List<SnIndexTypeModel> getIndexTypes()
      Generated method - Getter of the SnIndexConfiguration.indexTypes attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the indexTypes
    • getLanguages

      @Accessor(qualifier="languages", type=GETTER) public List<LanguageModel> getLanguages()
      Generated method - Getter of the SnIndexConfiguration.languages attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the languages
    • getListeners

      @Accessor(qualifier="listeners", type=GETTER) public List<String> getListeners()
      Generated method - Getter of the SnIndexConfiguration.listeners attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the listeners
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Generated method - Getter of the SnIndexConfiguration.name attribute defined at extension searchservices.
      Returns:
      the name
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Generated method - Getter of the SnIndexConfiguration.name attribute defined at extension searchservices.
      Parameters:
      loc - the value localization key
      Returns:
      the name
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getSearchProviderConfiguration

      @Accessor(qualifier="searchProviderConfiguration", type=GETTER) public AbstractSnSearchProviderConfigurationModel getSearchProviderConfiguration()
      Generated method - Getter of the SnIndexConfiguration.searchProviderConfiguration attribute defined at extension searchservices.
      Returns:
      the searchProviderConfiguration
    • getSynonymDictionaries

      @Accessor(qualifier="synonymDictionaries", type=GETTER) public List<SnSynonymDictionaryModel> getSynonymDictionaries()
      Generated method - Getter of the SnIndexConfiguration.synonymDictionaries attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the synonymDictionaries
    • getUser

      @Accessor(qualifier="user", type=GETTER) public UserModel getUser()
      Generated method - Getter of the SnIndexConfiguration.user attribute defined at extension searchservices.
      Returns:
      the user
    • setCurrencies

      @Accessor(qualifier="currencies", type=SETTER) public void setCurrencies(List<CurrencyModel> value)
      Generated method - Setter of SnIndexConfiguration.currencies attribute defined at extension searchservices.
      Parameters:
      value - the currencies
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Setter of SnIndexConfiguration.id attribute defined at extension searchservices.
      Parameters:
      value - the id
    • setIndexTypes

      @Accessor(qualifier="indexTypes", type=SETTER) public void setIndexTypes(List<SnIndexTypeModel> value)
      Generated method - Setter of SnIndexConfiguration.indexTypes attribute defined at extension searchservices.
      Parameters:
      value - the indexTypes
    • setLanguages

      @Accessor(qualifier="languages", type=SETTER) public void setLanguages(List<LanguageModel> value)
      Generated method - Setter of SnIndexConfiguration.languages attribute defined at extension searchservices.
      Parameters:
      value - the languages
    • setListeners

      @Accessor(qualifier="listeners", type=SETTER) public void setListeners(List<String> value)
      Generated method - Setter of SnIndexConfiguration.listeners attribute defined at extension searchservices.
      Parameters:
      value - the listeners
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Generated method - Setter of SnIndexConfiguration.name attribute defined at extension searchservices.
      Parameters:
      value - the name
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Generated method - Setter of SnIndexConfiguration.name attribute defined at extension searchservices.
      Parameters:
      value - the name
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setSearchProviderConfiguration

      @Accessor(qualifier="searchProviderConfiguration", type=SETTER) public void setSearchProviderConfiguration(AbstractSnSearchProviderConfigurationModel value)
      Generated method - Setter of SnIndexConfiguration.searchProviderConfiguration attribute defined at extension searchservices.
      Parameters:
      value - the searchProviderConfiguration
    • setSynonymDictionaries

      @Accessor(qualifier="synonymDictionaries", type=SETTER) public void setSynonymDictionaries(List<SnSynonymDictionaryModel> value)
      Generated method - Setter of SnIndexConfiguration.synonymDictionaries attribute defined at extension searchservices.
      Parameters:
      value - the synonymDictionaries
    • setUser

      @Accessor(qualifier="user", type=SETTER) public void setUser(UserModel value)
      Generated method - Setter of SnIndexConfiguration.user attribute defined at extension searchservices.
      Parameters:
      value - the user