Class DefaultCommonMarketplaceApplicationCatalogService<P extends MarketplaceApplicationCatalog>
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.marketplace.service.DefaultCommonMarketplaceApplicationCatalogService<P>
-
- All Implemented Interfaces:
CommonMarketplaceApplicationCatalogService<P>
public class DefaultCommonMarketplaceApplicationCatalogService<P extends MarketplaceApplicationCatalog> extends Object implements CommonMarketplaceApplicationCatalogService<P>
-
-
Constructor Summary
Constructors Constructor Description DefaultCommonMarketplaceApplicationCatalogService(CommonMarketplaceApplicationCatalogRepository<Trackable> repository, CrudEntityHelper helper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
countByApplication(String application, ContextInfo contextInfo)
List<P>
findByApplicationAndCatalog(String application, String catalog, ContextInfo contextInfo)
List<P>
findByCatalogIn(Collection<String> catalogs, ContextInfo contextInfo)
protected CrudEntityHelper
getHelper()
protected CommonMarketplaceApplicationCatalogRepository<Trackable>
getRepository()
-
-
-
Constructor Detail
-
DefaultCommonMarketplaceApplicationCatalogService
public DefaultCommonMarketplaceApplicationCatalogService(CommonMarketplaceApplicationCatalogRepository<Trackable> repository, CrudEntityHelper helper)
-
-
Method Detail
-
findByApplicationAndCatalog
public List<P> findByApplicationAndCatalog(String application, String catalog, ContextInfo contextInfo)
- Specified by:
findByApplicationAndCatalog
in interfaceCommonMarketplaceApplicationCatalogService<P extends MarketplaceApplicationCatalog>
-
findByCatalogIn
public List<P> findByCatalogIn(Collection<String> catalogs, ContextInfo contextInfo)
- Specified by:
findByCatalogIn
in interfaceCommonMarketplaceApplicationCatalogService<P extends MarketplaceApplicationCatalog>
-
countByApplication
public long countByApplication(String application, ContextInfo contextInfo)
- Specified by:
countByApplication
in interfaceCommonMarketplaceApplicationCatalogService<P extends MarketplaceApplicationCatalog>
-
getRepository
@NonNull protected CommonMarketplaceApplicationCatalogRepository<Trackable> getRepository()
-
getHelper
@NonNull protected CrudEntityHelper getHelper()
-
-