Interface MetadataAwareAsset
- 
- All Superinterfaces:
- BaseAsset,- FolderContainedAsset,- NamedAsset,- PermissionsCapableAsset
 - All Known Subinterfaces:
- Block,- FeedBlock,- File,- Folder,- IndexBlock,- Page,- PublishableAsset,- Symlink,- TextBlock,- TwitterFeedBlock,- XHTMLDataDefinitionBlock,- XMLBlock
 
 public interface MetadataAwareAsset extends FolderContainedAsset Identifies that an asset is capable of carrying metadata.- Since:
- 4.7
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLabel()java.util.List<FolderContainedAsset>getLinkingAssets()MetadatagetMetadata()Get the asset's metadataMetadataSetgetMetadataSet()java.lang.StringgetMetadataSetId()- 
Methods inherited from interface com.hannonhill.cascade.api.asset.common.BaseAssetgetAssetId, getAssetType, getIdentifer
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.home.FolderContainedAssetgetCreatedBy, getCreatedOn, getFolderOrder, getIdentifier, getLastModified, getLastModifiedBy, getParentFolder, getParentFolderIdentifier, getPath, getSite, getSiteId, getSiteName, getTags, isHideSystemName, setHideSystemName, setParentFolder, setParentFolderIdentifier
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.common.NamedAssetgetName, setName
 - 
Methods inherited from interface com.hannonhill.cascade.api.asset.common.PermissionsCapableAssetisCurrentUserCanRead, isCurrentUserCanWrite, isUserCanRead, isUserCanWrite
 
- 
 
- 
- 
- 
Method Detail- 
getMetadataMetadata getMetadata() Get the asset's metadata- Returns:
- an object representing the metadata, never null.
 
 - 
getMetadataSetMetadataSet getMetadataSet() - Returns:
- Returns the asset's metadata set
 
 - 
getMetadataSetIdjava.lang.String getMetadataSetId() 
 - 
getLinkingAssetsjava.util.List<FolderContainedAsset> getLinkingAssets() - Returns:
- Returns assets that link to this asset in their content through [system-asset] links, links in XML/XHTML and data definition chooser fields.
 
 - 
getLabeljava.lang.String getLabel() - Specified by:
- getLabelin interface- NamedAsset
- Returns:
- Returns asset's label, which is asset's display name, title or name, whichever one is first in that order
 
 
- 
 
-