Interface Page
- All Superinterfaces:
MultiTenantCloneable<Page>
,Serializable
- All Known Implementing Classes:
PageImpl
Created by bpolster.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns 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.void
setActiveEndDate
(Date activeEndDate) void
setActiveStartDate
(Date activeStartDate) void
setAdditionalAttributes
(Map<String, PageAttribute> additionalAttributes) void
setDescription
(String description) void
setExcludeFromSiteMap
(boolean excludeFromSiteMap) Sets the excludeFromSiteMap flag.void
setFullUrl
(String fullUrl) void
void
setMetaDescription
(String metaDescription) void
setMetaTitle
(String metaTitle) void
setOfflineFlag
(Boolean offlineFlag) Sets the offline flag.void
setPageFields
(Map<String, PageField> pageFields) void
setPageMatchRules
(Map<String, PageRule> pageRules) Sets the targeting rules for this content item.void
setPageTemplate
(PageTemplate pageTemplate) void
setPriority
(Integer priority) Sets the display priority of this item.void
setQualifyingItemCriteria
(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
-