Class AbstractCreateUpdateATPCOServiceStrategy
java.lang.Object
de.hybris.platform.unifieduibackofficeservices.strategies.impl.AbstractCreateUpdateATPCOServiceStrategy
- Direct Known Subclasses:
DefaultUnifiedUICreateUpdateATPCOBaggageCarryOnServiceStrategy,DefaultUnifiedUICreateUpdateATPCOBaggageStrategy,DefaultUnifiedUICreateUpdateATPCOCarryOnAllowanceStrategy,DefaultUnifiedUICreateUpdateATPCOServiceStrategy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.category.CategoryServiceGets category service.protected de.hybris.platform.servicelayer.model.ModelServiceGets model service.protected List<CategoryModel>getOfferGroupByShoppingCategoryReferenceAndCatalogVersion(String shoppingCategoryReference, CatalogVersionModel catalogVersion) Gets offer groups by shopping category reference and catalog version.protected PROSOfferGroupServiceGets pros offer group service.protected StringgetServiceKey(AncillaryProduct ancillaryProduct) Creates the service key based on carriers, service code and service typevoidsetCategoryService(de.hybris.platform.category.CategoryService categoryService) Sets category service.voidsetModelService(de.hybris.platform.servicelayer.model.ModelService modelService) Sets model service.voidsetProsOfferGroupService(PROSOfferGroupService prosOfferGroupService) Sets pros offer group service.
-
Field Details
-
CODE_CHARACTER_UNDERSCORE
- See Also:
-
DEFAULT_REISSUE_TYPE
- See Also:
-
-
Constructor Details
-
AbstractCreateUpdateATPCOServiceStrategy
public AbstractCreateUpdateATPCOServiceStrategy()
-
-
Method Details
-
getOfferGroupByShoppingCategoryReferenceAndCatalogVersion
protected List<CategoryModel> getOfferGroupByShoppingCategoryReferenceAndCatalogVersion(String shoppingCategoryReference, CatalogVersionModel catalogVersion) Gets offer groups by shopping category reference and catalog version.- Parameters:
shoppingCategoryReference- the shopping category referencecatalogVersion- the catalog version- Returns:
- the offer group by shopping category reference and catalog version
-
getServiceKey
Creates the service key based on carriers, service code and service type- Parameters:
ancillaryProduct- the ancillary product- Returns:
- returns the serviceKey
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()Gets model service.- Returns:
- the model service
-
setModelService
public void setModelService(de.hybris.platform.servicelayer.model.ModelService modelService) Sets model service.- Parameters:
modelService- the model service
-
getProsOfferGroupService
Gets pros offer group service.- Returns:
- the pros offer group service
-
setProsOfferGroupService
Sets pros offer group service.- Parameters:
prosOfferGroupService- the pros offer group service
-
getCategoryService
protected de.hybris.platform.category.CategoryService getCategoryService()Gets category service.- Returns:
- the category service
-
setCategoryService
public void setCategoryService(de.hybris.platform.category.CategoryService categoryService) Sets category service.- Parameters:
categoryService- the category service
-