Package | Description |
---|---|
com.adobe.cq.wcm.core.components.models.datalayer.builder |
This packages defines a helper utility for building data layer models for integration with
Adobe Client Data Layer.
|
Modifier and Type | Method and Description |
---|---|
static AssetDataBuilder |
DataLayerBuilder.extending(@NotNull AssetData assetData)
Get a AssetDataBuilder that extends existing asset data.
|
static AssetDataBuilder |
DataLayerBuilder.forAsset(@NotNull com.day.cq.dam.api.Asset asset)
Get an AssetDataBuilder with standard asset data.
|
@NotNull AssetDataBuilder |
AssetDataBuilder.withFormat(@NotNull Supplier<String> supplier)
Sets the supplier that supplies the Asset's format.
|
@NotNull AssetDataBuilder |
AssetDataBuilder.withLastModifiedDate(@NotNull Supplier<Date> supplier)
Set the supplier that supplies the component's last modified date.
|
@NotNull AssetDataBuilder |
AssetDataBuilder.withSmartTags(@NotNull Supplier<Map<String,Object>> supplier)
Sets the supplier that supplies the Asset's smart tags.
|
@NotNull AssetDataBuilder |
AssetDataBuilder.withTags(@NotNull Supplier<String[]> supplier)
Sets the supplier that supplies the Asset's tags.
|
@NotNull AssetDataBuilder |
AssetDataBuilder.withUrl(@NotNull Supplier<String> supplier)
Sets the supplier that supplies the URL.
|
Modifier and Type | Method and Description |
---|---|
static IdRequiredDataBuilder<AssetDataBuilder,AssetData> |
DataLayerBuilder.forAsset()
Get a AssetDataBuilder for an asset.
|
Copyright © 2021. All rights reserved.