Interface SlideImageRepositoryInterface

Interface SlideImageRepositoryInterface

Direct known implementers

SlideImageRepository

Methods summary

public getBySlideId( IdType $slideId ) : SlideImageCollection

Returns a SlideImageCollection instance by the given slide ID.

public getById( IdType $slideImageId ) : SlideImageInterface

Returns a SlideImage instance by the given slide image ID.

public getBySlideIdAndLanguageId( IdType $slideId, IdType $languageId ) : SlideImageCollection

Returns a SlideImageCollection with all existing SlideImage objects by the given slide ID and language ID.

public store( IdType $slideId, SlideImageInterface $slideImage ) : SlideImageRepositoryInterface

Stores a SlideImage to the database.

public deleteSlideImageById( IdType $slideImageId ) : SlideImageRepositoryInterface

Deletes a SlideImage by the given slide image ID.

public isSlideImageFileUsed( FilenameStringType $filename, IdType $slideImageId ) : boolean

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

public unsetSlideImageReference( FilenameStringType $filename ) : SlideImageRepositoryInterface

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