org.riotfamily.pages.dao
Class PageValidationUtils
java.lang.Object
org.riotfamily.pages.dao.PageValidationUtils
public final class PageValidationUtils
- extends Object
- Since:
- 6.5
- Author:
- Carsten Woelk [cwoelk at neteye dot de]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isValidChild
public static boolean isValidChild(PageNode node,
Page page)
isTranslatable
public static boolean isTranslatable(Page page,
Site targetSite)
containsPathComponent
public static boolean containsPathComponent(Collection<Page> pages,
String pathComponent)
getSiblings
public static Collection<Page> getSiblings(Page page,
Site site)
- Returns all siblings of the page in the given site. If the site is
identical to the page's site, the page itself will be contained too.