Package com.adobe.fd.fp.api.models
Class DraftModel
- java.lang.Object
-
- com.adobe.fd.fp.api.models.CommonModel
-
- com.adobe.fd.fp.api.models.DraftModel
-
- All Implemented Interfaces:
FormsApplicationContext
public class DraftModel extends CommonModel implements FormsApplicationContext
Class represent the properties to be persisted as part of Draft via portal. Extends the Portal Common Model and implements the USC FormsApplicationContext. Its the top level entity that will be fetched/updated/deleted.
-
-
Constructor Summary
Constructors Constructor Description DraftModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAssetPath()
Returns the path of AF or IC or other form asset involved in processAssetSubType
getAssetSubtype()
Returns the subtype of the Asset: Draft/Submit/Sign in case of AF, PRINT/WEB in case of IC.AssetType
getAssetType()
Returns the type of Asset being used : MF, AF,IC etcjava.lang.String
getId()
Returns the unique id of the data model or entity eg DraftID,Workflow ID etcjava.lang.String
getInitiatorId()
Returns the id of the user who has saved a draft or started the workflow etcjava.util.Calendar
getLastModifiedTime()
Returns the time when the model was last modifiedvoid
setDraftId(java.lang.String draftId)
-
Methods inherited from class com.adobe.fd.fp.api.models.CommonModel
getCreationTime, getFormData, getFormPath, getFormSubType, getFormType, getLastModified, getOwner, setCreationTime, setFormData, setFormPath, setFormSubType, setFormType, setLastModified, setOwner
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adobe.forms.foundation.usc.model.FormsApplicationContext
getCreationTime
-
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:FormsApplicationContext
Returns the unique id of the data model or entity eg DraftID,Workflow ID etc- Specified by:
getId
in interfaceFormsApplicationContext
-
setDraftId
public void setDraftId(java.lang.String draftId)
-
getInitiatorId
public java.lang.String getInitiatorId()
Description copied from interface:FormsApplicationContext
Returns the id of the user who has saved a draft or started the workflow etc- Specified by:
getInitiatorId
in interfaceFormsApplicationContext
-
getAssetPath
public java.lang.String getAssetPath()
Description copied from interface:FormsApplicationContext
Returns the path of AF or IC or other form asset involved in process- Specified by:
getAssetPath
in interfaceFormsApplicationContext
-
getAssetType
public AssetType getAssetType()
Description copied from interface:FormsApplicationContext
Returns the type of Asset being used : MF, AF,IC etc- Specified by:
getAssetType
in interfaceFormsApplicationContext
-
getAssetSubtype
public AssetSubType getAssetSubtype()
Description copied from interface:FormsApplicationContext
Returns the subtype of the Asset: Draft/Submit/Sign in case of AF, PRINT/WEB in case of IC.- Specified by:
getAssetSubtype
in interfaceFormsApplicationContext
-
getLastModifiedTime
public java.util.Calendar getLastModifiedTime()
Description copied from interface:FormsApplicationContext
Returns the time when the model was last modified- Specified by:
getLastModifiedTime
in interfaceFormsApplicationContext
-
-