public abstract class LiferayPortletHelperFactory extends Object implements javax.faces.FacesWrapper<LiferayPortletHelperFactory>
Constructor and Description |
---|
LiferayPortletHelperFactory() |
Modifier and Type | Method and Description |
---|---|
abstract LiferayPortletHelper |
getLiferayPortletHelper()
Returns a stateless, thread-safe singleton instance of
LiferayPortletHelper . |
static LiferayPortletHelper |
getLiferayPortletHelperInstance()
Deprecated.
Call
getLiferayPortletHelperInstance(ExternalContext) instead.
Returns a stateless, thread-safe singleton instance of |
static LiferayPortletHelper |
getLiferayPortletHelperInstance(javax.faces.context.ExternalContext externalContext)
Returns a stateless, thread-safe singleton instance of
LiferayPortletHelper from the LiferayPortletHelperFactory found by the FactoryExtensionFinder . |
abstract LiferayPortletHelperFactory |
getWrapped()
Returns the wrapped factory instance if this factory has been decorated.
|
@Deprecated public static LiferayPortletHelper getLiferayPortletHelperInstance()
getLiferayPortletHelperInstance(ExternalContext)
instead.
Returns a stateless, thread-safe singleton instance of LiferayPortletHelper
from the
LiferayPortletHelperFactory
found by the FactoryExtensionFinder
.
public static LiferayPortletHelper getLiferayPortletHelperInstance(javax.faces.context.ExternalContext externalContext)
LiferayPortletHelper
from the LiferayPortletHelperFactory
found by the FactoryExtensionFinder
.externalContext
- The external context associated with the current faces context. It is needed in order
for the FactoryExtensionFinder
to be able to find the factory.public abstract LiferayPortletHelper getLiferayPortletHelper()
LiferayPortletHelper
.public abstract LiferayPortletHelperFactory getWrapped()
getWrapped
in interface javax.faces.FacesWrapper<LiferayPortletHelperFactory>
Copyright © 2022 Liferay, Inc.. All rights reserved.