SliderWriteServiceInterface

Extends

Interface SliderWriteServiceInterface

category

System

package

Slider

subpackage

Interfaces

Methods

Saves a Slide to the database and delegates to child-repositories.

addSlide(\IdType $sliderId, \SlideInterface $slide) : \SlideInterface

Arguments

$sliderId

\IdType

Response

\SlideInterface

The stored Slide instance.

Saves a SlideImage to the database.

addSlideImage(\IdType $slideId, \SlideImageInterface $slideImage) : \SlideImageInterface

Arguments

$slideId

\IdType

$slideImage

\SlideImageInterface

Response

\SlideImageInterface

The stored SlideImage instance.

Saves a SlideAreaImage to the database.

addSlideImageArea(\IdType $slideImageId, \SlideImageAreaInterface $slideImageArea) : \SlideImageAreaInterface

Arguments

$slideImageId

\IdType

$slideImageArea

\SlideImageAreaInterface

Response

\SlideImageAreaInterface

The stored SlideImageArea instance.

Deletes a Slide by the given slide ID.

deleteSlideById(\IdType $slideId) : \SliderWriteServiceInterface

Arguments

$slideId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Deletes a SlideImageArea by the given slide image area ID.

deleteSlideImageAreaById(\IdType $slideImageAreaId) : \SliderWriteServiceInterface

Arguments

$slideImageAreaId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Deletes SlideImageAreas by the given slide image ID.

deleteSlideImageAreasBySlideImageId(\IdType $slideImageId) : \SliderWriteServiceInterface

Arguments

$slideImageId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Deletes a SlideImage by the given slide image ID.

deleteSlideImageById(\IdType $slideImageId) : \SliderWriteServiceInterface

Arguments

$slideImageId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Delete a slide image file.

deleteSlideImageFile(\FilenameStringType $filename) : \SliderWriteServiceInterface

Arguments

$filename

\FilenameStringType

The filename of the slide image to be removed.

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Deletes a slider assignment by the given category ID.

deleteSliderAssignmentByCategoryId(\IdType $categoryId) : \SliderWriteServiceInterface

Arguments

$categoryId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Deletes a slider assignment by the given content ID.

deleteSliderAssignmentByContentId(\IdType $contentId) : \SliderWriteServiceInterface

Arguments

$contentId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Deletes a slider assignment by the given product ID.

deleteSliderAssignmentByProductId(\IdType $productId) : \SliderWriteServiceInterface

Arguments

$productId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Deletes all slider assignments by the given slider ID.

deleteSliderAssignmentsBySliderId(\IdType $sliderId) : \SliderWriteServiceInterface

Arguments

$sliderId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Deletes a Slider by the given slider ID.

deleteSliderById(\IdType $sliderId) : \SliderWriteServiceInterface

Arguments

$sliderId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Delete a slide image thumbnail file.

deleteSlideThumbnailImageFile(\FilenameStringType $filename) : \SliderWriteServiceInterface

Arguments

$filename

\FilenameStringType

The filename of the slide image thumbnail to be removed.

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Import slide image file.

importSlideImageFile(\ExistingFile $sourceFile, \FilenameStringType $preferredFilename) : \SliderWriteServiceInterface

Use this method for importing an uploaded file to the correct slides directory.

Arguments

$sourceFile

\ExistingFile

The existing file to import.

$preferredFilename

\FilenameStringType

The preferred filename.

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Import slide image thumbnail file.

importSlideThumbnailImageFile(\ExistingFile $sourceFile, \FilenameStringType $preferredFilename) : \SliderWriteServiceInterface

Use this method for importing an uploaded file to the correct thumbnails directory.

Arguments

$sourceFile

\ExistingFile

The existing file to import.

$preferredFilename

\FilenameStringType

The preferred filename.

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Rename a slide image file.

renameSlideImageFile(\FilenameStringType $oldName, \FilenameStringType $newName) : \SliderWriteServiceInterface

Arguments

$oldName

\FilenameStringType

The old name of the slide image file.

$newName

\FilenameStringType

The new name of the slide image file.

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Rename a slide image thumbnail file.

renameSlideThumbnailImageFile(\FilenameStringType $oldName, \FilenameStringType $newName) : \SliderWriteServiceInterface

Arguments

$oldName

\FilenameStringType

The old name of the slide image thumbnail file.

$newName

\FilenameStringType

The new name of the slide image thumbnail file.

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Saves a Slider to the database and delegates to child-repositories.

saveSlider(\SliderInterface $slider) : \SliderInterface

Arguments

Response

\SliderInterface

The stored Slider instance.

Inserts a slider assignment for the given category ID into the database.

saveSliderAssignmentForCategoryId(\IdType $sliderId, \IdType $categoryId) : \SliderWriteServiceInterface

Arguments

$sliderId

\IdType

$categoryId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Inserts a slider assignment for the given content ID into the database.

saveSliderAssignmentForContentId(\IdType $sliderId, \IdType $contentId) : \SliderWriteServiceInterface

Arguments

$sliderId

\IdType

$contentId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Inserts a slider assignment for the given product ID into the database.

saveSliderAssignmentForProductId(\IdType $sliderId, \IdType $productId) : \SliderWriteServiceInterface

Arguments

$sliderId

\IdType

$productId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.

Set the Slider for the start page.

setStartPageSlider(\IdType $sliderId) : \SliderWriteServiceInterface

Arguments

$sliderId

\IdType

Response

\SliderWriteServiceInterface

Same instance for method chaining.