Interface AssetActionHandler
-
public interface AssetActionHandler
AssetActionHandler contains method for performing FM/CM asset actions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssetInfo
getAssetInfo(java.lang.String assetPath)
getAssetInfo returns AssetInfo POJO for provided assetPathvoid
moveAsset(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.void
publishAssets(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 FormsFoundationException
It 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 FormsFoundationException
It will publish provided assets- Parameters:
assetsToBePublished
- list of assets to be published- Throws:
FormsFoundationException
-
-