Interface AbstractPage
- All Superinterfaces:
com.coremedia.blueprint.common.datevalidation.ValidityPeriod
- All Known Subinterfaces:
Page
public interface AbstractPage
extends com.coremedia.blueprint.common.datevalidation.ValidityPeriod
An abstraction from full Pages and Page Fragments.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since 1907.1; Implement optional features as extensions.Returns the main content object rendered on this pageReturns an id of the main content rendered on this page, e.g.Returns an optional type or classifier name of the main content rendered on this page, e.g.Deprecated.useinstead
Returns aString
"ltr" or "rtl" depending to theLocale
for this pageReturns the keywords for this pageReturns theLocale
for this abstract page.Returns thenavigation
denoted by the uri of the request for this response which is not necessarily a content bean.Returns aPageGrid
getTitle()
Returns the title for this pageboolean
A page is considered to be a detail view if the main contend rendered on the page is not a navigation node.boolean
Returns true, if the CAE that rendered this response runs in development mode.Methods inherited from interface com.coremedia.blueprint.common.datevalidation.ValidityPeriod
getValidFrom, getValidTo
-
Method Details
-
getContent
Object getContent()Returns the main content object rendered on this page -
isDeveloperMode
boolean isDeveloperMode()Returns true, if the CAE that rendered this response runs in development mode. -
getPageGrid
PageGrid getPageGrid()Returns aPageGrid
-
getLocale
Locale getLocale()Returns theLocale
for this abstract page. -
getDirection
String getDirection()Returns aString
"ltr" or "rtl" depending to theLocale
for this page -
getTitle
String getTitle()Returns the title for this page -
getKeywords
String getKeywords()Returns the keywords for this page -
getDescription
Deprecated.useinstead
Returns the description for this page -
isDetailView
boolean isDetailView()A page is considered to be a detail view if the main contend rendered on the page is not a navigation node.- Returns:
- true if if the
getContent()
main content} of this page is notNavigation
instance.
-
getAspectByName
Deprecated.since 1907.1; Implement optional features as extensions.Returns aMap
from aspectIDs toAspects
. AspectIDs consists of an aspect name with a prefix which identifies the plugin provider.- Returns:
- a
Map
from aspectIDs toAspect
s
-
getContentId
String getContentId()Returns an id of the main content rendered on this page, e.g. for analytics purposes. May be null. -
getContentType
String getContentType()Returns an optional type or classifier name of the main content rendered on this page, e.g. for analytics purposes. May be null.