Interface DigitalAssetComponentServices
public interface DigitalAssetComponentServices
Provides methods for using Digital Asset Component services.
- Since:
- 1.6.0
-
Method Summary
Modifier and TypeMethodDescriptionattach
(List<DigitalAssetKey> keys) Attaches digital assets to the media field.detach
(List<DigitalAssetKey> keys) Detach digital assets from the media field.Returns the keys of digital assets attached to the media field.Uploads a new digital asset.Uploads new digital asset and attaches it to the media field.
-
Method Details
-
getDigitalAssetKeys
Returns the keys of digital assets attached to the media field.- Throws:
DAMException
-
attach
Attaches digital assets to the media field.- Parameters:
keys
- the keys- Returns:
- the operation execution status
-
upload
Uploads a new digital asset.- Parameters:
resource
- the resource- Returns:
- the new digital asset
- Throws:
DAMException
-
upload
Uploads new digital asset and attaches it to the media field.- Parameters:
resources
- the resourcesaction
- the action to determine with the new assets- Returns:
- the operation execution status
-
detach
Detach digital assets from the media field.- Parameters:
keys
- the digital asset keys- Returns:
- the operation execution status
-