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.String
getGuideDraftState(java.lang.String draftID)
Gets the Draft state of the adaptive formPrefillData
getPrefillData(DataOptions options)
Returns Data given the data options object.java.lang.String
getServiceDescription()
Description of the Service to be shown in the Dropdown where service selection is shown.java.lang.String
getServiceName()
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 GuideException
Description copied from interface:GuideDraftStateProvider
Gets the Draft state of the adaptive form- Specified by:
getGuideDraftState
in 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:DataProvider
Returns Data given the data options object. The implementations can decide which options to use and determine the correct data to be returned.- Specified by:
getPrefillData
in 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:DataProviderBase
Description of the Service to be shown in the Dropdown where service selection is shown.- Specified by:
getServiceDescription
in interfaceDataProviderBase
- Returns:
- service description
-
getServiceName
public java.lang.String getServiceName()
Description copied from interface:DataProviderBase
Returns the name of the service that can be used in the SERVICE protocol. i.e. service:///path - Specified by:
getServiceName
in interfaceDataProviderBase
- Returns:
- service name
-
-