Class SliderWriteService
category |
System |
---|---|
package |
Slider |
__construct(\SliderRepositoryInterface $sliderRepository, \SlideRepositoryInterface $slideRepository, \SlideImageRepositoryInterface $slideImageRepository, \SlideImageAreaRepositoryInterface $slideImageAreaRepository, \SliderAssignmentRepositoryInterface $sliderAssignmentRepository, \SlideImageFileStorage $slideImageFileStorage)
\SliderRepositoryInterface
\SlideRepositoryInterface
\SlideImageRepositoryInterface
\SlideImageAreaRepositoryInterface
\SliderAssignmentRepositoryInterface
\SlideImageFileStorage
addSlide(\IdType $sliderId, \SlideInterface $slide) : \SlideInterface
\IdType
\SlideInterface
\SlideInterface
The stored Slide instance.
addSlideImage(\IdType $slideId, \SlideImageInterface $slideImage) : \SlideImageInterface
\IdType
\SlideImageInterface
\SlideImageInterface
The stored SlideImage instance.
addSlideImageArea(\IdType $slideImageId, \SlideImageAreaInterface $slideImageArea) : \SlideImageAreaInterface
\IdType
\SlideImageAreaInterface
\SlideImageAreaInterface
The stored SlideImageArea instance.
deleteSlideById(\IdType $slideId) : \SliderWriteServiceInterface
deleteSlideImageAreaById(\IdType $slideImageAreaId) : \SliderWriteServiceInterface
\IdType
\SliderWriteServiceInterface
Same instance for method chaining.
deleteSlideImageAreasBySlideImageId(\IdType $slideImageId) : \SliderWriteServiceInterface
\IdType
\SliderWriteServiceInterface
Same instance for method chaining.
deleteSlideImageById(\IdType $slideImageId) : \SliderWriteServiceInterface
\IdType
\SliderWriteServiceInterface
Same instance for method chaining.
deleteSlideImageFile(\FilenameStringType $filename) : \SliderWriteServiceInterface
deleteSliderAssignmentByCategoryId(\IdType $categoryId) : \SliderWriteServiceInterface
\IdType
\SliderWriteServiceInterface
Same instance for method chaining.
deleteSliderAssignmentByContentId(\IdType $contentId) : \SliderWriteServiceInterface
\IdType
\SliderWriteServiceInterface
Same instance for method chaining.
deleteSliderAssignmentByProductId(\IdType $productId) : \SliderWriteServiceInterface
\IdType
\SliderWriteServiceInterface
Same instance for method chaining.
deleteSliderAssignmentsBySliderId(\IdType $sliderId) : \SliderWriteServiceInterface
deleteSliderById(\IdType $sliderId) : \SliderWriteServiceInterface
deleteSlideThumbnailImageFile(\FilenameStringType $filename) : \SliderWriteServiceInterface
importSlideImageFile(\ExistingFile $sourceFile, \FilenameStringType $preferredFilename) : string
Use this method for importing an uploaded file to the correct slides directory.
Throws |
|
---|
string
New filename.
importSlideThumbnailImageFile(\ExistingFile $sourceFile, \FilenameStringType $preferredFilename) : string
Use this method for importing an uploaded file to the correct thumbnails directory.
Throws |
|
---|
string
New filename.
renameSlideImageFile(\FilenameStringType $oldName, \FilenameStringType $newName) : \SliderWriteServiceInterface
Throws |
|
---|
\SliderWriteServiceInterface
Same instance for method chaining.
renameSlideThumbnailImageFile(\FilenameStringType $oldName, \FilenameStringType $newName) : \SliderWriteServiceInterface
Throws |
|
---|
\SliderWriteServiceInterface
Same instance for method chaining.
saveSlider(\SliderInterface $slider) : \SliderInterface
saveSliderAssignmentForCategoryId(\IdType $sliderId, \IdType $categoryId) : \SliderWriteServiceInterface
\IdType
\IdType
\SliderWriteServiceInterface
Same instance for method chaining.
saveSliderAssignmentForContentId(\IdType $sliderId, \IdType $contentId) : \SliderWriteServiceInterface
\IdType
\IdType
\SliderWriteServiceInterface
Same instance for method chaining.
saveSliderAssignmentForProductId(\IdType $sliderId, \IdType $productId) : \SliderWriteServiceInterface
\IdType
\IdType
\SliderWriteServiceInterface
Same instance for method chaining.
setStartPageSlider(\IdType $sliderId) : \SliderWriteServiceInterface