Package com.hybris.backoffice.variants
Class DefaultBackofficeVariantsService
java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.product.impl.DefaultVariantsService
com.hybris.backoffice.variants.DefaultBackofficeVariantsService
- All Implemented Interfaces:
BackofficeVariantsService,VariantsService,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
public class DefaultBackofficeVariantsService
extends DefaultVariantsService
implements BackofficeVariantsService
Extension of
DefaultVariantsService with default implementation of BackofficeVariantsService- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
AbstractService.SerializableDTO -
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
modelService, sessionService, txManagerFields inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLocalizedVariantAttributeValue(VariantProductModel variant, String qualifier) Gets values for all Locales, for given localized variant attribute.voidsetCommonI18NService(CommonI18NService commonI18NService) voidsetLocalizedVariantAttributeValue(VariantProductModel variantProductModel, String qualifier, Map<Locale, Object> localizedValues) Sets values for all Locales, for given localized variant attribute.voidsetUserService(UserService userService) voidsetVariantService(VariantsService variantService) Methods inherited from class de.hybris.platform.product.impl.DefaultVariantsService
getAllVariantTypes, getAssignedVariantAttributes, getVariantAttributes, getVariantAttributesForVariantType, getVariantAttributeValue, getVariantProductForAttributeValues, getVariantTypeForCode, setTypeService, setVariantAttributesForVariantType, setVariantAttributeValue, setVariantTypeDaoMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerMethods inherited from class de.hybris.platform.servicelayer.internal.service.AbstractService
afterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, writeReplaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.product.VariantsService
getAllVariantTypes, getAssignedVariantAttributes, getVariantAttributes, getVariantAttributesForVariantType, getVariantAttributeValue, getVariantProductForAttributeValues, getVariantTypeForCode, setVariantAttributesForVariantType, setVariantAttributeValue
-
Constructor Details
-
DefaultBackofficeVariantsService
public DefaultBackofficeVariantsService()
-
-
Method Details
-
getLocalizedVariantAttributeValue
public Map<Locale,Object> getLocalizedVariantAttributeValue(VariantProductModel variant, String qualifier) Description copied from interface:BackofficeVariantsServiceGets values for all Locales, for given localized variant attribute.- Specified by:
getLocalizedVariantAttributeValuein interfaceBackofficeVariantsService- Parameters:
variant- variant product from which the values will be takenqualifier- qualifier of the attribute to get- Returns:
- map with values for all locales
-
setLocalizedVariantAttributeValue
public void setLocalizedVariantAttributeValue(VariantProductModel variantProductModel, String qualifier, Map<Locale, Object> localizedValues) Description copied from interface:BackofficeVariantsServiceSets values for all Locales, for given localized variant attribute.- Specified by:
setLocalizedVariantAttributeValuein interfaceBackofficeVariantsService- Parameters:
variantProductModel- variant product to set the values onqualifier- qualifier of the attribute to setlocalizedValues- values to set
-
getVariantService
-
setVariantService
-
getUserService
-
setUserService
-
getCommonI18NService
-
setCommonI18NService
-