public class WidgetDefinitionCache
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copy right field.
|
| Constructor and Description |
|---|
WidgetDefinitionCache() |
| Modifier and Type | Method and Description |
|---|---|
static com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType |
getWidgetDefinition(java.lang.Long widgetDefinitionUniqueID,
java.lang.Integer storeId,
java.lang.String accessProfile)
This method retrieves the widget definition based on the widget definition unique ID
specified and store id.
|
static com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType |
getWidgetDefinition(java.lang.String widgetDefinitionIdentifier,
java.lang.Integer storeId,
java.lang.String accessProfile)
This method retrieves the widget definition based on the identifier and
store specified.
|
static boolean |
isCachingEnabledForAccessProfile(java.lang.String accessProfile)
This method checks if caching is enabled for the access profile
specified.
|
public static final java.lang.String COPYRIGHT
public static com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType getWidgetDefinition(java.lang.Long widgetDefinitionUniqueID,
java.lang.Integer storeId,
java.lang.String accessProfile)
throws PageLayoutApplicationException
widgetDefinitionUniqueID - The widget definition's unique IDstoreId - The store id. If store id is not specified, the store id in current context will be used.accessProfile - The access profile to use while fetching the nounPageLayoutApplicationException - When retrieval from the data cache fails.public static boolean isCachingEnabledForAccessProfile(java.lang.String accessProfile)
CachedAccessProfilesForWidgetDefinition extended
configuration.accessProfile - The access profile to checkpublic static com.ibm.commerce.pagelayout.facade.datatypes.WidgetDefinitionType getWidgetDefinition(java.lang.String widgetDefinitionIdentifier,
java.lang.Integer storeId,
java.lang.String accessProfile)
throws PageLayoutApplicationException
ECConstants.EC_STRELTYP_VIEW.widgetDefinitionIdentifier - The widget definition's identifier.storeId - The store IdaccessProfile - The access profile to use for fetching the noun.PageLayoutApplicationException - When the data retrieval from the cache fails.