Class PageDTO
java.lang.Object
org.broadleafcommerce.common.page.dto.PageDTO
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NullPageDTO
Page fields must be pre-processed (for example to fix image paths).
This DTO allows us to process the PageFields once and then cache
the results.
Created by bpolster.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getId()
getPropertyValue
(String propertyName) Attempts to obtain the given property value from the dynamic property map first, and then an actual bean property via a gettergetUrl()
void
setDescription
(String description) void
setForeignPageFields
(Map<String, Object> foreignPageFields) void
void
setItemCriteriaDTOList
(List<ItemCriteriaDTO> itemCriteriaDTOList) void
setLocaleCode
(String localeCode) void
setPageAttributes
(Map<String, String> pageAttributes) void
setPageFields
(Map<String, Object> pageFields) void
setPriority
(Integer priority) void
setRuleExpression
(String ruleExpression) void
setTemplatePath
(String templatePath) void
-
Field Details
-
id
-
description
-
localeCode
-
templatePath
-
url
-
priority
-
pageFields
-
ruleExpression
-
itemCriteriaDTOList
-
pageAttributes
-
foreignPageFields
-
-
Constructor Details
-
PageDTO
public PageDTO()
-
-
Method Details
-
getPropertyValue
Attempts to obtain the given property value from the dynamic property map first, and then an actual bean property via a getter- Parameters:
propertyName
-- Returns:
-
getId
-
setId
-
getDescription
-
setDescription
-
getLocaleCode
-
setLocaleCode
-
getTemplatePath
-
setTemplatePath
-
getUrl
-
setUrl
-
getPageFields
-
setPageFields
-
getRuleExpression
-
setRuleExpression
-
getItemCriteriaDTOList
-
setItemCriteriaDTOList
-
getPriority
-
setPriority
-
getPageAttributes
-
setPageAttributes
-
getForeignPageFields
-
setForeignPageFields
-
copy
-