public class LayoutCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copy right field.
|
Constructor and Description |
---|
LayoutCache() |
Modifier and Type | Method and Description |
---|---|
static com.ibm.commerce.pagelayout.facade.datatypes.LayoutType |
getDefaultLayoutByDeviceClassAndLayoutGroup(java.lang.String deviceClass,
java.lang.String layoutGroup,
java.lang.String accessProfile)
This method fetches the default layout based on the device class and
layout group specified.
|
static com.ibm.commerce.pagelayout.facade.datatypes.LayoutType |
getDefaultLayoutByDeviceClassLayoutGroupAndManagingTool(java.lang.String deviceClass,
java.lang.String layoutGroup,
java.lang.String managingTool,
java.lang.String accessProfile)
This method retrieves the default layout for a given device class, layout group and managing tool.
|
static com.ibm.commerce.pagelayout.facade.datatypes.LayoutType |
getLayoutByUniqueID(java.lang.String uniqueID,
java.lang.String accessProfile)
This method retrieves the layout based on the unique ID 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 boolean isCachingEnabledForAccessProfile(java.lang.String accessProfile)
CachedAccessProfilesForLayout
extended
configuration.accessProfile
- The access profile to checkpublic static com.ibm.commerce.pagelayout.facade.datatypes.LayoutType getLayoutByUniqueID(java.lang.String uniqueID, java.lang.String accessProfile) throws PageLayoutApplicationException
uniqueID
- The unique ID of the layout.accessProfile
- The access profile to be used while fetching the widget.PageLayoutApplicationException
- When the layout retrieval fails.public static com.ibm.commerce.pagelayout.facade.datatypes.LayoutType getDefaultLayoutByDeviceClassAndLayoutGroup(java.lang.String deviceClass, java.lang.String layoutGroup, java.lang.String accessProfile) throws PageLayoutApplicationException
deviceClass
- The device class for the layout.layoutGroup
- The layout group for the layout.accessProfile
- The access profile to be used for fetching the layout.PageLayoutApplicationException
- When the retrieval fails.public static com.ibm.commerce.pagelayout.facade.datatypes.LayoutType getDefaultLayoutByDeviceClassLayoutGroupAndManagingTool(java.lang.String deviceClass, java.lang.String layoutGroup, java.lang.String managingTool, java.lang.String accessProfile) throws PageLayoutApplicationException
deviceClass
- The device class. Cannot be null.layoutGroup
- The layout group value. Cannot be null.managingTool
- The managing tool value. Cannot be null.accessProfile
- The access profile.PageLayoutApplicationException