Class FormFilter
java.lang.Object
fr.paris.lutece.plugins.form.business.FormFilter
class FormFilter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanintintbooleanvoidsetDateBeginDisponibilityAfterCurrentDate(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(String workgroup) set the workgroup of the search forms
-
Field Details
-
ALL_STRING
- See Also:
-
ALL_INT
public static final int ALL_INT- See Also:
-
-
Constructor Details
-
FormFilter
public FormFilter()
-
-
Method Details
-
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
- Returns:
- the workgroup of the search forms
-
setWorkGroup
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
-