Interface SlideRepositoryInterface

Interface SlideRepositoryInterface

Direct known implementers

SlideRepository

Methods summary

public getBySliderId( IdType $sliderId ) : SlideCollection

Returns a SlideCollection instance by the given slider ID.

public getById( IdType $slideId ) : SlideInterface

Returns a Slide instance by the given slide ID.

public getBySliderIdAndLanguageId( IdType $sliderId, IdType $languageId ) : SlideCollection

Returns a SlideCollection with all existing Slide objects by the given slider ID and language ID.

public store( IdType $sliderId, SlideInterface $slide ) : SlideRepositoryInterface

Stores a Slide to the database.

public deleteSlideById( IdType $slideId ) : SlideRepositoryInterface

Deletes a Slide by the given slide ID.

public isSlideThumbnailImageFileUsed( FilenameStringType $filename, IdType $slideId ) : boolean

Check if an image file is used by another slide entry.

public unsetSlideThumbnailReference( FilenameStringType $filename ) : SlideRepositoryInterface

Unset the thumbnail filename references in other slide thumbnail entry by the given filename.