org.riotfamily.pages.model
Class Page
java.lang.Object
org.riotfamily.pages.model.Page
public class Page
- extends Object
- Since:
- 6.5
- Author:
- Felix Gnass [fgnass at neteye dot de], Jan-Frederic Linde [jfl at neteye dot de]
TITLE_PROPERTY
@Deprecated
public static final String TITLE_PROPERTY
- Deprecated.
- See Also:
- Constant Field Values
Page
public Page()
Page
public Page(String pathComponent,
Site site)
Page
public Page(Page master,
Site site)
getId
public Long getId()
setId
public void setId(Long id)
getNode
public PageNode getNode()
setNode
public void setNode(PageNode node)
getSite
public Site getSite()
setSite
public void setSite(Site site)
getLocale
public Locale getLocale()
getCreationDate
public Date getCreationDate()
setCreationDate
public void setCreationDate(Date creationDate)
getPathComponent
public String getPathComponent()
setPathComponent
public void setPathComponent(String pathComponent)
isHidden
public boolean isHidden()
setHidden
public void setHidden(boolean hidden)
isFolder
public boolean isFolder()
- Returns whether the page only acts as container for other pages and
has no own content.
setFolder
public void setFolder(boolean folder)
getPath
public String getPath()
setPath
public void setPath(String path)
getUrl
public String getUrl(PathCompleter pathCompleter)
getUrl
public String getUrl(PathCompleter pathCompleter,
Object attributes)
getAbsoluteUrl
public String getAbsoluteUrl(PathCompleter pathCompleter,
boolean secure,
String defaultHost,
String contextPath,
Object attributes)
isWildcard
public boolean isWildcard()
isWildcardInPath
public boolean isWildcardInPath()
setWildcardInPath
public void setWildcardInPath(boolean wildcardInPath)
buildPath
public String buildPath()
getParentPage
public Page getParentPage()
getChildPages
public List<Page> getChildPages()
getChildPagesWithFallback
public Collection<Page> getChildPagesWithFallback()
getAncestors
public Collection<Page> getAncestors()
addChildPage
public void addChildPage(Page child)
getPageType
public String getPageType()
getPageProperties
public PageProperties getPageProperties()
setPageProperties
public void setPageProperties(PageProperties pageProperties)
getMasterPage
public Page getMasterPage()
getTitle
@Deprecated
public String getTitle()
- Deprecated.
getTitle
@Deprecated
public String getTitle(boolean preview)
- Deprecated.
isDirty
public boolean isDirty()
isPublished
public boolean isPublished()
setPublished
public void setPublished(boolean published)
isRequestable
public boolean isRequestable()
isVisible
public boolean isVisible(boolean preview)
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