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

com.adobe.fd.fp.service.DraftAndSubmissionUtilService 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.fd.fp.service;

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

public interface DraftAndSubmissionUtilService {
	/**
	 * deletes the Attachment and updates the list
	 * @param draftID
	 * @param AttachmentKey
	 * @return success or failure
	 * @throws FormsPortalException
	 */
    public boolean deleteAttachment(String draftID, String attachmentKey) throws FormsPortalException;

    /**
	 * deletes the draft and attachments
	 * @param draftID
	 * @return success or failure
	 * @throws FormsPortalException
	 */
    public boolean deleteDraft(String draftID) throws FormsPortalException;
    
    /** Deletes the pending sign instance and its attachments as well as data.
     * @param psInstanceID
     * @return
     * @throws Exception
     */
    public boolean deletePendingSignInstance(String psInstanceID) throws FormsPortalException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy