public class SuggestSubmit extends Object implements fr.paris.lutece.portal.service.resource.IExtendableResource
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_TYPE |
static int |
STATE_DISABLE |
static int |
STATE_PUBLISH |
static int |
STATE_WAITING_FOR_PUBLISH |
| Constructor and Description |
|---|
SuggestSubmit() |
| Modifier and Type | Method and Description |
|---|---|
Category |
getCategory() |
List<CommentSubmit> |
getComments() |
Timestamp |
getDateResponse()
return the suggest submit date
|
String |
getExtendableResourceDescription() |
String |
getExtendableResourceImageUrl() |
String |
getExtendableResourceName() |
String |
getExtendableResourceType() |
String |
getIdExtendableResource() |
Integer |
getIdImageResource()
the image id resource associate to the suggest submit
|
int |
getIdSuggestSubmit()
return the id of the suggest submit
|
String |
getLuteceUserKey() |
int |
getNumberComment() |
int |
getNumberCommentEnable() |
int |
getNumberScore()
return the score of the suggest submit
|
int |
getNumberView() |
int |
getNumberVote() |
List<ReportedMessage> |
getReportedMessages() |
List<Response> |
getResponses() |
Suggest |
getSuggest() |
int |
getSuggestSubmitOrder() |
SuggestSubmitState |
getSuggestSubmitState() |
String |
getSuggestSubmitTitle() |
SuggestSubmitType |
getSuggestSubmitType() |
String |
getSuggestSubmitValue() |
String |
getSuggestSubmitValueShowInTheList() |
String |
getXml(javax.servlet.http.HttpServletRequest request,
Locale locale)
Returns the xml of this suggest submit
|
boolean |
isDisableComment() |
boolean |
isDisableVote() |
boolean |
isPinned() |
boolean |
isReported()
true if the suggest submit have been reported by people
|
void |
setCategory(Category category)
set the category associated to the suggest submit
|
void |
setComments(List<CommentSubmit> listComments) |
void |
setDateResponse(Timestamp dateResponse)
set the suggest submit date
|
void |
setDisableComment(boolean bDisable)
set true if the vote is disable
|
void |
setDisableVote(boolean bDisable)
set true if the vote is disable
|
void |
setIdImageResource(Integer nIdImageRessource)
set the image id resource associate to the suggest submit
|
void |
setIdSuggestSubmit(int idSuggestSubmit)
set the id of the suggest submit
|
void |
setLuteceUserKey(String strLuteceUserKey)
set the lutece user key associate to the suggest submit
|
void |
setNumberComment(int numberComment)
set the number of comment associated to the suggest submit
|
void |
setNumberCommentEnable(int numberComment)
set the number of enable comment associated to the suggest submit
|
void |
setNumberScore(int numberScore)
set the score of the suggest submit
|
void |
setNumberView(int nNumberView)
set the number of view associated to the suggest submit
|
void |
setNumberVote(int numberVote)
set the number of vote
|
void |
setPinned(boolean bPinned) |
void |
setReported(boolean reported)
set true if the suggest submit have been reported by people
|
void |
setReportedMessages(List<ReportedMessage> listReportedMessages)
set the list of reported Messages
|
void |
setResponses(List<Response> listResponse)
set the list of response associate to the suggest submit
|
void |
setSuggest(Suggest suggest)
set the suggest associate to the submit
|
void |
setSuggestSubmitOrder(int nSuggestSubmitOrder) |
void |
setSuggestSubmitState(SuggestSubmitState submitState)
set the suggest submit state (published,enabled,disabled)
|
void |
setSuggestSubmitTitle(String suggestSubmitTitle)
set the title of the suggest submit
|
void |
setSuggestSubmitType(SuggestSubmitType suggestSubmitType) |
void |
setSuggestSubmitValue(String suggestSubmitValue)
set the suggest submit value
|
void |
setSuggestSubmitValueShowInTheList(String suggestSubmitValue)
set the suggest submit value show in the list of suggest submit
|
public static final String RESOURCE_TYPE
public static final int STATE_DISABLE
public static final int STATE_WAITING_FOR_PUBLISH
public static final int STATE_PUBLISH
public boolean isReported()
public void setReported(boolean reported)
reported - true if the suggest submit have been reported by peoplepublic String getSuggestSubmitTitle()
public void setSuggestSubmitTitle(String suggestSubmitTitle)
suggestSubmitTitle - the title of the suggest submitpublic Suggest getSuggest()
public void setSuggest(Suggest suggest)
suggest - the suggest associate to the submitpublic int getIdSuggestSubmit()
public void setIdSuggestSubmit(int idSuggestSubmit)
idSuggestSubmit - the id of the suggest submitpublic Timestamp getDateResponse()
public void setDateResponse(Timestamp dateResponse)
dateResponse - suggest submit datepublic List<Response> getResponses()
public void setResponses(List<Response> listResponse)
listResponse - the list of response associate to the suggest submitpublic SuggestSubmitState getSuggestSubmitState()
public void setSuggestSubmitState(SuggestSubmitState submitState)
submitState - the suggest submit state (published,enabled,disabled)public Category getCategory()
public void setCategory(Category category)
category - the category associated to the suggest submitpublic int getNumberVote()
public void setNumberVote(int numberVote)
numberVote - the number of votepublic int getNumberScore()
public void setNumberScore(int numberScore)
numberScore - the score of the suggest submitpublic String getSuggestSubmitValue()
public void setSuggestSubmitValue(String suggestSubmitValue)
suggestSubmitValue - the suggest submit valuepublic String getSuggestSubmitValueShowInTheList()
public void setSuggestSubmitValueShowInTheList(String suggestSubmitValue)
suggestSubmitValue - the suggest submit value show in the list of suggest
submitpublic int getNumberCommentEnable()
public void setNumberCommentEnable(int numberComment)
numberComment - the number of enable comment associated to the suggest
submitpublic int getNumberComment()
public void setNumberComment(int numberComment)
numberComment - the number of comment associated to the suggest submitpublic int getNumberView()
public void setNumberView(int nNumberView)
nNumberView - the number of view associated to the suggest submitpublic String getLuteceUserKey()
public void setLuteceUserKey(String strLuteceUserKey)
strLuteceUserKey - the lutece user key associate to the suggest submitpublic String getXml(javax.servlet.http.HttpServletRequest request, Locale locale)
request - The HTTP Servlet requestlocale - the Localepublic void setComments(List<CommentSubmit> listComments)
listComments - the _listComments to setpublic List<CommentSubmit> getComments()
public void setSuggestSubmitOrder(int nSuggestSubmitOrder)
nSuggestSubmitOrder - the _nSuggestSubmitOrder to setpublic int getSuggestSubmitOrder()
public void setSuggestSubmitType(SuggestSubmitType suggestSubmitType)
suggestSubmitType - the suggestSubmitType to setpublic SuggestSubmitType getSuggestSubmitType()
public boolean isDisableVote()
public void setDisableVote(boolean bDisable)
bDisable - true if the vote is disablepublic boolean isDisableComment()
public void setDisableComment(boolean bDisable)
bDisable - true if the comment is disablepublic boolean isPinned()
public void setPinned(boolean bPinned)
bPinned - true if the suggestsubmit is pinnedpublic List<ReportedMessage> getReportedMessages()
public void setReportedMessages(List<ReportedMessage> listReportedMessages)
listReportedMessages - the list of reported Messagespublic String getIdExtendableResource()
getIdExtendableResource in interface fr.paris.lutece.portal.service.resource.IExtendableResourcepublic String getExtendableResourceType()
getExtendableResourceType in interface fr.paris.lutece.portal.service.resource.IExtendableResourcepublic String getExtendableResourceName()
getExtendableResourceName in interface fr.paris.lutece.portal.service.resource.IExtendableResourcepublic String getExtendableResourceDescription()
getExtendableResourceDescription in interface fr.paris.lutece.portal.service.resource.IExtendableResourcepublic String getExtendableResourceImageUrl()
getExtendableResourceImageUrl in interface fr.paris.lutece.portal.service.resource.IExtendableResourcepublic Integer getIdImageResource()
public void setIdImageResource(Integer nIdImageRessource)
nIdImageRessource - the image id resource associate to the suggest
submitCopyright © 2018 City of Paris. All rights reserved.