fr.paris.lutece.plugins.form.business
Class FormFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.FormFilter

public class FormFilter
extends Object

class FormFilter


Field Summary
static int ALL_INT
          Value to ignore an integer filter
static String ALL_STRING
          Value to ignore a String filter
 
Constructor Summary
FormFilter()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_STRING

public static final String ALL_STRING
Value to ignore a String filter

See Also:
Constant Field Values

ALL_INT

public static final int ALL_INT
Value to ignore an integer filter

See Also:
Constant Field Values
Constructor Detail

FormFilter

public FormFilter()
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 String getWorkgroup()
Returns:
the workgroup of the search forms

setWorkGroup

public void setWorkGroup(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 availability must be before current date

Parameters:
bCurrentDate - true if the date end availability must be before current date

containsDateEndDisponibilityBeforeCurrentDate

public boolean containsDateEndDisponibilityBeforeCurrentDate()
Returns:
true if the date end availability must be before current date

setDateBeginDisponibilityAfterCurrentDate

public void setDateBeginDisponibilityAfterCurrentDate(boolean bDateBeginDisponibilityAfterCurrentDate)
Set true if the date begin availability must be after current date

Parameters:
bDateBeginDisponibilityAfterCurrentDate - true if the date begin availability must be after current date, false otherwise

isDateBeginDisponibilityAfterCurrentDate

public boolean isDateBeginDisponibilityAfterCurrentDate()
Returns:
true if the date begin availability 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

getIdCategory

public int getIdCategory()
Returns:
the id of the category insert in the filter

setIdCategory

public void setIdCategory(int idCategory)
set the id of the category in the filter

Parameters:
idCategory - the id of the category to insert in the filter

containsIdCategory

public boolean containsIdCategory()
Returns:
true if the filter contain an id of category

getOrder

public String getOrder()
Returns:
the _strOrder

setOrder

public void setOrder(String strOrder)
Parameters:
strOrder - the _strOrder to set

getAsc

public String getAsc()
Returns:
the _strAsc

setAsc

public void setAsc(String strAsc)
Parameters:
strAsc - the _strAsc to set


Copyright © 2014 Mairie de Paris. All Rights Reserved.