Interface AssetActionManager


  • public interface AssetActionManager
    • 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 assetPath
      void 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 moved
        destinationPath - destination path
        title - title to be update after move
        references - references list to be updated after move
        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