Constructor and Description |
---|
PollChatlet() |
Modifier and Type | Method and Description |
---|---|
Chatlet |
alias(java.lang.String type)
After calling this method, replies to this chatlet
will go to the method annotated with @OnAlias
|
Comment |
createComment()
Creates a new comment that will go as a comment to this chatlet.
|
Reply |
createReply()
Creates a new reply that will go as a reply to this chatlet.
|
Chatlet |
disableMultipleReplies()
Method disables multiple replies in the chatlet for a single user.
|
Chatlet |
enableMultipleReplies()
Method enables multiple replies in the chatlet for a single user.
|
java.lang.String[] |
getAlias()
Get alias assigned to the chatlet.
|
java.lang.String |
getFormId() |
java.lang.String |
getMetaInfo()
Method to get meta information with the chatlet that was added using setMetaInfo(String info).
|
java.lang.String |
raw() |
PollChatlet |
setDetailsLabel(java.lang.String detailsLabel) |
Chatlet |
setDisplayName(java.lang.String displayName)
Method to set the display name of the chatlet.
|
Chatlet |
setExpiry(long epocSeconds)
Method to set expiry time of the chatlet
|
void |
setFormId(java.lang.String formid)
Assign a form id to the chatlet
|
Chatlet |
setLocale(java.lang.String datelocale)
Method to set the locale in the chatlet.
|
Chatlet |
setLocale(java.lang.String datelocale,
java.lang.String dateformat)
Method to set the locale and the date format in the chatlet.
|
void |
setMetaInfo(java.lang.String info)
Method to add meta information with the chatlet.
|
PollChatlet |
setQuestion(java.lang.String question) |
PollChatlet |
setQuestionHtml(java.lang.String question) |
void |
setXSLTForChatlet(java.lang.String xslt)
This method allows to set the xslt to be used for rendering the chatlet.
|
PollChatlet |
showDetails(boolean show) |
public PollChatlet setQuestion(java.lang.String question)
public PollChatlet setQuestionHtml(java.lang.String question)
public PollChatlet setDetailsLabel(java.lang.String detailsLabel)
public PollChatlet showDetails(boolean show)
public Reply createReply()
Chatlet
createReply
in interface Chatlet
public Chatlet alias(java.lang.String type)
Chatlet
public java.lang.String[] getAlias()
Chatlet
public java.lang.String raw()
public void setFormId(java.lang.String formid)
Message
public java.lang.String getFormId()
public void setXSLTForChatlet(java.lang.String xslt)
Chatlet
setXSLTForChatlet
in interface Chatlet
public Comment createComment()
Chatlet
createComment
in interface Chatlet
public void setMetaInfo(java.lang.String info)
Chatlet
setMetaInfo
in interface Chatlet
public java.lang.String getMetaInfo()
Chatlet
getMetaInfo
in interface Chatlet
public Chatlet setLocale(java.lang.String datelocale)
Chatlet
public Chatlet setLocale(java.lang.String datelocale, java.lang.String dateformat)
Chatlet
public Chatlet setExpiry(long epocSeconds)
Chatlet
public Chatlet setDisplayName(java.lang.String displayName)
Chatlet
setDisplayName
in interface Chatlet
public Chatlet enableMultipleReplies()
Chatlet
enableMultipleReplies
in interface Chatlet
public Chatlet disableMultipleReplies()
Chatlet
disableMultipleReplies
in interface Chatlet