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 TypeMethodDescriptionvoidgetId()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()voidsetDescription(String description) voidsetForeignPageFields(Map<String, Object> foreignPageFields) voidvoidsetItemCriteriaDTOList(List<ItemCriteriaDTO> itemCriteriaDTOList) voidsetLocaleCode(String localeCode) voidsetPageAttributes(Map<String, String> pageAttributes) voidsetPageFields(Map<String, Object> pageFields) voidsetPriority(Integer priority) voidsetRuleExpression(String ruleExpression) voidsetTemplatePath(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
-