|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bemoko.live.platform.mwc.sites.SiteUtils
public class SiteUtils
| Field Summary | |
|---|---|
protected static Log |
log
|
| Constructor Summary | |
|---|---|
SiteUtils()
|
|
| Method Summary | |
|---|---|
static String |
createFullSiteName(String... siteNames)
Create full site name from an array of site and subsite names |
static String |
getAddonName(String siteName,
String relativeAddonName)
|
static String |
getChildSiteName(String siteName,
String relativeChildSiteName)
Get the full child site name from site name and the relative child site name, e.g. |
static String |
getContainingSiteName(String siteName)
Deprecated. As of 1.8 use SiteNaming |
LiveExpressionManager |
getExpressionManager()
|
static String |
getLinkedSiteName(String siteName,
String relativeChildSiteName)
|
static String |
getPath(String siteName)
Get the path to the site (or sub-site) relative from the site location root, e.g. |
static String |
getPathWithoutLeadingSlash(String siteName)
Deprecated. please use getPath |
static String |
getRelativePath(String siteName)
Get the path to the site relative to the container, e.g. |
static String |
getRelativeSiteName(String siteName)
Deprecated. As of 1.8 use SiteNaming |
static String |
getSiteNameFromSubsitePath(String sitePath)
e.g. |
static String |
getSiteNameWithInheritance(String siteName)
Deprecated. As of 1.8 use SiteNaming |
static String |
getSiteNameWithoutInheritance(String siteName)
Deprecated. As of 1.8 use SiteNaming |
boolean |
isTemplatable(InteractionContext interaction,
String contentType)
|
boolean |
isTweakable(InteractionContext interaction,
String contentType)
Is the content tweakable |
void |
setExpressionManager(LiveExpressionManager expressionManager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Log log
| Constructor Detail |
|---|
public SiteUtils()
| Method Detail |
|---|
public void setExpressionManager(LiveExpressionManager expressionManager)
public LiveExpressionManager getExpressionManager()
public boolean isTemplatable(InteractionContext interaction,
String contentType)
public boolean isTweakable(InteractionContext interaction,
String contentType)
interaction - contentType -
@Deprecated public static String getContainingSiteName(String siteName)
SiteNaming
SiteNaming.getContainingSiteName()
siteName -
@Deprecated public static String getRelativeSiteName(String siteName)
SiteNaming
SiteNaming.getRelativeName()
siteName -
@Deprecated public static String getSiteNameWithInheritance(String siteName)
SiteNaming
SiteNaming.getSiteNameWithInheritance()
siteName -
@Deprecated public static String getSiteNameWithoutInheritance(String siteName)
SiteNaming
siteName -
@Deprecated public static String getPathWithoutLeadingSlash(String siteName)
siteName -
public static String getPath(String siteName)
siteName -
public static String getRelativePath(String siteName)
siteName -
public static String getChildSiteName(String siteName,
String relativeChildSiteName)
siteName - relativeChildSiteName -
public static String getLinkedSiteName(String siteName,
String relativeChildSiteName)
public static String getAddonName(String siteName,
String relativeAddonName)
public static String getSiteNameFromSubsitePath(String sitePath)
sitePath -
public static String createFullSiteName(String... siteNames)
siteNames -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||