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

com.adobe.fd.fp.service.SubmittedAFDataService Maven / Gradle / Ivy

/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2014 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.fd.fp.service;

import java.util.Map;

import com.adobe.fd.fp.exception.FormsPortalException;

/**
 * SubmittedAFDataService service will get/delete/submit user data (attachments and form data) filled in Adaptive Form  
 * 
 */
@Deprecated
public interface SubmittedAFDataService {
	
	/**
	 * Submits the user data passed in argument map
	 * 
	 * @param submittedAFUserdataMap This map contains Form Data (key - "guideState"), Adaptive Form Name (Key - "guideName"), and Draft DataID (Key - "userDataID")
	 * @return status string to be set to 0 if user data not submitted properly otherwise 1 only
	 * @throws FormsPortalException
	 */
	public String submitAFUserData (Map submittedAFUserdataMap) throws FormsPortalException;
	
	/**
	 * Gets the user data stored against the ID passed as argument
	 * 
	 * @param submitDataID
	 * @return guideState which would be used to open DOR
	 * @throws FormsPortalException
	 */
	public byte[] getSubmittedAFUSerData(String submitDataID) throws FormsPortalException;
	
	/**
	 * Deletes user data stored against the ID passed as argument
	 * 
	 * @param Submit DataID
	 * @return status of the delete operation on Submitted User data
	 * @throws FormsPortalException
	 */
	
	public Boolean deleteSubmittedAFUserData(String submitDataID) throws FormsPortalException;
	
	/**
	 * Submits the attachment bytes passed as argument
	 * 
	 * @param attachmentsBytes would expect byte array of the attachment to be saved
	 * @return id for the attachment just saved (so that it could be retrieved later) 
	 * @throws FormsPortalException
	 */
	public String submitAttachments(Object attachmentBytes) throws FormsPortalException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy