Package com.adobe.cq.dam.download.api
Interface DownloadService.DownloadSizeValidation
- Enclosing interface:
DownloadService
public static interface DownloadService.DownloadSizeValidation
Represents the result of validating a download.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanAnswer whether the download is permitted.booleanAnswer whether the passed paths represent a single asset download.
-
Method Details
-
canDownload
boolean canDownload()Answer whether the download is permitted.- Returns:
- Whether the download is within acceptable size limits.
-
isSingleAssetDownload
boolean isSingleAssetDownload()Answer whether the passed paths represent a single asset download.- Returns:
- Whether the download consists of a single asset.
-