public class SubmitFilter extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_INT |
static int |
ID_ASC |
static int |
ID_DESC |
static int |
ID_FALSE |
static int |
ID_PARENT_NULL |
static int |
ID_TRUE |
static int |
SORT_BY_DATE_MODIFY_ASC |
static int |
SORT_BY_DATE_MODIFY_DESC |
static int |
SORT_BY_DATE_RESPONSE_ASC |
static int |
SORT_BY_DATE_RESPONSE_DESC |
static int |
SORT_BY_NUMBER_COMMENT_ASC |
static int |
SORT_BY_NUMBER_COMMENT_DESC |
static int |
SORT_BY_NUMBER_VIEW_ASC |
static int |
SORT_BY_NUMBER_VIEW_DESC |
static int |
SORT_BY_NUMBER_VOTE_ASC |
static int |
SORT_BY_NUMBER_VOTE_DESC |
static int |
SORT_BY_PINNED_FIRST |
static int |
SORT_BY_SCORE_ASC |
static int |
SORT_BY_SCORE_DESC |
static int |
SORT_MANUALLY |
| Constructor and Description |
|---|
SubmitFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsDateFirst() |
boolean |
containsDateLast() |
boolean |
containsIdCategory() |
boolean |
containsIdCommentSubmitState() |
boolean |
containsIdContainsCommentDisable() |
boolean |
containsIdEntry() |
boolean |
containsIdParent() |
boolean |
containsIdPinned() |
boolean |
containsIdReported() |
boolean |
containsIdSuggest() |
boolean |
containsIdSuggestSubmit() |
boolean |
containsIdSuggestSubmitState() |
boolean |
containsIdType() |
boolean |
containsLuteceUserKey() |
boolean |
containsNumberVote() |
boolean |
containsSortBy() |
boolean |
containsSortBy(Integer nSort) |
boolean |
convertIdBoolean(int nIdBoolean)
convert a int to a boolean
|
Timestamp |
getDateFirst() |
Timestamp |
getDateLast() |
int |
getIdCategory() |
int |
getIdCommentSubmitState() |
int |
getIdContainsCommentDisable() |
int |
getIdEntry() |
int |
getIdParent() |
int |
getIdPinned() |
int |
getIdReported() |
int |
getIdSuggest() |
int |
getIdSuggestSubmit() |
int |
getIdSuggestSubmitState() |
int |
getIdType() |
String |
getLuteceUserKey() |
int |
getNumberVote() |
List<Integer> |
getSortBy()
return the list of sort
|
void |
setDateFirst(Timestamp begin)
set the date of the first submit
|
void |
setDateLast(Timestamp end)
set the date of the last submit
|
void |
setIdCategory(int nIdCategory)
set the id of the category in the filter
|
void |
setIdCommentSubmitState(int nIdState)
Set the comment submit state
|
void |
setIdContainsCommentDisable(int nIdContainsCommentDisable) |
void |
setIdEntry(int nIdEntry)
set the id of entry depend in the filter
|
void |
setIdParent(int nIdParent)
set the id of the suggest in the filter
|
void |
setIdPinned(int nIdPinned)
set 1 if the suggestsubmit return must be pinned
0 if the suggestsubmit return must not be pinned
|
void |
setIdReported(int nIdReported)
set 1 if the suggests return must be reported
0 if the suggests return must not be reported
|
void |
setIdSuggest(int nIdSuggest)
set the id of the suggest in the filter
|
void |
setIdSuggestSubmit(int nIdSuggestSubmit)
set the id of the suggest submit in the filter
|
void |
setIdSuggestSubmitState(int idState)
Set the suggest submit state
|
void |
setIdType(int nIdType)
set the id of the type in the filter
|
void |
setLuteceUserKey(String strLuteceUserKey) |
void |
setNumberVote(int nNumberVote)
set the number of vote in the filter
|
void |
setSortBy(List<Integer> listSortBy)
set the list of sort
|
public static final int SORT_BY_DATE_RESPONSE_ASC
public static final int SORT_BY_DATE_RESPONSE_DESC
public static final int SORT_BY_SCORE_ASC
public static final int SORT_BY_SCORE_DESC
public static final int SORT_BY_NUMBER_COMMENT_ASC
public static final int SORT_BY_NUMBER_COMMENT_DESC
public static final int SORT_BY_NUMBER_VOTE_ASC
public static final int SORT_BY_NUMBER_VOTE_DESC
public static final int SORT_MANUALLY
public static final int SORT_BY_NUMBER_VIEW_ASC
public static final int SORT_BY_NUMBER_VIEW_DESC
public static final int SORT_BY_DATE_MODIFY_ASC
public static final int SORT_BY_DATE_MODIFY_DESC
public static final int SORT_BY_PINNED_FIRST
public static final int ALL_INT
public static final int ID_TRUE
public static final int ID_FALSE
public static final int ID_ASC
public static final int ID_DESC
public static final int ID_PARENT_NULL
public int getIdSuggest()
public void setIdSuggest(int nIdSuggest)
nIdSuggest - the id of suggest to insert in the filterpublic boolean containsIdSuggest()
public int getIdSuggestSubmitState()
public void setIdSuggestSubmitState(int idState)
idState - the suggest submit statepublic boolean containsIdSuggestSubmitState()
public int getIdCommentSubmitState()
public void setIdCommentSubmitState(int nIdState)
nIdState - the comment submit statepublic boolean containsIdCommentSubmitState()
public int getIdSuggestSubmit()
public void setIdSuggestSubmit(int nIdSuggestSubmit)
nIdSuggestSubmit - the id of suggest submit to insert in the filterpublic boolean containsIdSuggestSubmit()
public int getIdEntry()
public void setIdEntry(int nIdEntry)
nIdEntry - the id of entry depend to insert in the filterpublic boolean containsIdEntry()
public Timestamp getDateFirst()
public void setDateFirst(Timestamp begin)
begin - date of the first submitpublic boolean containsDateFirst()
public Timestamp getDateLast()
public void setDateLast(Timestamp end)
end - the date of the last submitpublic boolean containsDateLast()
public void setSortBy(List<Integer> listSortBy)
listSortBy - the list of sortpublic boolean containsSortBy()
public boolean containsSortBy(Integer nSort)
nSort - The sortpublic boolean convertIdBoolean(int nIdBoolean)
nIdBoolean - the id to convertpublic int getIdCategory()
public void setIdCategory(int nIdCategory)
nIdCategory - the id of the category to insert in the filterpublic boolean containsIdCategory()
public int getIdReported()
public void setIdReported(int nIdReported)
nIdReported - idReportedpublic boolean containsIdReported()
public int getNumberVote()
public void setNumberVote(int nNumberVote)
nNumberVote - the number of votepublic boolean containsNumberVote()
public void setLuteceUserKey(String strLuteceUserKey)
strLuteceUserKey - the _strLuteceUserKey to setpublic String getLuteceUserKey()
public boolean containsLuteceUserKey()
public int getIdParent()
public void setIdParent(int nIdParent)
nIdParent - the id of suggest to insert in the filterpublic boolean containsIdParent()
public int getIdPinned()
public void setIdPinned(int nIdPinned)
nIdPinned - idPinnedpublic boolean containsIdPinned()
public int getIdType()
public void setIdType(int nIdType)
nIdType - the id of the type to insert in the filterpublic boolean containsIdType()
public int getIdContainsCommentDisable()
public void setIdContainsCommentDisable(int nIdContainsCommentDisable)
nIdContainsCommentDisable - 1 if the suggestsubmit return must
contains comment disable 0 if the suggestsubmit return must not
contains comment disablepublic boolean containsIdContainsCommentDisable()
Copyright © 2018 City of Paris. All rights reserved.