public class PollAdapter extends Object implements Poll
Poll.| Constructor and Description |
|---|
PollAdapter(DocumentModel poll) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAnswers() |
Date |
getEndDate() |
String |
getId() |
DocumentModel |
getPollDocument() |
String |
getQuestion() |
Date |
getStartDate() |
boolean |
isClosed() |
boolean |
isInProject() |
boolean |
isOpen() |
public PollAdapter(DocumentModel poll)
public String getQuestion()
getQuestion in interface Pollpublic String[] getAnswers()
getAnswers in interface Pollpublic Date getStartDate()
getStartDate in interface Pollpublic Date getEndDate()
getEndDate in interface Pollpublic boolean isInProject()
isInProject in interface Pollpublic DocumentModel getPollDocument()
getPollDocument in interface PollCopyright © 2013 Nuxeo SA. All Rights Reserved.