AssetDecorator
instead.@Deprecated public class STKAssetWrapper extends info.magnolia.dam.asset.LegacyAssetWrapper
This wrapper override some Asset properties if they are defined on the Content node.
If the property is not present in the content node, return the-one defined on the Asset.
Overwritten properties:
Constructor and Description |
---|
STKAssetWrapper(info.magnolia.dam.api.Asset asset,
javax.jcr.Node referringNode)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getCaption()
Deprecated.
|
String |
getCopyright()
Deprecated.
|
String |
getDescription()
Deprecated.
|
String |
getTitle()
Deprecated.
|
getAssetProviderIdentifier, getCustomProperty, getFileExtension, getIdentifier, getMediaType, getMetadata, supports
getAssetProvider, getComment, getContentStream, getCreated, getDecorated, getFileName, getFileSize, getItemKey, getLanguage, getLastModified, getLink, getMetadata, getMimeType, getName, getParent, getPath, getSubject, isAsset, isFolder, unwrap
public STKAssetWrapper(info.magnolia.dam.api.Asset asset, javax.jcr.Node referringNode)
asset
- the assetreferringNode
- the node that is referring to the asset.public String getCaption()
getCaption
in interface info.magnolia.dam.api.Asset
getCaption
in class info.magnolia.dam.api.AssetDecorator
public String getTitle()
getTitle
in interface info.magnolia.dam.api.Asset
getTitle
in class info.magnolia.dam.api.AssetDecorator
public String getDescription()
getDescription
in interface info.magnolia.dam.api.Asset
getDescription
in class info.magnolia.dam.api.AssetDecorator
public String getCopyright()
getCopyright
in interface info.magnolia.dam.api.Asset
getCopyright
in class info.magnolia.dam.api.AssetDecorator
Copyright © 2008–2015 Magnolia International Ltd.. All rights reserved.