public interface ProductCatalogData
Modifier and Type | Method and Description |
---|---|
default ProductData |
get(ProductProjectionType productProjectionType) |
ProductData |
getCurrent()
The current data of the product.
|
ProductData |
getCurrentUnsafe()
The current data of the product.
|
ProductData |
getStaged() |
Boolean |
hasStagedChanges() |
Boolean |
isPublished() |
Boolean isPublished()
Boolean hasStagedChanges()
@Nullable ProductData getCurrent()
to access current data even if product catalog is not "published"
@Nullable ProductData getCurrentUnsafe()
to access current data in a safer way
ProductData getStaged()
@Nullable default ProductData get(ProductProjectionType productProjectionType)