Class AbstractServiceImpl
java.lang.Object
de.hybris.platform.cockpit.services.impl.AbstractServiceImpl
- Direct Known Subclasses:
CatalogServiceImpl,CmsCockpitServiceImpl,ConnectedItemServiceImpl,DefaultCockpitCommentService,DefaultObjectCompareService,DefaultReportsService,DefaultUIAccessRightService,DefaultUIConfigurationService,DynamicQueryServiceImpl,FavoriteCategoryServiceImpl,LoginServiceImpl,NewItemServiceImpl,ObjectCollectionServiceImpl,PropertyBasedService,SavedQueryServiceImpl,SavedValuesServiceImpl,SynchronizationServiceImpl,SystemServiceImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFetches a specified enumeration value and wraps it.Fetches and maps all enum values of a given enumeration type.protected StringgetLocalizedLabel(String key) Return the localized label for the given key.protected StringgetLocalizedLabel(String key, Object[] args) Return the localized label for the given key.voidsetCockpitTypeService(TypeService typeService) voidsetLabelResolver(I3LabelResolver labelResolver) Allows to set a LabelResolver, especially for testing without zk environment.voidsetModelService(ModelService modelService)
-
Field Details
-
typeService
-
modelService
-
-
Constructor Details
-
AbstractServiceImpl
public AbstractServiceImpl()
-
-
Method Details
-
getLocalizedLabel
Return the localized label for the given key. If no labelResolver is set bysetLabelResolver(I3LabelResolver),Labels.getLabel(String)is called. -
getLocalizedLabel
Return the localized label for the given key. If no labelResolver is set bysetLabelResolver(I3LabelResolver),Labels.getLabel(String, Object[])is called. -
setLabelResolver
Allows to set a LabelResolver, especially for testing without zk environment. -
getEnums
Fetches and maps all enum values of a given enumeration type.- Parameters:
type- the code of the enumeration type
-
getEnum
Fetches a specified enumeration value and wraps it.- Parameters:
type- the enumeration typecode- the value code
-
setCockpitTypeService
-
getTypeService
-
setModelService
-
getModelService
-