java.lang.Object
com.broadleafcommerce.search.core.provider.jpa.domain.JpaRelevancyRule
All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, com.broadleafcommerce.data.tracking.core.CatalogTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>, com.broadleafcommerce.data.tracking.core.filtering.ActiveAware, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.Trackable, com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>, com.broadleafcommerce.translation.domain.Translatable, Serializable

@Entity public class JpaRelevancyRule extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.CatalogTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.translation.domain.Translatable, com.broadleafcommerce.data.tracking.core.filtering.ActiveAware
See Also:
  • Constructor Details

    • JpaRelevancyRule

      public JpaRelevancyRule()
  • Method Details

    • fromMe

      public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • get_id

      public String get_id()
    • getContextId

      public String getContextId()
      Specified by:
      getContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
      Specified by:
      getContextId in interface com.broadleafcommerce.translation.domain.Translatable
      See Also:
      • RelevancyRule.getId()
    • getName

      public String getName()
      See Also:
      • RelevancyRule.getName()
    • getFieldDefinitionId

      public String getFieldDefinitionId()
      See Also:
      • RelevancyRule.getFieldDefinitionId()
    • getFieldIndexableType

      public String getFieldIndexableType()
      See Also:
      • RelevancyRule.getFieldIndexableType()
    • getVariantType

      public String getVariantType()
      See Also:
      • RelevancyRule.getVariantType()
    • getActiveStartDate

      public Instant getActiveStartDate()
      Specified by:
      getActiveStartDate in interface com.broadleafcommerce.data.tracking.core.filtering.ActiveAware
      See Also:
      • RelevancyRule.getActiveStartDate()
    • getActiveEndDate

      public Instant getActiveEndDate()
      Specified by:
      getActiveEndDate in interface com.broadleafcommerce.data.tracking.core.filtering.ActiveAware
      See Also:
      • RelevancyRule.getActiveEndDate()
    • getRuleType

      public String getRuleType()
      See Also:
      • RelevancyRule.getRuleType()
    • getBoost

      public Double getBoost()
      See Also:
      • RelevancyRule.getBoost()
    • getBoostRule

      public String getBoostRule()
      See Also:
      • RelevancyRule.getBoostRule()
    • getMinimumScore

      public Double getMinimumScore()
      See Also:
      • RelevancyRule.getMinimumScore()
    • isDescending

      public boolean isDescending()
      See Also:
      • RelevancyRule.isDescending()
    • getMatchingValue

      public String getMatchingValue()
      See Also:
      • RelevancyRule.getMatchingValue()
    • isApplyMatchingValueFrequencyBoost

      public boolean isApplyMatchingValueFrequencyBoost()
      See Also:
      • RelevancyRule.isApplyMatchingValueFrequencyBoost()
    • getSearchTermMatch

      public String getSearchTermMatch()
      See Also:
      • RelevancyRule.getSearchTermMatch()
    • isSearchTermRegex

      public boolean isSearchTermRegex()
      See Also:
      • RelevancyRule.isSearchTermRegex()
    • getAttributes

      public Map<String,Object> getAttributes()
      See Also:
      • RelevancyRule.getAttributes()
    • getTracking

      public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking getTracking()
      Specified by:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
    • set_id

      public void set_id(String _id)
    • setContextId

      public void setContextId(String contextId)
      Specified by:
      setContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
      See Also:
      • RelevancyRule.getId()
    • setName

      public void setName(String name)
      See Also:
      • RelevancyRule.getName()
    • setFieldDefinitionId

      public void setFieldDefinitionId(String fieldDefinitionId)
      See Also:
      • RelevancyRule.getFieldDefinitionId()
    • setFieldIndexableType

      public void setFieldIndexableType(String fieldIndexableType)
      See Also:
      • RelevancyRule.getFieldIndexableType()
    • setVariantType

      public void setVariantType(String variantType)
      See Also:
      • RelevancyRule.getVariantType()
    • setActiveStartDate

      public void setActiveStartDate(Instant activeStartDate)
      See Also:
      • RelevancyRule.getActiveStartDate()
    • setActiveEndDate

      public void setActiveEndDate(Instant activeEndDate)
      See Also:
      • RelevancyRule.getActiveEndDate()
    • setRuleType

      public void setRuleType(String ruleType)
      See Also:
      • RelevancyRule.getRuleType()
    • setBoost

      public void setBoost(Double boost)
      See Also:
      • RelevancyRule.getBoost()
    • setBoostRule

      public void setBoostRule(String boostRule)
      See Also:
      • RelevancyRule.getBoostRule()
    • setMinimumScore

      public void setMinimumScore(Double minimumScore)
      See Also:
      • RelevancyRule.getMinimumScore()
    • setDescending

      public void setDescending(boolean descending)
      See Also:
      • RelevancyRule.isDescending()
    • setMatchingValue

      public void setMatchingValue(String matchingValue)
      See Also:
      • RelevancyRule.getMatchingValue()
    • setApplyMatchingValueFrequencyBoost

      public void setApplyMatchingValueFrequencyBoost(boolean applyMatchingValueFrequencyBoost)
      See Also:
      • RelevancyRule.isApplyMatchingValueFrequencyBoost()
    • setSearchTermMatch

      public void setSearchTermMatch(String searchTermMatch)
      See Also:
      • RelevancyRule.getSearchTermMatch()
    • setSearchTermRegex

      public void setSearchTermRegex(boolean searchTermRegex)
      See Also:
      • RelevancyRule.isSearchTermRegex()
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      See Also:
      • RelevancyRule.getAttributes()
    • setTracking

      public void setTracking(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CatalogJpaTracking>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object