org.riotfamily.pages.riot.command
Class PageCommandUtils
java.lang.Object
org.riotfamily.pages.riot.command.PageCommandUtils
public final class PageCommandUtils
- extends Object
- Since:
- 6.5
- Author:
- Felix Gnass [fgnass at neteye dot de]
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPage
public static Page getPage(CommandContext context)
getSite
public static Site getSite(CommandContext context)
getParentSite
public static Site getParentSite(CommandContext context)
- If the parent cannot be determined the return will be
null.
isMasterLocale
public static boolean isMasterLocale(CommandContext context)
isMasterLocaleList
public static boolean isMasterLocaleList(CommandContext context)
hasTranslation
public static boolean hasTranslation(CommandContext context)
isLocalPage
public static boolean isLocalPage(CommandContext context)
isSystemPage
public static boolean isSystemPage(CommandContext context)