Class DefaultABTestService
java.lang.Object
de.hybris.platform.servicelayer.internal.service.AbstractService
de.hybris.platform.servicelayer.internal.service.AbstractBusinessService
de.hybris.platform.cms2.servicelayer.services.impl.AbstractCMSService
de.hybris.platform.cms2.servicelayer.services.impl.DefaultABTestService
- All Implemented Interfaces:
ABTestService,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
Default implementation of
ABTestService interface.- 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.cms2.servicelayer.services.impl.AbstractCMSService
CURRENTCATALOGVERSION, CURRENTSITEFields 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 TypeMethodDescriptionprotected intgetRandFromSession(ABTestCMSComponentContainerModel container, int size) Gets the randomSimpleCMSComponentobject.Gets the list of randomSimpleCMSComponentobjects.Methods inherited from class de.hybris.platform.cms2.servicelayer.services.impl.AbstractCMSService
getBaseSiteService, getCurrentCatalogVersion, getCurrentSite, getSearchRestrictionService, getUserService, setBaseSiteService, setSearchRestrictionService, setUserServiceMethods 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, writeReplace
-
Constructor Details
-
DefaultABTestService
public DefaultABTestService()
-
-
Method Details
-
getRandomCmsComponent
Gets the randomSimpleCMSComponentobject.- Specified by:
getRandomCmsComponentin interfaceABTestService- Parameters:
container- theABTestCMSComponentContainerModelobject for which random object will be obtained.- Returns:
- the random
SimpleCMSComponentModelobject.
-
getRandomCMSComponents
public List<SimpleCMSComponentModel> getRandomCMSComponents(ABTestCMSComponentContainerModel container) Gets the list of randomSimpleCMSComponentobjects.- Specified by:
getRandomCMSComponentsin interfaceABTestService- Parameters:
container- theABTestCMSComponentContainerModelobject for which list will be obtained.- Returns:
- the list of random
SimpleCMSComponentModelobjects.
-
getRandFromSession
-