|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssetProvider
Expose methods in order to access the Asset from a particular provider.
Classes implementing the AssetProvider
are responsible for physical
access to the Asset and its media.
Method Summary | |
---|---|
Asset |
getAsset(String assetIdentifier)
Retrieve an Asset based on an assetIdentifier. |
String |
getAssetIdentifierForPath(String assetPath)
Return the Asset Identifier referenced by this path. |
AssetMap |
getAssetMap(Asset asset)
Return the AssetMap representation of the Asset. |
List<Asset> |
getAssetsForFilter(AssetFilter assetFilter)
Retrieve an Asset List based on an AssetFilter . |
List<Asset> |
getAssetsFromFolderId(String folderIdentifier)
Retrieve an Asset List based on an asset Identifier. |
List<Asset> |
getAssetsFromFolderPath(String folderPath)
Retrieve an Asset List based on an asset Folder. |
String |
getIdentifier()
Return the AssetProvider identifier. |
Rendition |
getRendition(Asset asset,
String renditionName)
Return the specified Asset Rendition. |
String |
getURI(Asset asset,
String uriPrefix)
Get URI link to the Asset. |
Method Detail |
---|
String getIdentifier()
Asset getAsset(String assetIdentifier)
String getAssetIdentifierForPath(String assetPath)
List<Asset> getAssetsFromFolderPath(String folderPath)
List<Asset> getAssetsFromFolderId(String folderIdentifier)
List<Asset> getAssetsForFilter(AssetFilter assetFilter)
String getURI(Asset asset, String uriPrefix)
Rendition getRendition(Asset asset, String renditionName) throws NoSuchRenditionException, DamException
NoSuchRenditionException
DamException
AssetMap getAssetMap(Asset asset)
AssetMap
representation of the Asset. AssetMap is
mainly used in Templates to simplify data access.
asset
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |