final class CategoryServiceDecorator extends java.lang.Object implements CategoryService
Modifier and Type | Field and Description |
---|---|
private CategoryService |
delegate |
private java.util.Set<CategoryLinkService> |
linkServices |
Constructor and Description |
---|
CategoryServiceDecorator(CategoryService delegate,
java.util.Set<CategoryLinkService> linkServices) |
Modifier and Type | Method and Description |
---|---|
private void |
addLinksTo(Category category) |
Category |
getCategory(java.lang.String shopId,
GUID categoryGUID,
java.util.Locale lang) |
Category |
getRootCategory(java.lang.String shopId,
java.util.Locale locale) |
private final CategoryService delegate
private final java.util.Set<CategoryLinkService> linkServices
@Inject public CategoryServiceDecorator(CategoryService delegate, java.util.Set<CategoryLinkService> linkServices)
public Category getRootCategory(java.lang.String shopId, java.util.Locale locale)
getRootCategory
in interface CategoryService
public Category getCategory(java.lang.String shopId, GUID categoryGUID, java.util.Locale lang)
getCategory
in interface CategoryService
private void addLinksTo(Category category)