|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.workplace.wcm.api.extensions.digitalasset.AbstractDigitalAssetResourceManagerPlugin
public abstract class AbstractDigitalAssetResourceManagerPlugin
Abstract helper class that implements the methods with default returns or exceptions as not implemented.
| Constructor Summary | |
|---|---|
AbstractDigitalAssetResourceManagerPlugin()
|
|
| Method Summary | |
|---|---|
DigitalAsset |
consumeSelectedAsset(java.lang.String arg0,
DigitalAsset asset)
Consumes a selected asset. |
java.io.InputStream |
getAssetInputStream(DigitalAsset arg0)
Gets InputStrem to the given DigitalAsset. |
DigitalAssetResourceSerializer |
getDigitalAssetResourceSerializer()
Serializer object to allow a DigitalAssetID and DigitalAssetMetaData to be serialized to and from Strings. |
boolean |
supportsInputStream()
Check if the provider supports InputStreams and the DigitalAssetResourceManagerPlugin.getAssetInputStream(DigitalAsset) method. |
boolean |
supportsType(java.lang.Class<? extends Resource> resourceType)
Check if the provider supports the given resource type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ibm.workplace.wcm.api.extensions.digitalasset.DigitalAssetResourceManagerPlugin |
|---|
canHandle, canHandle, createDigitalAssetID, getName, getProviderName, getRenderableDigitalAssetURLString, getRenderableRenditionNameString, getRenderableRenditionURLString, getRenditionInputStream |
| Constructor Detail |
|---|
public AbstractDigitalAssetResourceManagerPlugin()
| Method Detail |
|---|
public DigitalAsset consumeSelectedAsset(java.lang.String arg0,
DigitalAsset asset)
throws DigitalAssetException
DigitalAssetResourceManagerPluginThe token parameter is the string provided by the chooser plugin when an asset is selected
consumeSelectedAsset in interface DigitalAssetResourceManagerPluginarg0 - - selected path of a DigitalAssetasset - - the current DigitalAsset into which the selected asset should be consumed into.
DigitalAssetException - - thrown if any exception occurred getting the InputStream
public java.io.InputStream getAssetInputStream(DigitalAsset arg0)
throws DigitalAssetException,
PropertyRetrievalException
DigitalAssetResourceManagerPluginDigitalAssetResourceManagerPlugin.supportsInputStream()
if the provider does support input streams.
getAssetInputStream in interface DigitalAssetResourceManagerPluginarg0 - - DigitalAsset the InputStream is to be retrieved for
DigitalAssetException - - thrown if any exception occurred getting the InputStream
PropertyRetrievalException - if the file cannot be retrieved, or provider does not
support input streams.public DigitalAssetResourceSerializer getDigitalAssetResourceSerializer()
DigitalAssetResourceManagerPlugin
getDigitalAssetResourceSerializer in interface DigitalAssetResourceManagerPluginpublic boolean supportsType(java.lang.Class<? extends Resource> resourceType)
DigitalAssetResourceManagerPlugin
supportsType in interface DigitalAssetResourceManagerPluginresourceType - - the resource type to check for
public boolean supportsInputStream()
DigitalAssetResourceManagerPluginDigitalAssetResourceManagerPlugin.getAssetInputStream(DigitalAsset) method.
supportsInputStream in interface DigitalAssetResourceManagerPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||