org.exoplatform.poll.service
Class Poll
java.lang.Object
org.exoplatform.poll.service.Poll
public class Poll
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Poll
public Poll()
Poll
public Poll(String id)
getId
public String getId()
setId
public void setId(String id)
setIsAdmin
public void setIsAdmin(String isAdmin)
getIsAdmin
public String getIsAdmin()
getParentPath
public String getParentPath()
setParentPath
public void setParentPath(String path)
setOldParentPath
public void setOldParentPath(String oldParentPath)
getOldParentPath
public String getOldParentPath()
getTopicId
public String getTopicId()
- This method should calculate the id of the topic base on the id of the post
- Returns:
getForumId
public String getForumId()
- This method should calculate the id of the forum base on the id of the post
- Returns:
getOwner
public String getOwner()
setOwner
public void setOwner(String owner)
getCreatedDate
public Date getCreatedDate()
setCreatedDate
public void setCreatedDate(Date createdDate)
getModifiedBy
public String getModifiedBy()
setModifiedBy
public void setModifiedBy(String modifiedBy)
getModifiedDate
public Date getModifiedDate()
setModifiedDate
public void setModifiedDate(Date modifiedDate)
getQuestion
public String getQuestion()
setQuestion
public void setQuestion(String question)
getTimeOut
public long getTimeOut()
setTimeOut
public void setTimeOut(long timeOut)
getOption
public String[] getOption()
setOption
public void setOption(String[] option)
getVote
public String[] getVote()
setVote
public void setVote(String[] vote)
getUserVote
public String[] getUserVote()
setUserVote
public void setUserVote(String[] userVote)
getIsMultiCheck
public boolean getIsMultiCheck()
setIsMultiCheck
public void setIsMultiCheck(boolean isMultiCheck)
getIsClosed
public boolean getIsClosed()
setIsClosed
public void setIsClosed(boolean isClosed)
getIsAgainVote
public boolean getIsAgainVote()
setIsAgainVote
public void setIsAgainVote(boolean isAgainVote)
getLastVote
public Date getLastVote()
setLastVote
public void setLastVote(Date lastVote)
setShowVote
public void setShowVote(boolean showVote)
getShowVote
public boolean getShowVote()
setVotes
public void setVotes()
getVotes
public String getVotes()
setInfoVote
public void setInfoVote()
getInfoVote
public String[] getInfoVote()
setExpire
public void setExpire(String expire)
getExpire
public String getExpire()
getLink
public String getLink()
- Returns:
- the link
setLink
public void setLink(String link)
- Parameters:
link - the link to set
isInTopic
public boolean isInTopic()
- Returns:
- the isInTopic
setInTopic
public void setInTopic(boolean isInTopic)
- Parameters:
isInTopic - the isInTopic to set
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.