@Name(value="pollActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class PollActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
SURVEYS_TAB |
Constructor and Description |
---|
PollActions() |
Modifier and Type | Method and Description |
---|---|
String |
backToPollsListing(DocumentModel poll) |
void |
closePoll(DocumentModel poll) |
void |
createPoll() |
boolean |
displayResults(DocumentModel pollDoc) |
DocumentModel |
getNewPoll() |
DocumentModel |
getPollsContainer() |
DocumentModel |
getPollsContainer(DocumentModel doc) |
boolean |
hasUnansweredOpenPolls() |
boolean |
isShowCreateForm() |
void |
openPoll(DocumentModel poll) |
void |
toggleAndReset() |
void |
toggleCreateForm() |
Poll |
toPoll(DocumentModel poll) |
public static final String SURVEYS_TAB
public DocumentModel getPollsContainer() throws ClientException
ClientException
public DocumentModel getPollsContainer(DocumentModel doc) throws ClientException
ClientException
public boolean isShowCreateForm()
public void toggleCreateForm()
public void toggleAndReset()
public DocumentModel getNewPoll() throws ClientException
ClientException
public void createPoll() throws ClientException
ClientException
public Poll toPoll(DocumentModel poll)
public void openPoll(DocumentModel poll) throws ClientException
ClientException
public void closePoll(DocumentModel poll) throws ClientException
ClientException
public String backToPollsListing(DocumentModel poll) throws ClientException
ClientException
public boolean hasUnansweredOpenPolls()
public boolean displayResults(DocumentModel pollDoc)
Copyright © 2013 Nuxeo SA. All Rights Reserved.