Class DefaultStaticPackageDao

java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<StaticPackageModel>
de.hybris.platform.staticpackageservices.dao.impl.DefaultStaticPackageDao
All Implemented Interfaces:
de.hybris.platform.servicelayer.internal.dao.GenericDao<StaticPackageModel>, StaticPackageDao

public class DefaultStaticPackageDao extends de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<StaticPackageModel> implements StaticPackageDao
The Static Package Dao implementation of StaticPackageDao interface.
  • Constructor Details

    • DefaultStaticPackageDao

      public DefaultStaticPackageDao(String typecode)
      Instantiates a new Default static package dao.
      Parameters:
      typecode - the typecode
  • Method Details

    • findStaticPackageWithNoDealBundleTemplate

      public de.hybris.platform.servicelayer.search.SearchResult<StaticPackageModel> findStaticPackageWithNoDealBundleTemplate(CatalogVersionModel catalogVersion, Integer batchSize, int offset)
      Finds all the static packages for which no deal bundle template hasn't been created yet.
      Specified by:
      findStaticPackageWithNoDealBundleTemplate in interface StaticPackageDao
      Parameters:
      catalogVersion - the catalogVersion
      batchSize - the batchSize
      offset - the offset
      Returns:
      the search result of static packages