Package | Description |
---|---|
info.magnolia.dam.api |
Modifier and Type | Class and Description |
---|---|
class |
AbstractItem<T extends AssetProvider>
Common superclass for any dam Item.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAssetProvider
Convenient abstract base class for
implementations . |
Modifier and Type | Method and Description |
---|---|
AssetProvider |
Item.getAssetProvider() |
AssetProvider |
AssetDecorator.getAssetProvider() |
AssetProvider |
AssetProviderRegistry.getProviderById(String providerId) |
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.
|
Modifier and Type | Method and Description |
---|---|
Iterator<AssetProvider> |
AssetProviderRegistry.getAllProviders() |
Iterator<AssetProvider> |
AssetProviderRegistry.getProvidersFor(com.google.common.net.MediaType... mediaTypes)
Returns a Iterator of
AssetProvider that support the requested mediaTypes; returns an empty Iterator
if none. |
Constructor and Description |
---|
AssetProvider.IllegalItemKeyException(ItemKey itemKey,
AssetProvider provider,
String reason) |
Copyright © 2015 Magnolia International Ltd.. All rights reserved.