Class SnIndexTypeModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

      public static final String _SNINDEXCONFIGURATION2INDEXTYPE
      Generated relation code constant for relation SnIndexConfiguration2IndexType defining source attribute indexConfiguration in extension searchservices.
      See Also:
    • _SNBASESTORE2INDEXTYPE

      public static final String _SNBASESTORE2INDEXTYPE
      Generated relation code constant for relation SnBaseStore2IndexType defining source attribute stores in extension commerceservices.
      See Also:
    • _SNBASESITE2INDEXTYPE

      public static final String _SNBASESITE2INDEXTYPE
      Generated relation code constant for relation SnBaseSite2IndexType defining source attribute sites in extension commerceservices.
      See Also:
    • ID

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

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

      public static final String ITEMCOMPOSEDTYPE
      Generated constant - Attribute key of SnIndexType.itemComposedType attribute defined at extension searchservices.
      See Also:
    • IDENTITYPROVIDER

      public static final String IDENTITYPROVIDER
      Generated constant - Attribute key of SnIndexType.identityProvider attribute defined at extension searchservices.
      See Also:
    • IDENTITYPROVIDERPARAMETERS

      public static final String IDENTITYPROVIDERPARAMETERS
      Generated constant - Attribute key of SnIndexType.identityProviderParameters attribute defined at extension searchservices.
      See Also:
    • DEFAULTVALUEPROVIDER

      public static final String DEFAULTVALUEPROVIDER
      Generated constant - Attribute key of SnIndexType.defaultValueProvider attribute defined at extension searchservices.
      See Also:
    • DEFAULTVALUEPROVIDERPARAMETERS

      public static final String DEFAULTVALUEPROVIDERPARAMETERS
      Generated constant - Attribute key of SnIndexType.defaultValueProviderParameters attribute defined at extension searchservices.
      See Also:
    • LISTENERS

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

      public static final String INDEXCONFIGURATIONPOS
      Generated constant - Attribute key of SnIndexType.indexConfigurationPOS attribute defined at extension searchservices.
      See Also:
    • INDEXCONFIGURATION

      public static final String INDEXCONFIGURATION
      Generated constant - Attribute key of SnIndexType.indexConfiguration attribute defined at extension searchservices.
      See Also:
    • FIELDS

      public static final String FIELDS
      Generated constant - Attribute key of SnIndexType.fields attribute defined at extension searchservices.
      See Also:
    • CATALOGS

      public static final String CATALOGS
      Generated constant - Attribute key of SnIndexType.catalogs attribute defined at extension searchservices.
      See Also:
    • CATALOGVERSIONS

      public static final String CATALOGVERSIONS
      Generated constant - Attribute key of SnIndexType.catalogVersions attribute defined at extension searchservices.
      See Also:
    • INDEXERCRONJOBS

      public static final String INDEXERCRONJOBS
      Generated constant - Attribute key of SnIndexType.indexerCronJobs attribute defined at extension searchservices.
      See Also:
    • STORES

      public static final String STORES
      Generated constant - Attribute key of SnIndexType.stores attribute defined at extension commerceservices.
      See Also:
    • SITES

      public static final String SITES
      Generated constant - Attribute key of SnIndexType.sites attribute defined at extension commerceservices.
      See Also:
  • Constructor Details

    • SnIndexTypeModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public SnIndexTypeModel(String _id, ComposedTypeModel _itemComposedType)
      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 SnIndexType at extension searchservices
      _itemComposedType - initial attribute declared by type SnIndexType at extension searchservices
    • SnIndexTypeModel

      @Deprecated(since="4.1.1", forRemoval=true) public SnIndexTypeModel(String _id, ComposedTypeModel _itemComposedType, 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 SnIndexType at extension searchservices
      _itemComposedType - initial attribute declared by type SnIndexType at extension searchservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCatalogs

      @Accessor(qualifier="catalogs", type=GETTER) public List<CatalogModel> getCatalogs()
      Generated method - Getter of the SnIndexType.catalogs attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the catalogs
    • getCatalogVersions

      @Accessor(qualifier="catalogVersions", type=GETTER) public List<CatalogVersionModel> getCatalogVersions()
      Generated method - Getter of the SnIndexType.catalogVersions attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the catalogVersions
    • getDefaultValueProvider

      @Accessor(qualifier="defaultValueProvider", type=GETTER) public String getDefaultValueProvider()
      Generated method - Getter of the SnIndexType.defaultValueProvider attribute defined at extension searchservices.
      Returns:
      the defaultValueProvider
    • getDefaultValueProviderParameters

      @Accessor(qualifier="defaultValueProviderParameters", type=GETTER) public Map<String,String> getDefaultValueProviderParameters()
      Generated method - Getter of the SnIndexType.defaultValueProviderParameters attribute defined at extension searchservices.
      Returns:
      the defaultValueProviderParameters
    • getFields

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

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

      @Accessor(qualifier="identityProvider", type=GETTER) public String getIdentityProvider()
      Generated method - Getter of the SnIndexType.identityProvider attribute defined at extension searchservices.
      Returns:
      the identityProvider
    • getIdentityProviderParameters

      @Accessor(qualifier="identityProviderParameters", type=GETTER) public Map<String,String> getIdentityProviderParameters()
      Generated method - Getter of the SnIndexType.identityProviderParameters attribute defined at extension searchservices.
      Returns:
      the identityProviderParameters
    • getIndexConfiguration

      @Accessor(qualifier="indexConfiguration", type=GETTER) public SnIndexConfigurationModel getIndexConfiguration()
      Generated method - Getter of the SnIndexType.indexConfiguration attribute defined at extension searchservices.
      Returns:
      the indexConfiguration
    • getIndexerCronJobs

      @Accessor(qualifier="indexerCronJobs", type=GETTER) public List<AbstractSnIndexerCronJobModel> getIndexerCronJobs()
      Generated method - Getter of the SnIndexType.indexerCronJobs attribute defined at extension searchservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the indexerCronJobs
    • getItemComposedType

      @Accessor(qualifier="itemComposedType", type=GETTER) public ComposedTypeModel getItemComposedType()
      Generated method - Getter of the SnIndexType.itemComposedType attribute defined at extension searchservices.
      Returns:
      the itemComposedType
    • getListeners

      @Accessor(qualifier="listeners", type=GETTER) public List<String> getListeners()
      Generated method - Getter of the SnIndexType.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 SnIndexType.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 SnIndexType.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
    • getSites

      @Accessor(qualifier="sites", type=GETTER) public List<BaseSiteModel> getSites()
      Generated method - Getter of the SnIndexType.sites attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the sites
    • getStores

      @Accessor(qualifier="stores", type=GETTER) public List<BaseStoreModel> getStores()
      Generated method - Getter of the SnIndexType.stores attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the stores
    • setCatalogs

      @Accessor(qualifier="catalogs", type=SETTER) public void setCatalogs(List<CatalogModel> value)
      Generated method - Setter of SnIndexType.catalogs attribute defined at extension searchservices.
      Parameters:
      value - the catalogs
    • setCatalogVersions

      @Accessor(qualifier="catalogVersions", type=SETTER) public void setCatalogVersions(List<CatalogVersionModel> value)
      Generated method - Setter of SnIndexType.catalogVersions attribute defined at extension searchservices.
      Parameters:
      value - the catalogVersions
    • setDefaultValueProvider

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

      @Accessor(qualifier="defaultValueProviderParameters", type=SETTER) public void setDefaultValueProviderParameters(Map<String,String> value)
      Generated method - Setter of SnIndexType.defaultValueProviderParameters attribute defined at extension searchservices.
      Parameters:
      value - the defaultValueProviderParameters
    • setFields

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

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

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

      @Accessor(qualifier="identityProviderParameters", type=SETTER) public void setIdentityProviderParameters(Map<String,String> value)
      Generated method - Setter of SnIndexType.identityProviderParameters attribute defined at extension searchservices.
      Parameters:
      value - the identityProviderParameters
    • setIndexConfiguration

      @Accessor(qualifier="indexConfiguration", type=SETTER) public void setIndexConfiguration(SnIndexConfigurationModel value)
      Generated method - Setter of SnIndexType.indexConfiguration attribute defined at extension searchservices.
      Parameters:
      value - the indexConfiguration
    • setIndexerCronJobs

      @Accessor(qualifier="indexerCronJobs", type=SETTER) public void setIndexerCronJobs(List<AbstractSnIndexerCronJobModel> value)
      Generated method - Setter of SnIndexType.indexerCronJobs attribute defined at extension searchservices.
      Parameters:
      value - the indexerCronJobs
    • setItemComposedType

      @Accessor(qualifier="itemComposedType", type=SETTER) public void setItemComposedType(ComposedTypeModel value)
      Generated method - Setter of SnIndexType.itemComposedType attribute defined at extension searchservices.
      Parameters:
      value - the itemComposedType
    • setListeners

      @Accessor(qualifier="listeners", type=SETTER) public void setListeners(List<String> value)
      Generated method - Setter of SnIndexType.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 SnIndexType.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 SnIndexType.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
    • setSites

      @Accessor(qualifier="sites", type=SETTER) public void setSites(List<BaseSiteModel> value)
      Generated method - Setter of SnIndexType.sites attribute defined at extension commerceservices.
      Parameters:
      value - the sites
    • setStores

      @Accessor(qualifier="stores", type=SETTER) public void setStores(List<BaseStoreModel> value)
      Generated method - Setter of SnIndexType.stores attribute defined at extension commerceservices.
      Parameters:
      value - the stores