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

com.adobe.forms.common.service.FormDataProviderRegistry 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 may be covered by U.S. and Foreign Patents,
 * patents in process, 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.common.service;

import java.util.List;

/**
 * Registry for maintaining the implementation of {DataProvider} and {DataXMLProvider}
 * @pad.exclude Exclude from Published API.
 */
public interface FormDataProviderRegistry {

    /**
     * Returns the data Stream given Data Options. If the Service Name is provided in the options then that particular
     * service is used to return the data otherwise all the DataProvider implementations are iterated
     * to return the data and the iteration stops when first implementation returns a non null data.
     * @param options DataOptions for returning the data.
     * @return prefill data that can be used to get the data.
     * @throws FormsException
     */
    public PrefillData getDataFromService(DataOptions options) throws FormsException;

    /**
     * Returns the implementations of DataProviderBase registered for getting the data xml.
     * @return List of DataProviderBase implementations
     */
    public List getProviders();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy