@ProviderType
public interface AssetPerformanceTracker
AssetPerformanceTracker
interface provides the methods for
reading and setting the asset performance record.Modifier and Type | Method and Description |
---|---|
long |
getAssetClickCount(Asset asset)
Gets the asset click count for the
asset . |
long |
getAssetImpressionCount(Asset asset)
Gets the asset impression count for the
asset . |
void |
setAssetClick(Asset asset,
java.lang.Long count)
Sets the asset click count for the
asset . |
void |
setAssetImpression(Asset asset,
java.lang.Long count)
Sets the asset impression count for the
asset . |
void |
setAssetPerformance(Asset asset,
java.lang.Long impressionCount,
java.lang.Long clickCount)
Sets the asset click and impression count for the
asset . |
long getAssetImpressionCount(Asset asset)
asset
.asset
- the assets whose impression count is to be foundlong getAssetClickCount(Asset asset)
asset
.asset
- the assets whose click count is to be foundvoid setAssetClick(Asset asset, java.lang.Long count) throws PersistenceException
asset
.asset
- the assets whose click count is to be setcount
- the click count to be setPersistenceException
- thrown in case of error while setting the asset click countvoid setAssetImpression(Asset asset, java.lang.Long count) throws PersistenceException
asset
.asset
- the assets whose impression count is to be setcount
- the impression count to be setPersistenceException
- thrown in case of error while setting the asset impression countvoid setAssetPerformance(Asset asset, java.lang.Long impressionCount, java.lang.Long clickCount) throws PersistenceException
asset
.asset
- the assets whose click and impression count is to be setclickCount
- the click count to be setimpressionCount
- the impression count to be setPersistenceException
- thrown in case of error while setting the asset click or impression countCopyright © 2010 - 2020 Adobe. All Rights Reserved