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 Poll
public String[] getAnswers()
getAnswers
in interface Poll
public Date getStartDate()
getStartDate
in interface Poll
public Date getEndDate()
getEndDate
in interface Poll
public boolean isInProject()
isInProject
in interface Poll
public DocumentModel getPollDocument()
getPollDocument
in interface Poll
Copyright © 2013 Nuxeo SA. All Rights Reserved.