public interface ContentTestAction
| Modifier and Type | Method and Description |
|---|---|
ContentTestActionType |
getContentTestActionType()
Returns the action type.
|
com.broadleafcommerce.advancedcms.domain.ContentZone |
getLookupContentZone()
Returns the associated content item to have its content replaced.
|
com.broadleafcommerce.advancedcms.domain.ContentItem |
getNewContentItem()
Returns the associated replacement content item.
|
org.broadleafcommerce.cms.page.domain.Page |
getNewPage()
Returns the associated page.
|
Integer |
getNewPriority()
Returns the new priority for an item of type
ContentTestActionType.CHANGE_CONTENT_PRIORITY |
String |
getNewPropertyValue()
For action with a type of
ContentTestActionType.CHANGE_VARIABLE, returns the value of the
new template path. |
org.broadleafcommerce.common.config.domain.SystemProperty |
getNewSystemProperty()
For action with a type of
ContentTestActionType.CHANGE_VARIABLE, returns the SystemProperty
whose value should be changed to the value of getNewPropertyValue() |
com.broadleafcommerce.theme.domain.ThemeFile |
getNewTemplate()
Returns the new template.
|
String |
getNewTemplatePath()
For action with a type of
ContentTestActionType.CHANGE_TEMPLATE_PATH, returns the value of the
new template path. |
String |
getNewUrl()
For action with a type of
ContentTestActionType.CHANGE_URL, returns the value of the
new url. |
org.broadleafcommerce.cms.structure.domain.StructuredContent |
getPriorityContent()
Returns the associated structured content item.
|
String |
getRequestContextAttribute()
Returns the name of the selected price list for an action of type
|
String |
getRequestContextValue()
Returns the value of the request context attribute
|
void |
setContentTestActionType(ContentTestActionType actionType)
Sets the action type.
|
void |
setLookupContentZone(com.broadleafcommerce.advancedcms.domain.ContentZone contentZone)
Sets the associated content zone to have its content replaced
|
void |
setNewContentItem(com.broadleafcommerce.advancedcms.domain.ContentItem contentItem)
Sets the associated replacement content item.
|
void |
setNewPage(org.broadleafcommerce.cms.page.domain.Page newPage)
Sets the page you want to show instead of the current URL.
|
void |
setNewPriority(Integer priority)
Sets the new priority for an item of type
ContentTestActionType.CHANGE_CONTENT_PRIORITY |
void |
setNewPropertyValue(String newValue)
For action with a type of
ContentTestActionType.CHANGE_VARIABLE, sets the value of the
new template path. |
void |
setNewSystemProperty(org.broadleafcommerce.common.config.domain.SystemProperty property)
For action with a type of
ContentTestActionType.CHANGE_VARIABLE, sets the SystemProperty
whose value should be changed to the value of getNewPropertyValue() |
void |
setNewTemplate(com.broadleafcommerce.theme.domain.ThemeFile newTemplate)
Sets the template you want to show instead of the current template.
|
void |
setNewTemplatePath(String newPath)
For action with a type of
ContentTestActionType.CHANGE_TEMPLATE_PATH, sets the value of the
new template path. |
void |
setNewUrl(String newUrl)
For action with a type of
ContentTestActionType.CHANGE_URL, sets the value of the
new url. |
void |
setPriorityContent(org.broadleafcommerce.cms.structure.domain.StructuredContent priorityContent)
Sets the associated structured content item.
|
void |
setRequestContextAttribute(String requestContextAttribute)
Sets the name of the selected price list for an action of type
|
void |
setRequestContextValue(String requestContextValue) |
ContentTestActionType getContentTestActionType()
ContentTestActionTypevoid setContentTestActionType(ContentTestActionType actionType)
actionType - com.broadleafcommerce.advancedcms.domain.ContentZone getLookupContentZone()
void setLookupContentZone(com.broadleafcommerce.advancedcms.domain.ContentZone contentZone)
contentZone - com.broadleafcommerce.advancedcms.domain.ContentItem getNewContentItem()
ContentTestActionType.CHANGE_CONTENTvoid setNewContentItem(com.broadleafcommerce.advancedcms.domain.ContentItem contentItem)
contentItem - org.broadleafcommerce.cms.page.domain.Page getNewPage()
ContentTestActionType.CHANGE_PAGEvoid setNewPage(org.broadleafcommerce.cms.page.domain.Page newPage)
newPage - com.broadleafcommerce.theme.domain.ThemeFile getNewTemplate()
ContentTestActionType.CHANGE_TEMPLATE.void setNewTemplate(com.broadleafcommerce.theme.domain.ThemeFile newTemplate)
newTemplate - String getNewTemplatePath()
ContentTestActionType.CHANGE_TEMPLATE_PATH, returns the value of the
new template path.void setNewTemplatePath(String newPath)
ContentTestActionType.CHANGE_TEMPLATE_PATH, sets the value of the
new template path.newPath - org.broadleafcommerce.common.config.domain.SystemProperty getNewSystemProperty()
ContentTestActionType.CHANGE_VARIABLE, returns the SystemProperty
whose value should be changed to the value of getNewPropertyValue()void setNewSystemProperty(org.broadleafcommerce.common.config.domain.SystemProperty property)
ContentTestActionType.CHANGE_VARIABLE, sets the SystemProperty
whose value should be changed to the value of getNewPropertyValue()property - String getNewPropertyValue()
ContentTestActionType.CHANGE_VARIABLE, returns the value of the
new template path.void setNewPropertyValue(String newValue)
ContentTestActionType.CHANGE_VARIABLE, sets the value of the
new template path.newValue - String getNewUrl()
ContentTestActionType.CHANGE_URL, returns the value of the
new url.void setNewUrl(String newUrl)
ContentTestActionType.CHANGE_URL, sets the value of the
new url.newUrl - org.broadleafcommerce.cms.structure.domain.StructuredContent getPriorityContent()
ContentTestActionType.CHANGE_CONTENT_PRIORITYvoid setPriorityContent(org.broadleafcommerce.cms.structure.domain.StructuredContent priorityContent)
priorityContent - Integer getNewPriority()
ContentTestActionType.CHANGE_CONTENT_PRIORITYvoid setNewPriority(Integer priority)
ContentTestActionType.CHANGE_CONTENT_PRIORITYpriority - String getRequestContextAttribute()
void setRequestContextAttribute(String requestContextAttribute)
requestContextAttribute - String getRequestContextValue()
void setRequestContextValue(String requestContextValue)
requestContextValue - Copyright © 2019. All rights reserved.