|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DigitalAssetChooser
DigitalAssetChooser plugin interface allows a plugin to provide/render the necessary markup/javascript in order to render its DAM workspace UI and allow one to select a DigitalAsset via this workspace.
| Method Summary | |
|---|---|
DigitalAsset.ResourceManagementOption |
getDefaultResourceManagementOption()
Get the default Resource Management Option for this DAM |
java.lang.String |
getName()
Name of this Chooser Plugin, needs to be unique to identify this chooser among all other choosers. |
java.lang.String |
getPreferredDigitalAssetResourceManagerPluginName(DigitalAssetChooserRenderingContext p_rendCtx)
Get the preferred DigitalAssetResourceManagerPlugin name that support items picked/chosen by this chooser. |
java.lang.String |
getProviderName()
Provider/company/product name of the chooser plugin. |
void |
renderDigitalChooser(DigitalAssetChooserRenderingContext p_rendCtx)
Renders the UI widget portion of the DAM chooser. |
boolean |
showResourceManagementOption()
Should this DAM show the resource management option? |
| Methods inherited from interface com.ibm.portal.Localized |
|---|
getDescription, getLocales, getTitle |
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getProviderName()
DigitalAsset.ResourceManagementOption getDefaultResourceManagementOption()
boolean showResourceManagementOption()
void renderDigitalChooser(DigitalAssetChooserRenderingContext p_rendCtx)
throws DigitalAssetException
Once an asset is chosen the value of the p_renderCtx.getId() + "_digital_asset_token_id"
( or p_rendCtx.encode("digital_asset_token_id") ) element
should be set with the path/token of the selected Asset.
WCM will pass the value in this element to the
DigitalAssetResourceManagerPlugin.consumeSelectedAsset() method to
convert the token to DigitalAsset object and associate it with the resource
p_rendCtx - - The renderingContext for the widget
DigitalAssetException - - thrown is any error occurs writing to the writerjava.lang.String getPreferredDigitalAssetResourceManagerPluginName(DigitalAssetChooserRenderingContext p_rendCtx)
p_rendCtx - - The renderingContext for the widget. This will be the same object as sent to DigitalAssetChooserRenderingContext
object passed to the renderDigitalChooser.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||