Class JpaCustomizedItemListItemRepository<D extends JpaItemListItem>

    • Constructor Detail

      • JpaCustomizedItemListItemRepository

        public JpaCustomizedItemListItemRepository​(com.broadleafcommerce.data.tracking.core.TrackableBehaviorUtil behaviorUtil,
                                                   com.broadleafcommerce.data.tracking.jpa.filtering.fetch.rsql.JpaFiltersCriteriaBuilder criteriaBuilder,
                                                   com.broadleafcommerce.common.jpa.RepositoryEntityTypeManager typeManager)
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      • readByItemListId

        public org.springframework.data.domain.Page<D> readByItemListId​(String itemListId,
                                                                        @Nullable
                                                                        com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo,
                                                                        @Nullable
                                                                        org.springframework.data.domain.Pageable page)
        Description copied from interface: CustomizedItemListItemRepository
        Find items belonging to a specific list.
        Specified by:
        readByItemListId in interface CustomizedItemListItemRepository<D extends JpaItemListItem>
        Parameters:
        itemListId - the ID of the owning item list
        contextInfo - the request context information
        page - the requested page of results from the database
        Returns:
        a page of item lists items owned by the item list
      • getNarrowingHelper

        protected com.broadleafcommerce.data.tracking.jpa.filtering.narrow.JpaNarrowingHelper getNarrowingHelper()