public class DiggSubmit 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 |
---|
DiggSubmit() |
Modifier and Type | Method and Description |
---|---|
Category |
getCategory() |
List<CommentSubmit> |
getComments() |
Timestamp |
getDateResponse()
return the digg submit date
|
Digg |
getDigg() |
int |
getDiggSubmitOrder() |
DiggSubmitState |
getDiggSubmitState() |
String |
getDiggSubmitTitle() |
DiggSubmitType |
getDiggSubmitType() |
String |
getDiggSubmitValue() |
String |
getDiggSubmitValueShowInTheList() |
String |
getExtendableResourceDescription() |
String |
getExtendableResourceImageUrl() |
String |
getExtendableResourceName() |
String |
getExtendableResourceType() |
int |
getIdDiggSubmit()
return the id of the digg submit
|
String |
getIdExtendableResource() |
Integer |
getIdImageResource()
the image id resource associate to the digg submit
|
String |
getLuteceUserKey() |
int |
getNumberComment() |
int |
getNumberCommentEnable() |
int |
getNumberScore()
return the score of the digg submit
|
int |
getNumberView() |
int |
getNumberVote() |
List<ReportedMessage> |
getReportedMessages() |
List<Response> |
getResponses() |
String |
getXml(javax.servlet.http.HttpServletRequest request,
Locale locale)
Returns the xml of this digg submit
|
boolean |
isDisableComment() |
boolean |
isDisableVote() |
boolean |
isPinned() |
boolean |
isReported()
true if the digg submit have been reported by people
|
void |
setCategory(Category category)
set the category associated to the digg submit
|
void |
setComments(List<CommentSubmit> listComments) |
void |
setDateResponse(Timestamp dateResponse)
set the digg submit date
|
void |
setDigg(Digg digg)
set the digg associate to the submit
|
void |
setDiggSubmitOrder(int nDiggSubmitOrder) |
void |
setDiggSubmitState(DiggSubmitState submitState)
set the digg submit state (published,enabled,disabled)
|
void |
setDiggSubmitTitle(String diggSubmitTitle)
set the title of the digg submit
|
void |
setDiggSubmitType(DiggSubmitType diggSubmitType) |
void |
setDiggSubmitValue(String diggSubmitValue)
set the digg submit value
|
void |
setDiggSubmitValueShowInTheList(String diggSubmitValue)
set the digg submit value show in the list of digg submit
|
void |
setDisableComment(boolean bDisable)
set true if the vote is disable
|
void |
setDisableVote(boolean bDisable)
set true if the vote is disable
|
void |
setIdDiggSubmit(int idDiggSubmit)
set the id of the digg submit
|
void |
setIdImageResource(Integer nIdImageRessource)
set the image id resource associate to the digg submit
|
void |
setLuteceUserKey(String strLuteceUserKey)
set the lutece user key associate to the digg submit
|
void |
setNumberComment(int numberComment)
set the number of comment associated to the digg submit
|
void |
setNumberCommentEnable(int numberComment)
set the number of enable comment associated to the digg submit
|
void |
setNumberScore(int numberScore)
set the score of the digg submit
|
void |
setNumberView(int nNumberView)
set the number of view associated to the digg submit
|
void |
setNumberVote(int numberVote)
set the number of vote
|
void |
setPinned(boolean bPinned) |
void |
setReported(boolean reported)
set true if the digg 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 digg 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 digg submit have been reported by peoplepublic String getDiggSubmitTitle()
public void setDiggSubmitTitle(String diggSubmitTitle)
diggSubmitTitle
- the title of the digg submitpublic Digg getDigg()
public void setDigg(Digg digg)
digg
- the digg associate to the submitpublic int getIdDiggSubmit()
public void setIdDiggSubmit(int idDiggSubmit)
idDiggSubmit
- the id of the digg submitpublic Timestamp getDateResponse()
public void setDateResponse(Timestamp dateResponse)
dateResponse
- digg submit datepublic List<Response> getResponses()
public void setResponses(List<Response> listResponse)
listResponse
- the list of response associate to the digg submitpublic DiggSubmitState getDiggSubmitState()
public void setDiggSubmitState(DiggSubmitState submitState)
submitState
- the digg submit state (published,enabled,disabled)public Category getCategory()
public void setCategory(Category category)
category
- the category associated to the digg 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 digg submitpublic String getDiggSubmitValue()
public void setDiggSubmitValue(String diggSubmitValue)
diggSubmitValue
- the digg submit valuepublic String getDiggSubmitValueShowInTheList()
public void setDiggSubmitValueShowInTheList(String diggSubmitValue)
diggSubmitValue
- the digg submit value show in the list of digg
submitpublic int getNumberCommentEnable()
public void setNumberCommentEnable(int numberComment)
numberComment
- the number of enable comment associated to the digg
submitpublic int getNumberComment()
public void setNumberComment(int numberComment)
numberComment
- the number of comment associated to the digg submitpublic int getNumberView()
public void setNumberView(int nNumberView)
nNumberView
- the number of view associated to the digg submitpublic String getLuteceUserKey()
public void setLuteceUserKey(String strLuteceUserKey)
strLuteceUserKey
- the lutece user key associate to the digg 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 setDiggSubmitOrder(int nDiggSubmitOrder)
nDiggSubmitOrder
- the _nDiggSubmitOrder to setpublic int getDiggSubmitOrder()
public void setDiggSubmitType(DiggSubmitType diggSubmitType)
diggSubmitType
- the diggSubmitType to setpublic DiggSubmitType getDiggSubmitType()
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 diggsubmit 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.IExtendableResource
public String getExtendableResourceType()
getExtendableResourceType
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceName()
getExtendableResourceName
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceDescription()
getExtendableResourceDescription
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public String getExtendableResourceImageUrl()
getExtendableResourceImageUrl
in interface fr.paris.lutece.portal.service.resource.IExtendableResource
public Integer getIdImageResource()
public void setIdImageResource(Integer nIdImageRessource)
nIdImageRessource
- the image id resource associate to the digg
submitCopyright © 2016 Mairie de Paris. All Rights Reserved.