Interface AssetActionHandler
-
public interface AssetActionHandlerAssetActionHandler contains method for performing FM/CM asset actions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetInfogetAssetInfo(java.lang.String assetPath)getAssetInfo returns AssetInfo POJO for provided assetPathvoidmoveAsset(java.lang.String sourcePath, java.lang.String destinationPath, java.lang.String title, java.lang.String[] references)It will move asset from source path to destination path.voidpublishAssets(java.lang.String[] assetsToBePublished)It will publish provided assets
-
-
-
Method Detail
-
moveAsset
void moveAsset(java.lang.String sourcePath, java.lang.String destinationPath, java.lang.String title, java.lang.String[] references) throws FormsFoundationExceptionIt will move asset from source path to destination path. It will update references with destination path- Parameters:
sourcePath- path of asset to be moveddestinationPath- destination pathtitle- title to be update after movereferences- references list to be updated after move- Throws:
FormsFoundationException
-
getAssetInfo
AssetInfo getAssetInfo(java.lang.String assetPath) throws FormsFoundationException
getAssetInfo returns AssetInfo POJO for provided assetPath- Parameters:
assetPath-- Returns:
- Throws:
FormsFoundationException
-
publishAssets
void publishAssets(java.lang.String[] assetsToBePublished) throws FormsFoundationExceptionIt will publish provided assets- Parameters:
assetsToBePublished- list of assets to be published- Throws:
FormsFoundationException
-
-