phpDocumentor

ProductDownloadRepository

Interface ProductDownloadRepository

Tags
deprecated

Since 4.7, the gambio shop-system supports submodules. Those product domains will be refactored into submodules too. All important changes will be documented in the developer journal as soon as they are implemented.

Table of Contents

createMultipleProductDownloads()  : ProductOptionIds
createProductDownload()  : ProductOptionId
deleteAllProductDownloadsByProductId()  : void
deleteProductDownloads()  : void
filterProductDownloads()  : ProductDownloads
getProductDownloadById()  : ProductDownload
getProductDownloadsByProductId()  : ProductDownloads
getProductDownloadsTotalCount()  : int
registerOperationPermitter()  : void
storeProductDownloads()  : void

Methods

createProductDownload()

public createProductDownload(ProductId $productId, OptionAndOptionValueId $optionAndOptionValueId, ImageListId $imageListId, OptionValueCustomization $optionValueCustomization, ProductDownloadStock $productDownloadStock, int $sortOrder) : ProductOptionId
Parameters
$productId : ProductId
$optionAndOptionValueId : OptionAndOptionValueId
$imageListId : ImageListId
$optionValueCustomization : OptionValueCustomization
$productDownloadStock : ProductDownloadStock
$sortOrder : int
Tags
throws
InsertionOfProductDownloadsFailedException
throws
ProductDownloadAlreadyExistsException
throws
OperationHasNotBeenPermittedException
Return values
ProductOptionId

Search results