Interface ContentTargeterDao
- All Known Implementing Classes:
ContentTargeterDaoImpl
public interface ContentTargeterDao
Database access methods for
ContentTargeters- Author:
- bpolster
-
Method Summary
Modifier and TypeMethodDescriptionfindContentTargetersForContentItem(ContentItem contentItem) Finds theContentTargeters using aContentItem.findContentTargetersForEmailTemplate(EmailTemplate emailTemplate) findContentTargetersForPage(org.broadleafcommerce.cms.page.domain.Page page) findContentTargetersForSMSTemplate(SMSTemplate smsTemplate) findSandboxContentTargeterForTargetProperty(String propertyName, Object target) Returns the SandBoxed (non-production) version of aContentTargeter.Returns the ContentTargetingActionXref associated with the passed in id.
-
Method Details
-
findContentTargetersForZone
- Returns:
- a list of all
ContentTargeters that are targeting changes for the passed in Zone.
-
findContentTargetersForPage
- Returns:
- a list of all
ContentTargeters that are targeting changes for the passed in Page.
-
findContentTargetersForTemplatePath
- Returns:
- a list of all
ContentTargeters that are targeting changes for the passed in template path.
-
findContentTargetersForEmailTemplate
-
findContentTargetersForSMSTemplate
-
findContentTargetersWithThemeChangeAction
List<ContentTargeter> findContentTargetersWithThemeChangeAction()- Returns:
- a list of all
ContentTargeters that are targeting changes for the passed in template path.
-
findSandboxContentTargeterForTargetProperty
List<ContentTargeter> findSandboxContentTargeterForTargetProperty(String propertyName, Object target) Returns the SandBoxed (non-production) version of aContentTargeter. This is helpful when attempting to resolve ContentTargeters for in Sandbox Preview mode.- Parameters:
propertyName-target-- Returns:
-
readContentTargetingActionXrefById
Returns the ContentTargetingActionXref associated with the passed in id.- Parameters:
id- - The id of the content targeting action xref.- Returns:
- The associated content targeting action xref.
-
findContentTargetersForContentItem
Finds theContentTargeters using aContentItem.- Parameters:
contentItem- the ContentItem to find ContentTargeters pointing at- Returns:
- list of ContentTargeters using the ContentItem
-