Interface OrphanedMediaDao

All Superinterfaces:
Dao, MediaDao
All Known Implementing Classes:
DefaultOrphanedMediaDao

public interface OrphanedMediaDao extends MediaDao
Dao for finding elements concerning orphaned media handling.
  • Method Details

    • findOrphanedMedias

      Collection findOrphanedMedias(int start, int count, Map<String,Object> values)
      Executes ...
       SELECT {Item.PK} FROM {Media} WHERE {Media.PK}= ?pk_based_filename OR {Media.DATAPK}=?pk_based_filename
       
      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

      int getMediasCount()
      Returns the total count of all hybris medias.