org.riotfamily.pages.riot.command
Class PageCommandUtils

java.lang.Object
  extended by org.riotfamily.pages.riot.command.PageCommandUtils

public final class PageCommandUtils
extends Object

Since:
6.5
Author:
Felix Gnass [fgnass at neteye dot de]

Method Summary
static Page getPage(CommandContext context)
           
static Site getParentSite(CommandContext context)
          If the parent cannot be determined the return will be null.
static Site getSite(CommandContext context)
           
static boolean hasTranslation(CommandContext context)
           
static boolean isLocalPage(CommandContext context)
           
static boolean isMasterLocale(CommandContext context)
           
static boolean isMasterLocaleList(CommandContext context)
           
static boolean isSystemPage(CommandContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)