Package | Description |
---|---|
info.magnolia.dam.api |
Modifier and Type | Method and Description |
---|---|
static ItemKey |
ItemKey.from(String compositeKey) |
ItemKey |
Item.getItemKey() |
ItemKey |
AssetDecorator.getItemKey() |
ItemKey |
AbstractItem.getItemKey() |
Modifier and Type | Method and Description |
---|---|
Asset |
AssetProvider.getAsset(ItemKey assetKey)
Cast-less convenience method for
AssetProvider.getItem(ItemKey) . |
Folder |
AssetProvider.getFolder(ItemKey folderKey)
Cast-less convenience method for
AssetProvider.getItem(ItemKey) . |
Item |
AssetProvider.getItem(ItemKey itemKey)
Returns the item associated with the given
ItemKey , regardless of its type. |
AssetProvider |
AssetProviderRegistry.getProviderFor(ItemKey itemKey)
TODO The below is currently not implemented/implementable, we'd need a canHandle(ItemKey) method on providers
Returns the first provider that declares it can handle this key.
|
Constructor and Description |
---|
AbstractItem(T assetProvider,
ItemKey key) |
AssetProvider.AssetNotFoundException(ItemKey itemKey) |
AssetProvider.IllegalItemKeyException(ItemKey itemKey,
AssetProvider provider,
String reason) |
AssetProviderRegistry.NoSuchAssetProviderException(ItemKey itemKey) |
Copyright © 2015 Magnolia International Ltd.. All rights reserved.