org.riotfamily.pages.view
Class PageFacade
java.lang.Object
org.riotfamily.pages.view.PageFacade
public class PageFacade
- extends Object
- Since:
- 6.5
- Author:
- Felix Gnass [fgnass at neteye dot de]
TITLE_PROPERTY
public static final String TITLE_PROPERTY
- See Also:
- Constant Field Values
PageFacade
public PageFacade(Page page,
HttpServletRequest request,
PathCompleter pathCompleter)
getId
public Long getId()
getNode
public PageNode getNode()
getSite
public Site getSite()
getLocale
public Locale getLocale()
getCreationDate
public Date getCreationDate()
getPathComponent
public String getPathComponent()
isHidden
public boolean isHidden()
isFolder
public boolean isFolder()
getPath
public String getPath()
getUrl
public String getUrl()
getWildcardUrl
public String getWildcardUrl(Object attributes)
getAbsoluteUrl
public String getAbsoluteUrl()
getAbsoluteWildcardUrl
public String getAbsoluteWildcardUrl(Object attributes)
getSecureUrl
public String getSecureUrl()
getSecureWildcardUrl
public String getSecureWildcardUrl(Object attributes)
getLocalPage
public Page getLocalPage()
getMasterPage
public Page getMasterPage()
isWildcard
public boolean isWildcard()
isWildcardInPath
public boolean isWildcardInPath()
getParent
public Page getParent()
getChildPages
public Collection<Page> getChildPages()
getSiblings
public List<Page> getSiblings()
getPreviousSibling
public Page getPreviousSibling()
getNextSibling
public Page getNextSibling()
getAncestors
public Collection<Page> getAncestors()
findPropertyInAncestors
public Object findPropertyInAncestors(String key)
getPageType
public String getPageType()
getContentId
public Long getContentId()
getPageProperties
public PageProperties getPageProperties()
getProperties
public Map<String,Object> getProperties()
get
public Object get(String key)
- See Also:
http://freemarker.org/docs/api/freemarker/ext/beans/BeanModel.html#get(java.lang.String)
getLocal
public Map<String,Object> getLocal()
getTitle
public String getTitle()
isPublished
public boolean isPublished()
isVisible
public boolean isVisible()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object