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.useinsteadReturns aString"ltr" or "rtl" depending to theLocalefor this pageReturns the keywords for this pageReturns theLocalefor this abstract page.Returns thenavigationdenoted by the uri of the request for this response which is not necessarily a content bean.Returns aPageGridgetTitle()Returns the title for this pagebooleanA page is considered to be a detail view if the main contend rendered on the page is not a navigation node.booleanReturns 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 theLocalefor this abstract page. -
getDirection
String getDirection()Returns aString"ltr" or "rtl" depending to theLocalefor this page -
getTitle
String getTitle()Returns the title for this page -
getKeywords
String getKeywords()Returns the keywords for this page -
getDescription
Deprecated.useinsteadReturns 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 notNavigationinstance.
-
getAspectByName
Deprecated.since 1907.1; Implement optional features as extensions.Returns aMapfrom aspectIDs toAspects. AspectIDs consists of an aspect name with a prefix which identifies the plugin provider.- Returns:
- a
Mapfrom aspectIDs toAspects
-
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.