
com.adobe.forms.foundation.service.AssetActionManager Maven / Gradle / Ivy
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
* Copyright 2016 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/
package com.adobe.forms.foundation.service;
import com.adobe.forms.foundation.transfer.AssetInfo;
/**
*
* @author hug82342
*
*Provides APIs for FM and CM asset actions.
* API's will delegate to respective AssetActionHandler
*/
public interface AssetActionManager {
/**
* It will move asset from source path to destination path.
* It will update references with destination path
* @param sourcePath path of asset to be moved
* @param destinationPath destination path
* @param title title to be update after move
* @param references references list to be updated after move
* @throws FormsFoundationException
*/
void moveAsset(String sourcePath, String destinationPath, String title, String references[]) throws FormsFoundationException;
/**
* getAssetInfo returns AssetInfo POJO for provided assetPath
* @param assetPath
* @return
* @throws FormsFoundationException
*/
AssetInfo getAssetInfo(String assetPath) throws FormsFoundationException;
/**
* It will publish provided assets
* @param assetsToBePublished list of assets to be published
* @throws FormsFoundationException
*/
void publishAssets(String assetsToBePublished[]) throws FormsFoundationException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy