All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.forms.foundation.provider.AssetActionHandler 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.provider;

import com.adobe.forms.foundation.service.FormsFoundationException;
import com.adobe.forms.foundation.transfer.AssetInfo;

/**
 * AssetActionHandler contains method for performing FM/CM asset actions.
 * @author hug82342
 *
 */
public interface AssetActionHandler {

	/**
	 * 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