Interface Page
- All Superinterfaces:
MultiTenantCloneable<Page>,Serializable
- All Known Implementing Classes:
PageImpl
Created by bpolster.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the excludeFromSiteMap flag.getId()Returns the offlineFlag.Returns a map of the targeting rules associated with this page.Gets the integer priority of this content item.Returns the item (or cart) based rules associated with this content item.voidsetActiveEndDate(Date activeEndDate) voidsetActiveStartDate(Date activeStartDate) voidsetAdditionalAttributes(Map<String, PageAttribute> additionalAttributes) voidsetDescription(String description) voidsetExcludeFromSiteMap(boolean excludeFromSiteMap) Sets the excludeFromSiteMap flag.voidsetFullUrl(String fullUrl) voidvoidsetMetaDescription(String metaDescription) voidsetMetaTitle(String metaTitle) voidsetOfflineFlag(Boolean offlineFlag) Sets the offline flag.voidsetPageFields(Map<String, PageField> pageFields) voidsetPageMatchRules(Map<String, PageRule> pageRules) Sets the targeting rules for this content item.voidsetPageTemplate(PageTemplate pageTemplate) voidsetPriority(Integer priority) Sets the display priority of this item.voidsetQualifyingItemCriteria(Set<PageItemCriteria> qualifyingItemCriteria) Sets the item (e.g. cart) based rules associated with this content item.Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstance
-
Method Details
-
getId
Long getId() -
setId
-
getFullUrl
String getFullUrl() -
setFullUrl
-
getDescription
String getDescription() -
setDescription
-
getPageTemplate
PageTemplate getPageTemplate() -
setPageTemplate
-
getPageFields
-
setPageFields
-
getOfflineFlag
Returns the offlineFlag. True indicates that the page should no longer appear on the site. The item will still appear within the content administration program but no longer be returned as part of the client facing APIs.- Returns:
- true if this item is offline
-
setOfflineFlag
Sets the offline flag.- Parameters:
offlineFlag-
-
getPriority
Gets the integer priority of this content item. Items with a lower priority should be displayed before items with a higher priority.- Returns:
- the priority as a numeric value
-
setPriority
Sets the display priority of this item. Lower priorities should be displayed first.- Parameters:
priority-
-
getPageMatchRules
Returns a map of the targeting rules associated with this page.Targeting rules are defined in the content mangagement system and used to enforce which page is returned to the client.
- Returns:
-
setPageMatchRules
Sets the targeting rules for this content item.- Parameters:
pageRules-
-
getQualifyingItemCriteria
Returns the item (or cart) based rules associated with this content item.- Returns:
-
setQualifyingItemCriteria
Sets the item (e.g. cart) based rules associated with this content item.- Parameters:
qualifyingItemCriteria-
-
getExcludeFromSiteMap
@Nullable boolean getExcludeFromSiteMap()Returns the excludeFromSiteMap flag. True indicates that the page should be excluded from the site map.- Returns:
- true if this page is excluded from the site map
-
setExcludeFromSiteMap
void setExcludeFromSiteMap(boolean excludeFromSiteMap) Sets the excludeFromSiteMap flag.- Parameters:
excludeFromSiteMap-
-
getAdditionalAttributes
Map<String,PageAttribute> getAdditionalAttributes() -
setAdditionalAttributes
-
getActiveStartDate
Date getActiveStartDate() -
setActiveStartDate
-
getActiveEndDate
Date getActiveEndDate() -
setActiveEndDate
-
getMetaTitle
String getMetaTitle() -
setMetaTitle
-
getMetaDescription
String getMetaDescription() -
setMetaDescription
-