@ProviderType public abstract class ProductFactory extends Object implements javax.faces.FacesWrapper<ProductFactory>
| Constructor and Description |
|---|
ProductFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Product |
getProduct(Product.Name productName)
Deprecated.
|
Product |
getProductImplementation(Product.Name productName)
Deprecated.
|
abstract Product |
getProductInfo(Product.Name productName)
Returns the thread-safe singleton instance of
Product associated with the specified Product.Name. |
static Product |
getProductInstance(javax.faces.context.ExternalContext externalContext,
Product.Name productName)
Returns the thread-safe singleton instance of
Product associated with the specified Product.Name
from the ProductFactory found by the FactoryExtensionFinder. |
abstract ProductFactory |
getWrapped() |
@Deprecated public static final Product getProduct(Product.Name productName)
getProductInstance(javax.faces.context.ExternalContext,
com.liferay.faces.util.product.Product.Name) instead.Product associated with the specified Product.Name
from the ProductFactory found by the FactoryExtensionFinder. The returned instance is not
guaranteed to be Serializable.productName - The name of the product.public static Product getProductInstance(javax.faces.context.ExternalContext externalContext, Product.Name productName)
Product associated with the specified Product.Name
from the ProductFactory found by the FactoryExtensionFinder. The returned instance is not
guaranteed to be Serializable.productName - The name of the product.public abstract Product getProductInfo(Product.Name productName)
Product associated with the specified Product.Name.
The returned instance is not guaranteed to be Serializable.productName - The name of the product.public abstract ProductFactory getWrapped()
getWrapped in interface javax.faces.FacesWrapper<ProductFactory>@Deprecated public Product getProductImplementation(Product.Name productName)
getProductInfo(com.liferay.faces.util.product.Product.Name) instead.Product associated with the specified Product.Name.
The returned instance is not guaranteed to be Serializable.productName - Copyright © 2020 Liferay, Inc.. All rights reserved.