Class AdvancedStructuredContentDaoImpl
java.lang.Object
com.broadleafcommerce.advancedcms.dao.AdvancedStructuredContentDaoImpl
- All Implemented Interfaces:
AdvancedStructuredContentDao
@Repository("blAdvancedStructuredContentDao")
public class AdvancedStructuredContentDaoImpl
extends Object
implements AdvancedStructuredContentDao
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindContentItemByActiveStructuredContent(org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent) Returns the currentContentItems associated with the given StructuredContentList<org.broadleafcommerce.cms.structure.domain.StructuredContent>findOnlineAndIncludedStructuredContent(int limit, int offset) Retrieve a subset of all online and site map included structured content.List<org.broadleafcommerce.cms.structure.domain.StructuredContent>findOnlineAndIncludedStructuredContentByType(org.broadleafcommerce.cms.structure.domain.StructuredContentType scType, int limit, int offset) Retrieve a subset of a specific type of online and site map included structured content.List<org.broadleafcommerce.cms.structure.domain.StructuredContentType>readStructuredContentTypesByCategory(String category) Returns a list ofStructuredContentTypematching the given category
-
Field Details
-
em
protected jakarta.persistence.EntityManager em
-
-
Constructor Details
-
AdvancedStructuredContentDaoImpl
public AdvancedStructuredContentDaoImpl()
-
-
Method Details
-
readStructuredContentTypesByCategory
public List<org.broadleafcommerce.cms.structure.domain.StructuredContentType> readStructuredContentTypesByCategory(String category) Description copied from interface:AdvancedStructuredContentDaoReturns a list ofStructuredContentTypematching the given category- Specified by:
readStructuredContentTypesByCategoryin interfaceAdvancedStructuredContentDao- Returns:
-
findOnlineAndIncludedStructuredContent
public List<org.broadleafcommerce.cms.structure.domain.StructuredContent> findOnlineAndIncludedStructuredContent(int limit, int offset) Description copied from interface:AdvancedStructuredContentDaoRetrieve a subset of all online and site map included structured content.- Specified by:
findOnlineAndIncludedStructuredContentin interfaceAdvancedStructuredContentDao- Parameters:
limit- the maximum number of resultsoffset- the starting point in the record set- Returns:
-
findOnlineAndIncludedStructuredContentByType
public List<org.broadleafcommerce.cms.structure.domain.StructuredContent> findOnlineAndIncludedStructuredContentByType(org.broadleafcommerce.cms.structure.domain.StructuredContentType scType, int limit, int offset) Description copied from interface:AdvancedStructuredContentDaoRetrieve a subset of a specific type of online and site map included structured content.- Specified by:
findOnlineAndIncludedStructuredContentByTypein interfaceAdvancedStructuredContentDaolimit- the maximum number of resultsoffset- the starting point in the record set- Returns:
-
findContentItemByActiveStructuredContent
public List<ContentItem> findContentItemByActiveStructuredContent(org.broadleafcommerce.cms.structure.domain.StructuredContent structuredContent) Description copied from interface:AdvancedStructuredContentDaoReturns the currentContentItems associated with the given StructuredContent- Specified by:
findContentItemByActiveStructuredContentin interfaceAdvancedStructuredContentDao- Returns:
-