public class MyVote extends Object
| Constructor and Description |
|---|
MyVote()
Creates a default vote
|
MyVote(fr.paris.lutece.plugins.document.business.Document document,
Date dateVote,
int nNbTotVotes)
Creates a new vote
|
MyVote(fr.paris.lutece.plugins.document.business.Document document,
Date dateVote,
int nNbTotVotes,
int nNbVotesToutParis,
int nNbVoteArrondissement)
Creates a new vote
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArrondissementUser() |
Date |
getDateVote()
Get the rating date
|
fr.paris.lutece.plugins.document.business.Document |
getDocument()
Get the rated document
|
int |
getNbTotVotes()
Get the total number of votes for the document
|
int |
getTotVotesArrondissement()
Get the total number of votes in TOUT paris for the document
|
int |
getTotVotesToutParis()
Get the total number of votes in TOUT paris for the document
|
boolean |
isVoteVlidated() |
void |
setArrondissementUser(String strArrondissementUser) |
void |
setDateVote(Date dateVote)
Set the rating date
|
void |
setDocument(fr.paris.lutece.plugins.document.business.Document document)
Set the rated document
|
void |
setNbTotVotes(int nNbTotVotes)
Set the total number of votes for the document
|
void |
setNbTotVotesArrondissement(int nNbTotVotesArrondissement)
Set the total number of votes in Arrondissement for the document
|
void |
setNbTotVotesToutParis(int nNbTotVotesToutParis)
Set the total number of votes in tout paris for the document
|
void |
setVoteVlidated(boolean bool) |
public MyVote()
public MyVote(fr.paris.lutece.plugins.document.business.Document document,
Date dateVote,
int nNbTotVotes)
document - The rated documentdateVote - The date of the ratingnNbTotVotes - The total number of votes for this documentpublic MyVote(fr.paris.lutece.plugins.document.business.Document document,
Date dateVote,
int nNbTotVotes,
int nNbVotesToutParis,
int nNbVoteArrondissement)
document - The rated documentdateVote - The date of the ratingnNbTotVotes - The total number of votes for this documentpublic fr.paris.lutece.plugins.document.business.Document getDocument()
public void setDocument(fr.paris.lutece.plugins.document.business.Document document)
document - The rated documentpublic Date getDateVote()
public void setDateVote(Date dateVote)
dateVote - The rating datepublic int getNbTotVotes()
public void setNbTotVotes(int nNbTotVotes)
nNbTotVotes - The total number of votes for the documentpublic int getTotVotesToutParis()
public void setNbTotVotesToutParis(int nNbTotVotesToutParis)
nNbTotVotes - The total number of votes in tout paris for the documentpublic int getTotVotesArrondissement()
public void setNbTotVotesArrondissement(int nNbTotVotesArrondissement)
nNbTotVotes - The total number of votes in Arrondissementfor the documentpublic String getArrondissementUser()
public void setArrondissementUser(String strArrondissementUser)
strArrondissementUser - public boolean isVoteVlidated()
public void setVoteVlidated(boolean bool)
Copyright © 2020 City of Paris. All rights reserved.