Class DefaultLanguageAttributeManager
- java.lang.Object
-
- de.hybris.platform.acceleratorservices.urlencoder.attributes.impl.AbstractUrlEncodingAttributeManager
-
- de.hybris.platform.acceleratorservices.urlencoder.attributes.impl.DefaultLanguageAttributeManager
-
- All Implemented Interfaces:
UrlEncodingAttributeManager
public class DefaultLanguageAttributeManager extends AbstractUrlEncodingAttributeManager
Default implementation for language attribute handler. This changes the store language if language is included as one of the encoding attribute.
-
-
Constructor Summary
Constructors Constructor Description DefaultLanguageAttributeManager()
-
Method Summary
All Methods Instance Methods Concrete 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.StringgetAttributeValueForEmail(BusinessProcessModel businessProcessModel)Returns the value for the attributejava.lang.StringgetCurrentValue()Returns the current value for the attributejava.lang.StringgetDefaultValue()Returns the default value for the attributevoidupdateAndSyncForAttrChange(java.lang.String value)Update the store/site for the given value.-
Methods inherited from class de.hybris.platform.acceleratorservices.urlencoder.attributes.impl.AbstractUrlEncodingAttributeManager
getCmsSiteService, getCommerceCommonI18NService, getSessionService, getStoreSessionService, isValid, setCmsSiteService, setCommerceCommonI18NService, setSessionService, setStoreSessionService
-
-
-
-
Method Detail
-
getAllAvailableValues
public java.util.Collection<java.lang.String> getAllAvailableValues()
Description copied from interface:UrlEncodingAttributeManagerGet all the possible/available values for a particular attribute.- Returns:
- List of
-
updateAndSyncForAttrChange
public void updateAndSyncForAttrChange(java.lang.String value)
Description copied from interface:UrlEncodingAttributeManagerUpdate the store/site for the given value.- Parameters:
value- to be updated
-
getDefaultValue
public java.lang.String getDefaultValue()
Description copied from interface:UrlEncodingAttributeManagerReturns the default value for the attribute- Returns:
- - defaultvalue for the attribute
-
getCurrentValue
public java.lang.String getCurrentValue()
Description copied from interface:UrlEncodingAttributeManagerReturns the current value for the attribute- Returns:
- - current value
-
getAttributeValueForEmail
public java.lang.String getAttributeValueForEmail(BusinessProcessModel businessProcessModel)
Description copied from interface:UrlEncodingAttributeManagerReturns the value for the attribute- Returns:
- - value for the attribute
-
-