Class FormFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.FormFilter
-
public class FormFilter extends java.lang.Objectclass FormFilter
-
-
Field Summary
Fields Modifier and Type Field Description static intALL_INTstatic java.lang.StringALL_STRING
-
Constructor Summary
Constructors Constructor Description FormFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsDateBeginDisponibilityAfterCurrentDate()booleancontainsDateEndDisponibilityBeforeCurrentDate()booleancontainsIdAutoPublication()booleancontainsIdState()booleancontainsWorkgroupCriteria()intgetIdAutoPublicationState()intgetIdState()java.lang.StringgetWorkgroup()booleanisDateBeginDisponibilityAfterCurrentDate()voidsetDateBeginDisponibilityAfterCurrentDate(boolean _bDateBeginDisponibilityAfterCurrentDate)Set true if the date begin disponibility must be after current datevoidsetDateEndDisponibilityBeforeCurrentDate(boolean bCurrentDate)set true if the date end disponibility must be before current datevoidsetIdAutoPublicationState(int idAutoPublicationState)Set 1 if the forms return must be in auto publication enabled 0 if the forms return must be in auto publication disabledvoidsetIdState(int idState)Set 1 if the forms return must be enabled 0 if the forms return must be disabledvoidsetWorkGroup(java.lang.String workgroup)set the workgroup of the search forms
-
-
-
Field Detail
-
ALL_STRING
public static final java.lang.String ALL_STRING
- See Also:
- Constant Field Values
-
ALL_INT
public static final int ALL_INT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIdState
public int getIdState()
- Returns:
- 1 if the forms return must be enabled 0 if the forms return must be disabled
-
setIdState
public void setIdState(int idState)
Set 1 if the forms return must be enabled 0 if the forms return must be disabled- Parameters:
idState- 1 if the forms return must be enabled 0 if the forms return must be disabled
-
containsIdState
public boolean containsIdState()
- Returns:
- true if the filter contain form state
-
getWorkgroup
public java.lang.String getWorkgroup()
- Returns:
- the workgroup of the search forms
-
setWorkGroup
public void setWorkGroup(java.lang.String workgroup)
set the workgroup of the search forms- Parameters:
workgroup- the workgroup of the search forms
-
containsWorkgroupCriteria
public boolean containsWorkgroupCriteria()
- Returns:
- true if the filter contaion workgroup criteria
-
setDateEndDisponibilityBeforeCurrentDate
public void setDateEndDisponibilityBeforeCurrentDate(boolean bCurrentDate)
set true if the date end disponibility must be before current date- Parameters:
bCurrentDate- true if the date end disponibility must be before current date
-
containsDateEndDisponibilityBeforeCurrentDate
public boolean containsDateEndDisponibilityBeforeCurrentDate()
- Returns:
- true if the date end disponibility must be before current date
-
setDateBeginDisponibilityAfterCurrentDate
public void setDateBeginDisponibilityAfterCurrentDate(boolean _bDateBeginDisponibilityAfterCurrentDate)
Set true if the date begin disponibility must be after current date- Parameters:
_bDateBeginDisponibilityAfterCurrentDate-
-
isDateBeginDisponibilityAfterCurrentDate
public boolean isDateBeginDisponibilityAfterCurrentDate()
- Returns:
- true if the date begin disponibility must be after current date
-
containsDateBeginDisponibilityAfterCurrentDate
public boolean containsDateBeginDisponibilityAfterCurrentDate()
- Returns:
- true if the date begin disponibility must be after current date
-
getIdAutoPublicationState
public int getIdAutoPublicationState()
- Returns:
- 1 if the forms return must be in auto publication enabled 0 if the forms return must be in auto publication disabled
-
setIdAutoPublicationState
public 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- Parameters:
idAutoPublicationState- 1 if the forms return must be in auto publication enabled 0 if the forms return must be in auto publication disabled
-
containsIdAutoPublication
public boolean containsIdAutoPublication()
- Returns:
- true if the filter contain form auto publication state
-
-