Interface UrlEncodingAttributeManager
-
- All Known Implementing Classes:
AbstractUrlEncodingAttributeManager
,DefaultCurrencyAttributeManager
,DefaultLanguageAttributeManager
,DefaultStoreFrontAttributeManager
public interface UrlEncodingAttributeManager
Interface for UrlEncodingAttributeManagers. The concrete implementation is injected intoDefaultUrlEncoderService
as a map. The kep of the map should exactly match the name of the urlEncodingAttribute configured in the CMSSiteModel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
getAllAvailableValues()
Get all the possible/available values for a particular attribute.java.lang.String
getAttributeValueForEmail(BusinessProcessModel businessProcessModel)
Returns the value for the attributejava.lang.String
getCurrentValue()
Returns the current value for the attributejava.lang.String
getDefaultValue()
Returns the default value for the attributeboolean
isValid(java.lang.String value)
Checks if the given value is present in it's list of available values.void
updateAndSyncForAttrChange(java.lang.String value)
Update the store/site for the given value.
-
-
-
Method Detail
-
getAllAvailableValues
java.util.Collection<java.lang.String> getAllAvailableValues()
Get all the possible/available values for a particular attribute.- Returns:
- List of
-
isValid
boolean isValid(java.lang.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(java.lang.String value)
Update the store/site for the given value.- Parameters:
value
- to be updated
-
getDefaultValue
java.lang.String getDefaultValue()
Returns the default value for the attribute- Returns:
- - defaultvalue for the attribute
-
getCurrentValue
java.lang.String getCurrentValue()
Returns the current value for the attribute- Returns:
- - current value
-
getAttributeValueForEmail
java.lang.String getAttributeValueForEmail(BusinessProcessModel businessProcessModel)
Returns the value for the attribute- Parameters:
businessProcessModel
-- Returns:
- - value for the attribute
-
-