public class FormFilter extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL_INT
Value to ignore an integer filter
|
static String |
ALL_STRING
Value to ignore a String filter
|
Constructor and Description |
---|
FormFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsDateBeginDisponibilityAfterCurrentDate() |
boolean |
containsDateEndDisponibilityBeforeCurrentDate() |
boolean |
containsIdAutoPublication() |
boolean |
containsIdCategory() |
boolean |
containsIdState() |
boolean |
containsWorkgroupCriteria() |
String |
getAsc() |
int |
getIdAutoPublicationState() |
int |
getIdCategory() |
int |
getIdState() |
String |
getOrder() |
String |
getWorkgroup() |
boolean |
isDateBeginDisponibilityAfterCurrentDate() |
void |
setAsc(String strAsc) |
void |
setDateBeginDisponibilityAfterCurrentDate(boolean bDateBeginDisponibilityAfterCurrentDate)
Set true if the date begin availability must be after current date
|
void |
setDateEndDisponibilityBeforeCurrentDate(boolean bCurrentDate)
set true if the date end availability must be before current date
|
void |
setIdAutoPublicationState(int idAutoPublicationState)
Set 1 if the forms return must be in auto publication enabled
0 if the forms return must be in auto publication disabled
|
void |
setIdCategory(int idCategory)
set the id of the category in the filter
|
void |
setIdState(int idState)
Set 1 if the forms return must be enabled
0 if the forms return must be disabled
|
void |
setOrder(String strOrder) |
void |
setWorkGroup(String workgroup)
set the workgroup of the search forms
|
public static final String ALL_STRING
public static final int ALL_INT
public int getIdState()
public void setIdState(int idState)
idState
- 1 if the forms return must be enabled
0 if the forms return must be disabledpublic boolean containsIdState()
public String getWorkgroup()
public void setWorkGroup(String workgroup)
workgroup
- the workgroup of the search formspublic boolean containsWorkgroupCriteria()
public void setDateEndDisponibilityBeforeCurrentDate(boolean bCurrentDate)
bCurrentDate
- true if the date end availability must be before
current datepublic boolean containsDateEndDisponibilityBeforeCurrentDate()
public void setDateBeginDisponibilityAfterCurrentDate(boolean bDateBeginDisponibilityAfterCurrentDate)
bDateBeginDisponibilityAfterCurrentDate
- true if the date begin
availability must be after current date, false otherwisepublic boolean isDateBeginDisponibilityAfterCurrentDate()
public boolean containsDateBeginDisponibilityAfterCurrentDate()
public int getIdAutoPublicationState()
public void setIdAutoPublicationState(int idAutoPublicationState)
idAutoPublicationState
- 1 if the forms return must be in auto
publication enabled
0 if the forms return must be in auto publication disabledpublic boolean containsIdAutoPublication()
public int getIdCategory()
public void setIdCategory(int idCategory)
idCategory
- the id of the category to insert in the filterpublic boolean containsIdCategory()
public String getOrder()
public void setOrder(String strOrder)
strOrder
- the _strOrder to setpublic String getAsc()
public void setAsc(String strAsc)
strAsc
- the _strAsc to setCopyright © 2016 City of Paris. All rights reserved.