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.StringgetAssetPath()Returns the path of AF or IC or other form asset involved in processAssetSubTypegetAssetSubtype()Returns the subtype of the Asset: Draft/Submit/Sign in case of AF, PRINT/WEB in case of IC.AssetTypegetAssetType()Returns the type of Asset being used : MF, AF,IC etcjava.lang.StringgetId()Returns the unique id of the data model or entity eg DraftID,Workflow ID etcjava.lang.StringgetInitiatorId()Returns the id of the user who has saved a draft or started the workflow etcjava.util.CalendargetLastModifiedTime()Returns the time when the model was last modifiedvoidsetDraftId(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:FormsApplicationContextReturns the unique id of the data model or entity eg DraftID,Workflow ID etc- Specified by:
getIdin interfaceFormsApplicationContext
-
setDraftId
public void setDraftId(java.lang.String draftId)
-
getInitiatorId
public java.lang.String getInitiatorId()
Description copied from interface:FormsApplicationContextReturns the id of the user who has saved a draft or started the workflow etc- Specified by:
getInitiatorIdin interfaceFormsApplicationContext
-
getAssetPath
public java.lang.String getAssetPath()
Description copied from interface:FormsApplicationContextReturns the path of AF or IC or other form asset involved in process- Specified by:
getAssetPathin interfaceFormsApplicationContext
-
getAssetType
public AssetType getAssetType()
Description copied from interface:FormsApplicationContextReturns the type of Asset being used : MF, AF,IC etc- Specified by:
getAssetTypein interfaceFormsApplicationContext
-
getAssetSubtype
public AssetSubType getAssetSubtype()
Description copied from interface:FormsApplicationContextReturns the subtype of the Asset: Draft/Submit/Sign in case of AF, PRINT/WEB in case of IC.- Specified by:
getAssetSubtypein interfaceFormsApplicationContext
-
getLastModifiedTime
public java.util.Calendar getLastModifiedTime()
Description copied from interface:FormsApplicationContextReturns the time when the model was last modified- Specified by:
getLastModifiedTimein interfaceFormsApplicationContext
-
-