Package org.motechproject.mots.domain
Class CallFlowElement
- java.lang.Object
-
- org.motechproject.mots.domain.BaseEntity
-
- org.motechproject.mots.domain.BaseTimestampedEntity
-
- org.motechproject.mots.domain.IvrObject
-
- org.motechproject.mots.domain.CallFlowElement
-
- Direct Known Subclasses:
Message,MultipleChoiceQuestion
@Entity public abstract class CallFlowElement extends IvrObject
This class is a base class for all IVR interactive classes (e.g.Message,MultipleChoiceQuestion) which are the actual content in the Viamo (the audio files played to the user).
-
-
Constructor Summary
Constructors Constructor Description CallFlowElement(java.lang.String ivrId, java.lang.String ivrName, Unit unit, java.lang.String name, java.lang.String content, CallFlowElementType type, java.lang.Integer listOrder)Create new Call Flow Element.CallFlowElement(CallFlowElementType type)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract CallFlowElementcopyAsNewDraft(Unit unit)
-
-
-
Constructor Detail
-
CallFlowElement
public CallFlowElement(CallFlowElementType type)
-
CallFlowElement
public CallFlowElement(java.lang.String ivrId, java.lang.String ivrName, Unit unit, java.lang.String name, java.lang.String content, CallFlowElementType type, java.lang.Integer listOrder)Create new Call Flow Element.- Parameters:
ivrId- ivr id of elementivrName- ivr name of elementunit- unit of elementname- name of elementcontent- content of elementtype- type of elementlistOrder- order of element
-
-
Method Detail
-
copyAsNewDraft
public abstract CallFlowElement copyAsNewDraft(Unit unit)
-
-