public class MarketingUtilCatalog
extends java.lang.Object
| Constructor and Description |
|---|
MarketingUtilCatalog() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.util.LinkedList> |
findParentBreadcrumbCatgroups(java.util.List<java.util.LinkedList> listOfBreadcrumbs,
java.lang.Long catalogId)
This method returns the parent categories of a list of categories.
|
static java.util.List |
findParentCatgroups(long categoryId,
java.util.List categoryList,
java.util.List listToMatch)
This method returns the parent categories of a category.
|
static java.util.List<java.util.LinkedList> |
getParentBreadcrumbs(java.lang.Long catentryId,
java.lang.Long catalogId)
This method gets the parents catalog groups of the specified catalog entry
(product or item).
|
static java.util.List |
getParentCategories(java.lang.Long catentryId,
java.util.List listToMatch)
This method gets the parents catalog groups of the specified catalog entry (product or item).
|
static java.util.List<java.util.LinkedList> |
getParentCatgroupBreadcrumbs(java.lang.Long catgroupId,
java.lang.Long catalogId)
This method gets the parents catalog groups of the specified catalog group
(category).
|
public static java.util.List getParentCategories(java.lang.Long catentryId,
java.util.List listToMatch)
catentryId - The catalog entry ID.listToMatch - The list of categories to match against.public static java.util.List findParentCatgroups(long categoryId,
java.util.List categoryList,
java.util.List listToMatch)
throws java.lang.Exception
categoryId - The category ID.categoryList - The current list of categories.listToMatch - The list of categories to match against.java.lang.Exceptionpublic static java.util.List<java.util.LinkedList> getParentBreadcrumbs(java.lang.Long catentryId,
java.lang.Long catalogId)
catentryId - The catalog entry ID.catalogId - The catalog unique ID to limit search to.public static java.util.List<java.util.LinkedList> getParentCatgroupBreadcrumbs(java.lang.Long catgroupId,
java.lang.Long catalogId)
catgroupId - The catalog group ID.catalogId - The catalog unique ID to limit search to.public static java.util.List<java.util.LinkedList> findParentBreadcrumbCatgroups(java.util.List<java.util.LinkedList> listOfBreadcrumbs,
java.lang.Long catalogId)
throws java.lang.Exception
listOfBreadcrumbs - A list of breadcrumbs. Each breadcrumb should contain
at least 1 entry and the entry should be a valid catalog group ID. This list
is modified and returned.catalogId - The catalog unique ID to limit search to.java.lang.Exception