public class CatalogsController extends BaseController
DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, HEADER_TOTAL_COUNT| Constructor and Description |
|---|
CatalogsController() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
countRecurrecyLevel(java.util.List<CatalogData> catalogDataList) |
protected int |
countRecurrencyForCatalogData(CatalogData catalog) |
protected int |
countRecurrencyForCatalogVersionData(CatalogVersionData catalogVersion) |
protected int |
countRecurrencyForCategoryHierarchyData(int currentValue,
CategoryHierarchyData hierarchy) |
CatalogWsDTO |
getCatalog(java.lang.String catalogId,
java.lang.String fields)
Returns a information about a catalog based on its ID, along with versions defined for the current base store.
|
CatalogListWsDTO |
getCatalogs(java.lang.String fields)
Returns all catalogs with versions defined for the base store.
|
CatalogVersionWsDTO |
getCatalogVersion(java.lang.String catalogId,
java.lang.String catalogVersionId,
java.lang.String fields)
Returns information about catalog version that exists for the current base store.
|
CategoryHierarchyWsDTO |
getCategories(java.lang.String catalogId,
java.lang.String catalogVersionId,
java.lang.String categoryId,
java.lang.String fields)
Returns information about category that exists in a catalog version available for the current base store.
|
protected static java.util.Set<CatalogOption> |
getOptions() |
addPaginationField, getDataMapper, handleErrorInternal, handleModelNotFoundException, logParam, logParam, logParam, logValue, sanitize, setDataMapper, setTotalCountHeader, setTotalCountHeader, validatepublic CatalogListWsDTO getCatalogs(java.lang.String fields)
public CatalogWsDTO getCatalog(java.lang.String catalogId, java.lang.String fields)
public CatalogVersionWsDTO getCatalogVersion(java.lang.String catalogId, java.lang.String catalogVersionId, java.lang.String fields)
public CategoryHierarchyWsDTO getCategories(java.lang.String catalogId, java.lang.String catalogVersionId, java.lang.String categoryId, java.lang.String fields)
protected static java.util.Set<CatalogOption> getOptions()
protected int countRecurrecyLevel(java.util.List<CatalogData> catalogDataList)
protected int countRecurrencyForCatalogData(CatalogData catalog)
protected int countRecurrencyForCatalogVersionData(CatalogVersionData catalogVersion)
protected int countRecurrencyForCategoryHierarchyData(int currentValue,
CategoryHierarchyData hierarchy)
Copyright © 2017 SAP SE. All Rights Reserved.