| Constructor and Description |
|---|
Poll() |
public Long getPollId()
public void setPollId(Long id)
public String getOwner()
public void setOwner(String owner)
public String getSiteId()
public void setSiteId(String siteId)
public Date getCreationDate()
public void setCreationDate(Date creationDate)
public String getText()
public void setText(String poll)
public void setMinOptions(int value)
public int getMinOptions()
public void setMaxOptions(int value)
public int getMaxOptions()
public void setVoteOpen(Date value)
public Date getVoteOpen()
public void setVoteOpenStr(String value)
public String getVoteOpenStr()
public void setVoteClose(Date value)
public Date getVoteClose()
public void setVoteCloseStr(String value)
public String getVoteCloseStr()
public String getPollText()
public void setPollText(String pollText)
public String getDescription()
public void setDescription(String description)
public boolean isCurrentUserVoted()
public void setCurrentUserVoted(boolean currentUserVoted)
public void setDisplayResult(String value)
display - String which can be:
open - can be viewd at any time
never - not diplayed
afterVoting - after user has voted
afterClosing - once the vote has closedpublic String getDisplayResult()
public void setVotes(List<Vote> value)
votes - public void addVote(Vote vote)
vote - public void addOption(Option option)
public void setLimitVoting(boolean value)
public boolean getLimitVoting()
public void setDetails(String value)
public String getDetails()
public String getReference()
getReference in interface Entitypublic String getReference(String arg0)
getReference in interface Entitypublic void setId(String s)
public boolean getIsPublic()
public void setIsPublic(boolean isPublic)
public ResourceProperties getProperties()
getProperties in interface EntityCopyright © 2003–2018 Sakai Project. All rights reserved.