Package com.adobe.fd.fp.external
Class FormsPortalDraftDataProviderImpl
- java.lang.Object
-
- com.adobe.fd.fp.external.FormsPortalDraftDataProviderImpl
-
- All Implemented Interfaces:
GuideDraftStateProvider,DataProvider,DataProviderBase
@Service({GuideDraftStateProvider.class,DataProvider.class}) public class FormsPortalDraftDataProviderImpl extends java.lang.Object implements GuideDraftStateProvider, DataProvider
-
-
Field Summary
-
Fields inherited from interface com.adobe.forms.common.service.DataProviderBase
DATA_PROVIDER_LABEL, DATA_PROVIDER_NAME, PROTOCOL_CRX, PROTOCOL_FILE, PROTOCOL_HTTP, PROTOCOL_HTTPS
-
-
Constructor Summary
Constructors Constructor Description FormsPortalDraftDataProviderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGuideDraftState(java.lang.String draftID)Gets the Draft state of the adaptive formPrefillDatagetPrefillData(DataOptions options)Returns Data given the data options object.java.lang.StringgetServiceDescription()Description of the Service to be shown in the Dropdown where service selection is shown.java.lang.StringgetServiceName()Returns the name of the service that can be used in the SERVICE protocol.
-
-
-
Method Detail
-
getGuideDraftState
public java.lang.String getGuideDraftState(java.lang.String draftID) throws GuideExceptionDescription copied from interface:GuideDraftStateProviderGets the Draft state of the adaptive form- Specified by:
getGuideDraftStatein interfaceGuideDraftStateProvider- Parameters:
draftID- The path containing the state- Returns:
- the string containing the state of adaptive form
- Throws:
GuideException- if something goes wrong
-
getPrefillData
public PrefillData getPrefillData(DataOptions options) throws FormsException
Description copied from interface:DataProviderReturns Data given the data options object. The implementations can decide which options to use and determine the correct data to be returned.- Specified by:
getPrefillDatain interfaceDataProvider- Parameters:
options- options for helping the implementations for returning the data.- Returns:
- data given a set of options.
- Throws:
FormsException
-
getServiceDescription
public java.lang.String getServiceDescription()
Description copied from interface:DataProviderBaseDescription of the Service to be shown in the Dropdown where service selection is shown.- Specified by:
getServiceDescriptionin interfaceDataProviderBase- Returns:
- service description
-
getServiceName
public java.lang.String getServiceName()
Description copied from interface:DataProviderBaseReturns the name of the service that can be used in the SERVICE protocol. i.e. service:///path - Specified by:
getServiceNamein interfaceDataProviderBase- Returns:
- service name
-
-