Interface UrlEncodingAttributeManager

All Known Implementing Classes:
AbstractUrlEncodingAttributeManager, DefaultCurrencyAttributeManager, DefaultLanguageAttributeManager, DefaultStoreFrontAttributeManager

public interface UrlEncodingAttributeManager
Interface for UrlEncodingAttributeManagers. The concrete implementation is injected into DefaultUrlEncoderService as a map. The kep of the map should exactly match the name of the urlEncodingAttribute configured in the CMSSiteModel.
  • Method Details

    • getAllAvailableValues

      Collection<String> getAllAvailableValues()
      Get all the possible/available values for a particular attribute.
      Returns:
      List of
    • isValid

      boolean isValid(String value)
      Checks if the given value is present in it's list of available values.
      Parameters:
      value - to be checked
      Returns:
      boolean value
    • updateAndSyncForAttrChange

      void updateAndSyncForAttrChange(String value)
      Update the store/site for the given value.
      Parameters:
      value - to be updated
    • getDefaultValue

      String getDefaultValue()
      Returns the default value for the attribute
      Returns:
      - defaultvalue for the attribute
    • getCurrentValue

      String getCurrentValue()
      Returns the current value for the attribute
      Returns:
      - current value
    • getAttributeValueForEmail

      String getAttributeValueForEmail(BusinessProcessModel businessProcessModel)
      Returns the value for the attribute
      Parameters:
      businessProcessModel -
      Returns:
      - value for the attribute