Package de.hybris.platform.catalog.impl
Class CatalogUtils
- java.lang.Object
-
- de.hybris.platform.catalog.impl.CatalogUtils
-
public final class CatalogUtils extends java.lang.ObjectSome helper methods for the catalog service.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetCatalogVersionsString(java.util.Collection<CatalogVersionModel> catalogVersions)Returns for the given collection ofCatalogVersionModels thegetFullCatalogVersionName(CatalogVersionModel)of each element, separated by ','static java.lang.StringgetFullCatalogVersionName(CatalogVersionModel catalogVersion)Returns the full qualified catalog/catalogversion name.
-
-
-
Method Detail
-
getFullCatalogVersionName
public static java.lang.String getFullCatalogVersionName(CatalogVersionModel catalogVersion)
Returns the full qualified catalog/catalogversion name.- Parameters:
catalogVersion- the catalog version- Returns:
- as String: CatalogID.CatalogVersion
- Throws:
java.lang.IllegalArgumentException- ifcatalogVersionis null.
-
getCatalogVersionsString
public static java.lang.String getCatalogVersionsString(java.util.Collection<CatalogVersionModel> catalogVersions)
Returns for the given collection ofCatalogVersionModels thegetFullCatalogVersionName(CatalogVersionModel)of each element, separated by ','- Parameters:
catalogVersions- the collection with the catalog versions- Returns:
- an empty string if the collection contains nothing.
- Throws:
java.lang.IllegalArgumentException- ifcatalogVersionsis null.
-
-