|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.dam.api.AssetDecorator info.magnolia.dam.asset.LegacyAssetWrapper info.magnolia.module.templatingkit.dam.STKAssetWrapper
public class STKAssetWrapper
Asset wrapper used by STK.
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.
Overrided properties: - caption - title - description - copyright
Constructor Summary | |
---|---|
STKAssetWrapper(info.magnolia.dam.api.Asset asset,
javax.jcr.Node referringNode)
|
Method Summary | |
---|---|
String |
getCaption()
|
String |
getCopyright()
|
String |
getDescription()
|
String |
getTitle()
|
Methods inherited from class info.magnolia.dam.asset.LegacyAssetWrapper |
---|
getAssetProviderIdentifier, getCustomProperty, getFileExtension, getIdentifier, getMediaType, getMetadata |
Methods inherited from class info.magnolia.dam.api.AssetDecorator |
---|
getAssetProvider, getComment, getContentStream, getCreated, getDecorated, getFileName, getFileSize, getItemKey, getLanguage, getLastModified, getLink, getMetadata, getMimeType, getName, getParent, getPath, getSubject, isAsset, isFolder, unwrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface info.magnolia.dam.asset.Asset |
---|
getComment, getContentStream, getFileName, getFileSize, getLanguage, getLastModified, getLink, getMimeType, getName, getPath, getSubject |
Constructor Detail |
---|
public STKAssetWrapper(info.magnolia.dam.api.Asset asset, javax.jcr.Node referringNode)
asset
- referringNode
- the node that is referring to the asset.Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |