getOnlineFlag()
:
boolean
Returns the online status flag of the content.
getPageDescription()
:
String
Returns the page description for the content in the current locale or null if there is no page description.
getPageKeywords()
:
String
Returns the page keywords for the content in the current locale or null if there is no page title.
getPageMetaTags()
:
Array
Returns all page meta tags, defined for this instance for which content can be generated.
getPageTitle()
:
String
Returns the page title for the content in the current locale or null if there is no page title.
getPageURL()
:
String
Returns the page URL for the content in the current locale or null if there is no page URL.
isOnline()
:
boolean
Returns the online status of the content.
isPage()
:
boolean
Returns if the content is a
Page or not.
isSearchable()
:
boolean
Returns the search status of the content.
getClassificationFolder
getClassificationFolder()
:
Folder
Returns the Folder associated with this Content. The folder is
used to determine the classification of the content.
Returns:
the classification Folder.
getDescription
Returns the description in the current locale or null.
Returns:
the description in the current locale or null.
getFolders
Returns all folders to which this content is assigned.
Returns:
Collection of Folder objects.
getID
Returns the ID of the content asset.
Returns:
the ID of the content asset.
getName
Returns the name of the content asset.
Returns:
the name of the content asset.
getOnlineFlag
getOnlineFlag()
:
boolean
Returns the online status flag of the content.
Returns:
true if the content is online, false otherwise.
getPageDescription
Returns the page description for the content in the current locale
or null if there is no page description.
Returns:
the page description for the content in the current locale or null if there is no page description.
getPageKeywords
Returns the page keywords for the content in the current locale
or null if there is no page title.
Returns:
the page keywords for the content in the current locale or null if there is no page title.
getPageMetaTag
Returns the page meta tag for the specified id.
The meta tag content is generated based on the content detail page meta tag context and rule.
The rule is obtained from the current content or inherited from the default folder,
up to the root folder.
Null will be returned if the meta tag is undefined on the current instance, or if no rule can be found for the
current context, or if the rule resolves to an empty string.
Parameters:
id
-
the ID to get the page meta tag for
Returns:
page meta tag containing content generated based on rules
getPageMetaTags
getPageMetaTags()
:
Array
Returns all page meta tags, defined for this instance for which content can be generated.
The meta tag content is generated based on the content detail page meta tag context and rules.
The rules are obtained from the current content or inherited from the default folder,
up to the root folder.
Returns:
page meta tags defined for this instance, containing content generated based on rules
getPageTitle
Returns the page title for the content in the current locale
or null if there is no page title.
Returns:
the page title for the content in the current locale or null if there is no page title.
getPageURL
Returns the page URL for the content in the current locale
or null if there is no page URL.
Returns:
the page URL for the content in the current locale or null if there is no page URL.
getSearchableFlag
getSearchableFlag()
:
boolean
Returns the online status flag of the content.
Returns:
true if the content is searchable, false otherwise.
getSiteMapChangeFrequency
getSiteMapChangeFrequency()
:
String
Returns the contents change frequency needed for the sitemap creation.
Returns:
The contents sitemap change frequency.
getSiteMapIncluded
Returns the status if the content is included into the sitemap.
Returns:
the value of the attribute 'siteMapIncluded'
getSiteMapPriority
Returns the contents priority needed for the sitemap creation.
If no priority is defined, the method returns 0.0.
Returns:
The contents sitemap priority.
getTemplate
Returns the value of attribute 'template'.
Returns:
the value of the attribute 'template'
isOnline
isOnline()
:
boolean
Returns the online status of the content.
Returns:
true if the content is online, false otherwise.
isPage
isPage()
:
boolean
Returns if the content is a
Page or not.
Returns:
true if the content is a Page, false otherwise.
isSearchable
isSearchable()
:
boolean
Returns the search status of the content.
Returns:
true if the content is searchable, false otherwise.
toPage
Converts the content into the
Page representation if
isPage() yields true.
Returns:
the Page representation of the content if it is a page, null
otherwise.