final class CategoryServiceEP6Rest extends java.lang.Object implements CategoryService
Modifier and Type | Field and Description |
---|---|
private org.springframework.core.convert.converter.Converter<java.util.List<Link>,java.util.List<Link>> |
converter |
private InvocationBuilderFactory |
invocationBuilderFactory |
Constructor and Description |
---|
CategoryServiceEP6Rest(InvocationBuilderFactory invocationBuilderFactory,
org.springframework.core.convert.converter.Converter<java.util.List<Link>,java.util.List<Link>> converter) |
Modifier and Type | Method and Description |
---|---|
private void |
cleanupHtml(Category category,
java.lang.String baseUri) |
private void |
convertLinks(Category result) |
private <T> T |
doRestCall(javax.ws.rs.client.Invocation invocation,
java.lang.Class<T> class1) |
Category |
getCategory(ShopRequestContext ctx,
GUID categoryGUID) |
Category |
getRootCategory(ShopRequestContext ctx) |
private final InvocationBuilderFactory invocationBuilderFactory
@Inject public CategoryServiceEP6Rest(InvocationBuilderFactory invocationBuilderFactory, org.springframework.core.convert.converter.Converter<java.util.List<Link>,java.util.List<Link>> converter)
public Category getRootCategory(ShopRequestContext ctx)
getRootCategory
in interface CategoryService
public Category getCategory(ShopRequestContext ctx, GUID categoryGUID)
getCategory
in interface CategoryService
private <T> T doRestCall(javax.ws.rs.client.Invocation invocation, java.lang.Class<T> class1)
private void cleanupHtml(Category category, java.lang.String baseUri)
private void convertLinks(Category result)