Interface FormDataProviderRegistry


  • public interface FormDataProviderRegistry
    Registry for maintaining the implementation of {DataProvider} and {DataXMLProvider}
    • Method Detail

      • getDataFromService

        PrefillData getDataFromService​(DataOptions options)
                                throws FormsException
        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.
        Parameters:
        options - DataOptions for returning the data.
        Returns:
        prefill data that can be used to get the data.
        Throws:
        FormsException
      • getProviders

        java.util.List<DataProviderBase> getProviders()
        Returns the implementations of DataProviderBase registered for getting the data xml.
        Returns:
        List of DataProviderBase implementations