org.exoplatform.forum.service
Class Poll

java.lang.Object
  extended by org.exoplatform.forum.service.Poll

public class Poll
extends java.lang.Object

Created by The eXo Platform SARL Author : Vu Duy Tu tu.duy@exoplatform.com Octo 25, 2007


Constructor Summary
Poll()
           
 
Method Summary
 java.util.Date getCreatedDate()
           
 java.lang.String getForumId()
          This method should calculate the id of the forum base on the id of the post
 java.lang.String getId()
           
 boolean getIsAgainVote()
           
 boolean getIsClosed()
           
 boolean getIsMultiCheck()
           
 java.lang.String getModifiedBy()
           
 java.util.Date getModifiedDate()
           
 java.lang.String[] getOption()
           
 java.lang.String getOwner()
           
 java.lang.String getQuestion()
           
 long getTimeOut()
           
 java.lang.String getTopicId()
          This method should calculate the id of the topic base on the id of the post
 java.lang.String[] getUserVote()
           
 java.lang.String[] getVote()
           
 void setCreatedDate(java.util.Date createdDate)
           
 void setId(java.lang.String id)
           
 void setIsAgainVote(boolean isAgainVote)
           
 void setIsClosed(boolean isClosed)
           
 void setIsMultiCheck(boolean isMultiCheck)
           
 void setModifiedBy(java.lang.String modifiedBy)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setOption(java.lang.String[] option)
           
 void setOwner(java.lang.String owner)
           
 void setQuestion(java.lang.String question)
           
 void setTimeOut(long timeOut)
           
 void setUserVote(java.lang.String[] userVote)
           
 void setVote(java.lang.String[] vote)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Poll

public Poll()
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getTopicId

public java.lang.String getTopicId()
This method should calculate the id of the topic base on the id of the post

Returns:

getForumId

public java.lang.String getForumId()
This method should calculate the id of the forum base on the id of the post

Returns:

getOwner

public java.lang.String getOwner()

setOwner

public void setOwner(java.lang.String owner)

getCreatedDate

public java.util.Date getCreatedDate()

setCreatedDate

public void setCreatedDate(java.util.Date createdDate)

getModifiedBy

public java.lang.String getModifiedBy()

setModifiedBy

public void setModifiedBy(java.lang.String modifiedBy)

getModifiedDate

public java.util.Date getModifiedDate()

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)

getQuestion

public java.lang.String getQuestion()

setQuestion

public void setQuestion(java.lang.String question)

getTimeOut

public long getTimeOut()

setTimeOut

public void setTimeOut(long timeOut)

getOption

public java.lang.String[] getOption()

setOption

public void setOption(java.lang.String[] option)

getVote

public java.lang.String[] getVote()

setVote

public void setVote(java.lang.String[] vote)

getUserVote

public java.lang.String[] getUserVote()

setUserVote

public void setUserVote(java.lang.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)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.