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 |
containsIdDigg() |
boolean |
containsIdDiggSubmit() |
boolean |
containsIdDiggSubmitState() |
boolean |
containsIdEntry() |
boolean |
containsIdParent() |
boolean |
containsIdPinned() |
boolean |
containsIdReported() |
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 |
getIdDigg() |
int |
getIdDiggSubmit() |
int |
getIdDiggSubmitState() |
int |
getIdEntry() |
int |
getIdParent() |
int |
getIdPinned() |
int |
getIdReported() |
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 |
setIdDigg(int nIdDigg)
set the id of the digg in the filter
|
void |
setIdDiggSubmit(int nIdDiggSubmit)
set the id of the digg submit in the filter
|
void |
setIdDiggSubmitState(int idState)
Set the digg submit state
|
void |
setIdEntry(int nIdEntry)
set the id of entry depend in the filter
|
void |
setIdParent(int nIdParent)
set the id of the digg in the filter
|
void |
setIdPinned(int nIdPinned)
set 1 if the diggsubmit return must be pinned
0 if the diggsubmit return must not be pinned
|
void |
setIdReported(int nIdReported)
set 1 if the diggs return must be reported
0 if the diggs return must not be reported
|
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 getIdDigg()
public void setIdDigg(int nIdDigg)
nIdDigg
- the id of digg to insert in the filterpublic boolean containsIdDigg()
public int getIdDiggSubmitState()
public void setIdDiggSubmitState(int idState)
idState
- the digg submit statepublic boolean containsIdDiggSubmitState()
public int getIdCommentSubmitState()
public void setIdCommentSubmitState(int nIdState)
nIdState
- the comment submit statepublic boolean containsIdCommentSubmitState()
public int getIdDiggSubmit()
public void setIdDiggSubmit(int nIdDiggSubmit)
nIdDiggSubmit
- the id of digg submit to insert in the filterpublic boolean containsIdDiggSubmit()
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 digg 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 diggsubmit return must
contains comment disable 0 if the diggsubmit return must not
contains comment disablepublic boolean containsIdContainsCommentDisable()
Copyright © 2016 Mairie de Paris. All Rights Reserved.