Class DefaultContentItemService<P extends ContentItem>
java.lang.Object
com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P>
com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService<P>
com.broadleafcommerce.content.service.DefaultContentItemService<P>
- All Implemented Interfaces:
ContentItemService<P>,com.broadleafcommerce.data.tracking.core.service.CrudEntityService<P>,com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P>,EventListener,org.springframework.context.ApplicationListener<ContentCacheInvalidationEvent>
public class DefaultContentItemService<P extends ContentItem>
extends com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService<P>
implements ContentItemService<P>, org.springframework.context.ApplicationListener<ContentCacheInvalidationEvent>
- Author:
- Jon Fleschler (jfleschler)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultContentItemService(ContentItemRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, FieldDataService<FieldData> fieldDataService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils) -
Method Summary
Modifier and TypeMethodDescriptionprotected AuthorBuild the Content Items's author information based on the authenticated user.voidprotected com.broadleafcommerce.resource.security.utils.service.AuthenticationUtilsprotected com.broadleafcommerce.common.extension.cache.CacheStateManagerprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected com.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected FieldDataService<FieldData>protected ContentItemRepository<com.broadleafcommerce.data.tracking.core.Trackable>Returns the name of the repository domain corresponding to the projection domain.protected com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation>protected com.broadleafcommerce.common.extension.TypeFactoryvoidreadAll(cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) readAllByIdIn(@NonNull Collection<String> ids, cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Reads allContentItemsmatching the given ids.readAllByModelId(@NonNull String modelId, cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read all content for a specific model.org.springframework.data.domain.Page<P>readAllByName(String nameQuery, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read allContentItems, optionally filtered by name.readAllByNameIn(@NonNull Collection<String> names, cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Reads allContentItemsmatching the given names.org.springframework.data.domain.Page<P>readAllByNameWithActiveFlag(String activeFilter, String nameQuery, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all content, filtered by active date ranges, optionally filtered by name.org.springframework.data.domain.Page<P>readAllByQuery(String query, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all content based on the provided query.org.springframework.data.domain.Page<P>readAllByUriIsNotBlank(org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read all non-nullContentItemsreadAllContentItemTags(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read all tags associated with content items.readByCombinedModelAndItemUri(String uri, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Takes the givenuriand returns the item where the combination ofits URIand itsContentModel's URImatches.readByModelIdAndUri(String modelId, String uri, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) readByNameAndNotEmbedded(String contentName, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds the non-embedded content item with the given name (should only be one result, as content names are unique in non-embedded items).org.springframework.data.domain.Page<P>readPageByIdIn(@NonNull Collection<String> ids, @NonNull org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Reads allContentItemsmatching the given ids.org.springframework.data.domain.Page<P>readPageByModelId(String modelId, @NonNull org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Read all content for a specific model.org.springframework.data.domain.Page<P>readPageByNameIn(@NonNull Collection<String> names, @NonNull org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Reads allContentItemsmatching the given names.protected voidremoveFieldDataForContent(P content, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) replace(@NonNull String id, P content, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) com.broadleafcommerce.translation.service.dto.TranslationsPayloadreplaceAllItemTranslations(String id, @NonNull Locale locale, @NonNull com.broadleafcommerce.translation.service.dto.TranslationsPayload request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Handles persistence of translations related to aContentItemor itsFieldData.protected voidreplaceOrCreateFieldDataForContent(P content, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Create or replaceFieldDatafor the passed inContentItemvoidsetCacheStateManager(com.broadleafcommerce.common.extension.cache.CacheStateManager cacheStateManager) voidsetContentItemCacheAllByFilterKeyGen(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheAllByFilterKeyGen) voidsetContentItemCacheAllWithTags(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheAllWithTags) voidsetContentItemCacheByIdInKeyGen(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByIdInKeyGen) voidsetContentItemCacheByItemAndModelUriKeyGen(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByItemAndModelUriKeyGen) voidsetContentItemCacheByModelIdKeyGen(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByModelIdKeyGen) voidsetContentItemCacheByNameInKeyGen(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByNameInKeyGen) voidsetContentItemCacheByNameKeyGen(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByNameKeyGen) voidsetContentItemCacheByUriAndModelIdKeyGen(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByUriAndModelIdKeyGen) voidsetContentItemCachePageByIdInKeyGen(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCachePageByIdInKeyGen) voidsetContentItemCachePageByModelIdKeyGen(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCachePageByModelIdKeyGen) voidsetContentItemCachePageByNameInKeyGen(com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCachePageByNameInKeyGen) voidsetTranslationEntityService(com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService) Methods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService
getRsqlHelper, readAll, readAll, readAllMethods inherited from class com.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService
convertFromPersistentDomain, convertToPersistentDomain, createAll, createAllAllowingPartialSuccess, getHelper, getSortPositionStrategy, readAll, readAll, readAll, readAllByContextId, readByContextId, replaceAll, replaceAllAllowingPartialSuccess, setSortPositionStrategy, updateAll, updateAllAllowingPartialSuccess, updateSortMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecutionMethods inherited from interface com.broadleafcommerce.content.service.ContentItemService
readByNameMethods inherited from interface com.broadleafcommerce.data.tracking.core.service.CrudEntityService
createAll, createAllAllowingPartialSuccess, readAll, readAll, readAll, readAllByContextId, readByContextId, replaceAll, replaceAllAllowingPartialSuccess, updateAll, updateAllAllowingPartialSuccess, updateSortMethods inherited from interface com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService
readAll, readAll, readAll
-
Field Details
-
BY_ITEM_NAME_CACHE
- See Also:
-
BY_ITEM_ID_IN_CACHE
- See Also:
-
BY_ITEM_NAME_IN_CACHE
- See Also:
-
BY_MODEL_ID_CACHE
- See Also:
-
BY_URI_AND_MODEL_ID_CACHE
- See Also:
-
PAGE_BY_ITEM_NAME_IN_CACHE
- See Also:
-
PAGE_BY_ITEM_ID_IN_CACHE
- See Also:
-
PAGE_BY_MODEL_ID_CACHE
- See Also:
-
BY_ITEM_AND_MODEL_URI
- See Also:
-
ALL_BY_FILTER
- See Also:
-
ALL_WITH_TAGS
- See Also:
-
-
Constructor Details
-
DefaultContentItemService
public DefaultContentItemService(ContentItemRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, FieldDataService<FieldData> fieldDataService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils)
-
-
Method Details
-
getRepositoryDomain
Description copied from interface:ContentItemServiceReturns the name of the repository domain corresponding to the projection domain.- Specified by:
getRepositoryDomainin interfaceContentItemService<P extends ContentItem>- Returns:
- The name of the repository domain corresponding to the projection domain.
-
readAll
public List<P> readAll(cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) - Specified by:
readAllin interfacecom.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityService<P extends ContentItem>- Overrides:
readAllin classcom.broadleafcommerce.data.tracking.core.service.BaseRsqlCrudEntityService<P extends ContentItem>
-
readAllByNameWithActiveFlag
public org.springframework.data.domain.Page<P> readAllByNameWithActiveFlag(@NonNull String activeFilter, @Nullable String nameQuery, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Description copied from interface:ContentItemServiceRead all content, filtered by active date ranges, optionally filtered by name.- Specified by:
readAllByNameWithActiveFlagin interfaceContentItemService<P extends ContentItem>- Parameters:
activeFilter- whether to filter by active / inactive or allnameQuery- (optional) the content name to filter byfilters- additional filters to apply in the query, can be nullpage- the requested page of results from the databasecontext- context information surrounding sandboxing and multitenant state- Returns:
- all menus, optionally filtered by name
-
readAllByUriIsNotBlank
public org.springframework.data.domain.Page<P> readAllByUriIsNotBlank(@Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:ContentItemServiceRead all non-nullContentItems- Specified by:
readAllByUriIsNotBlankin interfaceContentItemService<P extends ContentItem>- Parameters:
page- the requested page of results from the databasecontextInfo- context information surrounding sandboxing and multitenant state- Returns:
- a page of non-null content items
-
readAllByName
public org.springframework.data.domain.Page<P> readAllByName(@Nullable String nameQuery, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Description copied from interface:ContentItemServiceRead allContentItems, optionally filtered by name.- Specified by:
readAllByNamein interfaceContentItemService<P extends ContentItem>- Parameters:
nameQuery- (optional) the content name to filter byfilters- additional filters to apply in the query, can be nullpage- the requested page of results from the databasecontext- context information surrounding sandboxing and multitenant state- Returns:
- all
ContentItems, optionally filtered by name
-
readAllByNameIn
public List<P> readAllByNameIn(@NonNull @NonNull Collection<String> names, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Description copied from interface:ContentItemServiceReads allContentItemsmatching the given names.- Specified by:
readAllByNameInin interfaceContentItemService<P extends ContentItem>- Parameters:
names- Names of theContentItemsto retrieve.filters- additional filters to apply in the query, can be nullcontext- context information surrounding sandboxing and multitenant state- Returns:
- All
ContentItemsmatching the given names.
-
readPageByNameIn
public org.springframework.data.domain.Page<P> readPageByNameIn(@NonNull @NonNull Collection<String> names, @NonNull @NonNull org.springframework.data.domain.Pageable page, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Description copied from interface:ContentItemServiceReads allContentItemsmatching the given names.- Specified by:
readPageByNameInin interfaceContentItemService<P extends ContentItem>- Parameters:
names- Names of theContentItemsto retrieve.page- the requested page of results from the databasefilters- additional filters to apply in the query, can be nullcontext- context information surrounding sandboxing and multitenant state- Returns:
- A page of all
ContentItemsmatching the given names.
-
readAllByIdIn
public List<P> readAllByIdIn(@NonNull @NonNull Collection<String> ids, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Description copied from interface:ContentItemServiceReads allContentItemsmatching the given ids.- Specified by:
readAllByIdInin interfaceContentItemService<P extends ContentItem>- Parameters:
ids- Names of theContentItemsto retrieve.filters- additional filters to apply in the query, can be nullcontext- context information surrounding sandboxing and multitenant state- Returns:
- All
ContentItemsmatching the given ids.
-
readPageByIdIn
public org.springframework.data.domain.Page<P> readPageByIdIn(@NonNull @NonNull Collection<String> ids, @NonNull @NonNull org.springframework.data.domain.Pageable page, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Description copied from interface:ContentItemServiceReads allContentItemsmatching the given ids.- Specified by:
readPageByIdInin interfaceContentItemService<P extends ContentItem>- Parameters:
ids- Names of theContentItemsto retrieve.page- the requested page of results from the databasefilters- additional filters to apply in the query, can be nullcontext- context information surrounding sandboxing and multitenant state- Returns:
- A page of all
ContentItemsmatching the given ids.
-
readPageByModelId
public org.springframework.data.domain.Page<P> readPageByModelId(String modelId, @NonNull @NonNull org.springframework.data.domain.Pageable page, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Description copied from interface:ContentItemServiceRead all content for a specific model.- Specified by:
readPageByModelIdin interfaceContentItemService<P extends ContentItem>- Parameters:
modelId- the content's model idpage- the requested page of results from the databasefilters- additional filters to apply in the query, can be nullcontext- context information surrounding sandboxing and multitenant state- Returns:
- a page of content items associated with a model
-
readByNameAndNotEmbedded
public Optional<P> readByNameAndNotEmbedded(String contentName, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:ContentItemServiceFinds the non-embedded content item with the given name (should only be one result, as content names are unique in non-embedded items).- Specified by:
readByNameAndNotEmbeddedin interfaceContentItemService<P extends ContentItem>- Parameters:
contentName- the name of the content that should be retrievedcontextInfo- context information surrounding sandboxing and multitenant state- Returns:
- an
Optionalcontaining the content with the given name, empty if not found
-
readAllByModelId
public List<P> readAllByModelId(@NonNull @NonNull String modelId, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:ContentItemServiceRead all content for a specific model.- Specified by:
readAllByModelIdin interfaceContentItemService<P extends ContentItem>- Parameters:
modelId- the content's model idfilters- additional filters to apply in the query, can be nullcontextInfo- context information surrounding sandboxing and multitenant state- Returns:
- a list of content items associated with a model
-
create
public P create(@NonNull P content, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) - Specified by:
createin interfacecom.broadleafcommerce.data.tracking.core.service.CrudEntityService<P extends ContentItem>- Overrides:
createin classcom.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends ContentItem>
-
buildAuthor
Build the Content Items's author information based on the authenticated user.- Returns:
- the current author
-
replace
public P replace(@NonNull @NonNull String id, @NonNull P content, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) - Specified by:
replacein interfacecom.broadleafcommerce.data.tracking.core.service.CrudEntityService<P extends ContentItem>- Overrides:
replacein classcom.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends ContentItem>
-
update
public P update(String id, @NonNull P content, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) - Specified by:
updatein interfacecom.broadleafcommerce.data.tracking.core.service.CrudEntityService<P extends ContentItem>- Overrides:
updatein classcom.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends ContentItem>
-
delete
public void delete(String id, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) - Specified by:
deletein interfacecom.broadleafcommerce.data.tracking.core.service.CrudEntityService<P extends ContentItem>- Overrides:
deletein classcom.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends ContentItem>
-
readByModelIdAndUri
public Optional<P> readByModelIdAndUri(String modelId, String uri, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:ContentItemService- Specified by:
readByModelIdAndUriin interfaceContentItemService<P extends ContentItem>- Parameters:
modelId- ID of the model the item belongs touri- URI of the itemcontextInfo- Context information surrounding sandboxing and multitenant state- Returns:
- The
ContentItemby matchingmodelContextIdanduri.
-
readByCombinedModelAndItemUri
public Optional<P> readByCombinedModelAndItemUri(String uri, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:ContentItemServiceTakes the givenuriand returns the item where the combination ofits URIand itsContentModel's URImatches.- Specified by:
readByCombinedModelAndItemUriin interfaceContentItemService<P extends ContentItem>- Parameters:
uri- The URI to match againstcontextInfo- context information surrounding sandboxing and multitenant state- Returns:
- A
ContentItemif the combination of its and its parent model's URIs matchuri.
-
readAllByQuery
public org.springframework.data.domain.Page<P> readAllByQuery(@Nullable String query, @Nullable cz.jirutka.rsql.parser.ast.Node filters, @Nullable org.springframework.data.domain.Pageable page, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Description copied from interface:ContentItemServiceRead all content based on the provided query.- Specified by:
readAllByQueryin interfaceContentItemService<P extends ContentItem>- Parameters:
query- the query to use to filter contentfilters- additional filters to apply in the query, can be nullpage- the requested page of results from the databasecontext- context information surrounding sandboxing and multitenant state- Returns:
- a page of content items matching the query
-
replaceAllItemTranslations
public com.broadleafcommerce.translation.service.dto.TranslationsPayload replaceAllItemTranslations(String id, @NonNull @NonNull Locale locale, @NonNull @NonNull com.broadleafcommerce.translation.service.dto.TranslationsPayload request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Description copied from interface:ContentItemServiceHandles persistence of translations related to aContentItemor itsFieldData. FieldData don't have a separate endpoint but are otherwise treated as a separate entity. Therefore, this method is responsible for parsing theTranslationsPayloadand pulling out theFieldDatatranslations to be saved separately from the translation of directContentItemfields.- Specified by:
replaceAllItemTranslationsin interfaceContentItemService<P extends ContentItem>- Parameters:
id- Id of theContentItemlocale- Locale the translations map torequest-TranslationsPayloadcontext- Additional multitenant and sandbox info- Returns:
- The updated translations.
-
readAllContentItemTags
public Collection<ContentTag> readAllContentItemTags(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Description copied from interface:ContentItemServiceRead all tags associated with content items.- Specified by:
readAllContentItemTagsin interfaceContentItemService<P extends ContentItem>- Parameters:
contextInfo- context information surrounding sandboxing and multitenant state- Returns:
- a list of tags
-
removeFieldDataForContent
protected void removeFieldDataForContent(@NonNull P content, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
replaceOrCreateFieldDataForContent
protected void replaceOrCreateFieldDataForContent(@NonNull P content, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Create or replaceFieldDatafor the passed inContentItem- Parameters:
content- the content item to updatecontext- information surrounding sandboxing and multitenant state
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<P extends ContentItem>
-
getRepository
- Overrides:
getRepositoryin classcom.broadleafcommerce.data.tracking.core.service.BaseCrudEntityService<P extends ContentItem>
-
getFieldDataService
-
getTypeFactory
protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory() -
getAuthenticationUtils
protected com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils getAuthenticationUtils() -
getTranslationEntityService
protected com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> getTranslationEntityService() -
setTranslationEntityService
@Autowired public void setTranslationEntityService(com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService) -
getCacheStateManager
@Nullable protected com.broadleafcommerce.common.extension.cache.CacheStateManager getCacheStateManager() -
setCacheStateManager
@Autowired(required=false) public void setCacheStateManager(@Nullable com.broadleafcommerce.common.extension.cache.CacheStateManager cacheStateManager) -
setContentItemCacheByNameKeyGen
@Autowired(required=false) @Qualifier("contentItemCacheByName") public void setContentItemCacheByNameKeyGen(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByNameKeyGen) -
getContentItemCacheByNameKeyGen
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCacheByNameKeyGen() -
setContentItemCacheByIdInKeyGen
@Autowired(required=false) @Qualifier("contentItemCacheByIdIn") public void setContentItemCacheByIdInKeyGen(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByIdInKeyGen) -
getContentItemCacheByIdInKeyGen
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCacheByIdInKeyGen() -
setContentItemCacheByNameInKeyGen
@Autowired(required=false) @Qualifier("contentItemCacheByNameIn") public void setContentItemCacheByNameInKeyGen(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByNameInKeyGen) -
getContentItemCacheByNameInKeyGen
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCacheByNameInKeyGen() -
setContentItemCacheByModelIdKeyGen
@Autowired(required=false) @Qualifier("contentItemCacheByModelId") public void setContentItemCacheByModelIdKeyGen(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByModelIdKeyGen) -
getContentItemCacheByModelIdKeyGen
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCacheByModelIdKeyGen() -
setContentItemCacheByUriAndModelIdKeyGen
@Autowired(required=false) @Qualifier("contentItemCacheByUriAndModelId") public void setContentItemCacheByUriAndModelIdKeyGen(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByUriAndModelIdKeyGen) -
getContentItemCacheByUriAndModelIdKeyGen
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCacheByUriAndModelIdKeyGen() -
setContentItemCachePageByNameInKeyGen
@Autowired(required=false) @Qualifier("contentItemCachePageByNameIn") public void setContentItemCachePageByNameInKeyGen(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCachePageByNameInKeyGen) -
getContentItemCachePageByNameInKeyGen
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCachePageByNameInKeyGen() -
setContentItemCachePageByIdInKeyGen
@Autowired(required=false) @Qualifier("contentItemCachePageByIdIn") public void setContentItemCachePageByIdInKeyGen(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCachePageByIdInKeyGen) -
getContentItemCachePageByIdInKeyGen
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCachePageByIdInKeyGen() -
setContentItemCachePageByModelIdKeyGen
@Autowired(required=false) @Qualifier("contentItemCachePageByModelId") public void setContentItemCachePageByModelIdKeyGen(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCachePageByModelIdKeyGen) -
getContentItemCachePageByModelIdKeyGen
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCachePageByModelIdKeyGen() -
setContentItemCacheByItemAndModelUriKeyGen
@Autowired(required=false) @Qualifier("contentItemCacheByCombinedUrl") public void setContentItemCacheByItemAndModelUriKeyGen(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheByItemAndModelUriKeyGen) -
getContentItemCacheByItemAndModelUriKeyGen
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCacheByItemAndModelUriKeyGen() -
setContentItemCacheAllByFilterKeyGen
@Autowired(required=false) @Qualifier("contentItemCacheAllByFilter") public void setContentItemCacheAllByFilterKeyGen(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheAllByFilterKeyGen) -
getContentItemCacheAllByFilterKeyGen
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCacheAllByFilterKeyGen() -
setContentItemCacheAllWithTags
@Autowired(required=false) @Qualifier("contentItemCacheAllWithTags") public void setContentItemCacheAllWithTags(@Nullable com.broadleafcommerce.common.extension.cache.key.ContextKeyGen contentItemCacheAllWithTags) -
getContentItemCacheAllWithTags
@Nullable protected com.broadleafcommerce.common.extension.cache.key.ContextKeyGen getContentItemCacheAllWithTags()
-