org.exoplatform.poll.service
Class Poll

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

public class Poll
extends Object


Constructor Summary
Poll()
           
Poll(String id)
           
 
Method Summary
 Date getCreatedDate()
           
 String getExpire()
           
 String getForumId()
          This method should calculate the id of the forum base on the id of the post
 String getId()
           
 String[] getInfoVote()
           
 String getIsAdmin()
           
 boolean getIsAgainVote()
           
 boolean getIsClosed()
           
 boolean getIsMultiCheck()
           
 Date getLastVote()
           
 String getLink()
           
 String getModifiedBy()
           
 Date getModifiedDate()
           
 String getOldParentPath()
           
 String[] getOption()
           
 String getOwner()
           
 String getParentPath()
           
 String getQuestion()
           
 boolean getShowVote()
           
 long getTimeOut()
           
 String getTopicId()
          This method should calculate the id of the topic base on the id of the post
 String[] getUserVote()
           
 String[] getVote()
           
 String getVotes()
           
 boolean isInTopic()
           
 void setCreatedDate(Date createdDate)
           
 void setExpire(String expire)
           
 void setId(String id)
           
 void setInfoVote()
           
 void setInTopic(boolean isInTopic)
           
 void setIsAdmin(String isAdmin)
           
 void setIsAgainVote(boolean isAgainVote)
           
 void setIsClosed(boolean isClosed)
           
 void setIsMultiCheck(boolean isMultiCheck)
           
 void setLastVote(Date lastVote)
           
 void setLink(String link)
           
 void setModifiedBy(String modifiedBy)
           
 void setModifiedDate(Date modifiedDate)
           
 void setOldParentPath(String oldParentPath)
           
 void setOption(String[] option)
           
 void setOwner(String owner)
           
 void setParentPath(String path)
           
 void setQuestion(String question)
           
 void setShowVote(boolean showVote)
           
 void setTimeOut(long timeOut)
           
 void setUserVote(String[] userVote)
           
 void setVote(String[] vote)
           
 void setVotes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Poll

public Poll()

Poll

public Poll(String id)
Method Detail

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–2014 eXo Platform SAS. All rights reserved.