Class SimpleOverrideContentServiceImpl
java.lang.Object
com.broadleafcommerce.advancedcms.service.SimpleOverrideContentServiceImpl
- All Implemented Interfaces:
OverrideContentService
This is a simple implementation of OverrideContentService that
returns the first OverrideContentItem found for a given contentItemId.
To enable this service over the NullOverrideContentService, add the following
lines to your core applicationContext.xml:
- Author:
- Chad Harchar (charchar)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindOverrideContentItemByContentItemId(Long contentItemId, Map<String, Object> args) Determines what the most appropriateOverrideContentItemis for the givenContentItemid and extra consideration arguments, and returns it.
-
Constructor Details
-
SimpleOverrideContentServiceImpl
public SimpleOverrideContentServiceImpl()
-
-
Method Details
-
findOverrideContentItemByContentItemId
public OverrideContentItem findOverrideContentItemByContentItemId(Long contentItemId, Map<String, Object> args) Description copied from interface:OverrideContentServiceDetermines what the most appropriateOverrideContentItemis for the givenContentItemid and extra consideration arguments, and returns it.- Specified by:
findOverrideContentItemByContentItemIdin interfaceOverrideContentService- Returns:
- the
OverrideContentItem
-