Package nl.gx.webmanager.cms.core
Interface RelatedInternalLink
-
- All Superinterfaces:
RelatedLink
,Wrapper
public interface RelatedInternalLink extends RelatedLink
Extends RelatedLink with a method to get the internal Page that is referred to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Language
getLanguage()
Returns the language in which the page referenced by this link should be rendered.Page
getPage()
Returns the page referenced by this link.void
setLanguage(Language language)
Sets theLanguage
in which the page referenced by this link should be rendered.void
setPage(Page page)
Sets the page this link will link to by this RelatedLink.-
Methods inherited from interface nl.gx.webmanager.cms.core.RelatedLink
getCode, getCustomTitle, getEditLink, getLink, getLink, getLink, getLink, getLink, getLinkModel, getPopUpProperties, getPopUpProperties, getSuffix, getTarget, getTarget, getTitle, getTitleOption, setCode, setCustomTitle, setLinkModel, setSuffix, setTitleOption
-
-
-
-
Method Detail
-
getPage
Page getPage()
Returns the page referenced by this link.- Returns:
- the page that is linked to by this RelatedLink
-
setPage
void setPage(Page page)
Sets the page this link will link to by this RelatedLink.- Parameters:
page
- the page to link to
-
getLanguage
Language getLanguage()
Returns the language in which the page referenced by this link should be rendered. Returnsnull
if no language is set.- Returns:
- the language in which the page referenced by this link should be rendered. Returns
null
if no language is set
-
-