Class DefaultOrphanedMediaDao

java.lang.Object
de.hybris.platform.servicelayer.media.impl.DefaultMediaDao
de.hybris.platform.servicelayer.media.impl.DefaultOrphanedMediaDao
All Implemented Interfaces:
Dao, MediaDao, OrphanedMediaDao

public class DefaultOrphanedMediaDao extends DefaultMediaDao implements OrphanedMediaDao
  • Constructor Details

    • DefaultOrphanedMediaDao

      public DefaultOrphanedMediaDao()
  • Method Details

    • findOrphanedMedias

      public Collection findOrphanedMedias(int start, int count, Map<String,Object> values)
      Description copied from interface: OrphanedMediaDao
      Executes ...
       SELECT {Item.PK} FROM {Media} WHERE {Media.PK}= ?pk_based_filename OR {Media.DATAPK}=?pk_based_filename
       
      Specified by:
      findOrphanedMedias in interface OrphanedMediaDao
      Parameters:
      start - the start number of the search range
      count - the number of elements in this search range
      values - the value map according to all ?<key>
      Returns:
      colelction of MediaModels
    • getMediasCount

      public int getMediasCount()
      Description copied from interface: OrphanedMediaDao
      Returns the total count of all hybris medias.
      Specified by:
      getMediasCount in interface OrphanedMediaDao