Class AbstractCreateUpdateRemoveServiceStrategy
java.lang.Object
de.hybris.platform.unifieduibackofficeservices.strategies.impl.AbstractCreateUpdateRemoveServiceStrategy
- Direct Known Subclasses:
DefaultUnifiedUICreateUpdateRemoveBaggageCarryOnServiceStrategy,DefaultUnifiedUICreateUpdateRemoveBaggageStrategy,DefaultUnifiedUICreateUpdateRemoveCarryOnAllowanceStrategy,DefaultUnifiedUICreateUpdateRemoveNonATPCOServiceStrategy
-
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 PROSTravelAncillaryServiceGets pros travel ancillary service.protected StringgetServiceKey(List<String> carriers, String serviceCode, String serviceType) forms 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.voidsetProsTravelAncillaryService(PROSTravelAncillaryService prosTravelAncillaryService) Sets pros travel ancillary service.
-
Field Details
-
CODE_CHARACTER_UNDERSCORE
- See Also:
-
-
Constructor Details
-
AbstractCreateUpdateRemoveServiceStrategy
public AbstractCreateUpdateRemoveServiceStrategy()
-
-
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
forms the service key based on carriers, service code and service type- Parameters:
carriers- the list of carrierserviceCode- the service codeserviceType- the service type- 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
-
getProsTravelAncillaryService
Gets pros travel ancillary service.- Returns:
- the pros travel ancillary service
-
setProsTravelAncillaryService
Sets pros travel ancillary service.- Parameters:
prosTravelAncillaryService- the pros travel ancillary service
-