Package com.day.cq.dam.usage.api
Interface UsageReplicationService
public interface UsageReplicationService
The Interface UsageReplicationService provide APIs for replicating the asset
usage information between shared system.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisSharedAsset(Asset asset) Checks if is asset is shred between systemvoidreplicateAssetUsageRecord(Asset asset, AssetUsageRecord usageRecord) Replicate the asset usage record with the shared system.
-
Method Details
-
replicateAssetUsageRecord
void replicateAssetUsageRecord(Asset asset, AssetUsageRecord usageRecord) throws PersistenceException, ReplicationException Replicate the asset usage record with the shared system.- Parameters:
asset- for which usage information need to be replicatedusageRecord- the AssetUsageRecord- Throws:
PersistenceException- the persistence exceptionReplicationException- the replication exception