Class EntryFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.EntryFilter
-
public class EntryFilter extends java.lang.Objectclass EntryFilter
-
-
Field Summary
Fields Modifier and Type Field Description static intALL_INTstatic java.lang.StringALL_STRINGstatic intFILTER_FALSEstatic intFILTER_TRUE
-
Constructor Summary
Constructors Constructor Description EntryFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsEntryParentNull()booleancontainsFieldDependNull()booleancontainsIdEntryParent()booleancontainsIdField()booleancontainsIdForm()booleancontainsIdIsComment()booleancontainsIdIsGroup()intgetEntryParentNull()intgetFieldDependNull()intgetIdEntryParent()intgetIdFieldDepend()intgetIdForm()intgetIdIsComment()intgetIdIsGroup()voidsetEntryParentNull(int idEntryParentNull)set 1 if the id of parent entry must be nullvoidsetFieldDependNull(int idFieldDependNull)set 1 if the id of field depend must be nullvoidsetIdEntryParent(int idEntryParent)set the id of parent entryvoidsetIdFieldDepend(int idField)set the id of field depend in the filtervoidsetIdForm(int idForm)set the id of form in the filtervoidsetIdIsComment(int idComment)set 1 if the entry must be a comment,0 if the entry must not be a commentvoidsetIdIsGroup(int idIsGroup)set 1 if the entry must be a group,0 if the entry must not be a group
-
-
-
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
-
FILTER_FALSE
public static final int FILTER_FALSE
- See Also:
- Constant Field Values
-
FILTER_TRUE
public static final int FILTER_TRUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIdForm
public int getIdForm()
- Returns:
- the id of form insert in the filter
-
setIdForm
public void setIdForm(int idForm)
set the id of form in the filter- Parameters:
idForm- the id of form to insert in the filter
-
containsIdForm
public boolean containsIdForm()
- Returns:
- true if the filter contain an id of form
-
getIdFieldDepend
public int getIdFieldDepend()
- Returns:
- the id of field insert in the filter
-
setIdFieldDepend
public void setIdFieldDepend(int idField)
set the id of field depend in the filter- Parameters:
idField- the id of field depend to insert in the filter
-
containsIdField
public boolean containsIdField()
- Returns:
- true if the filter contain an id of field depend
-
getIdEntryParent
public int getIdEntryParent()
- Returns:
- the id of parent entry insert in the filter
-
setIdEntryParent
public void setIdEntryParent(int idEntryParent)
set the id of parent entry- Parameters:
idEntryParent- the id of parent entry to insert in the filter
-
containsIdEntryParent
public boolean containsIdEntryParent()
- Returns:
- true if the filter contain an parent id
-
getEntryParentNull
public int getEntryParentNull()
- Returns:
- 1 if the id of parent entry must be null
-
setEntryParentNull
public void setEntryParentNull(int idEntryParentNull)
set 1 if the id of parent entry must be null- Parameters:
idEntryParentNull- 1 if the id of parent entry must be null
-
containsEntryParentNull
public boolean containsEntryParentNull()
- Returns:
- true if the parent entry must be null
-
getFieldDependNull
public int getFieldDependNull()
- Returns:
- 1 if the id of field depend must be null
-
setFieldDependNull
public void setFieldDependNull(int idFieldDependNull)
set 1 if the id of field depend must be null- Parameters:
idFieldDependNull- 1 if the id of field depend must be null
-
containsFieldDependNull
public boolean containsFieldDependNull()
- Returns:
- true if the id of field depend must be null
-
getIdIsGroup
public int getIdIsGroup()
- Returns:
- 1 if the entry is a group,0 if the entry is not a group
-
setIdIsGroup
public void setIdIsGroup(int idIsGroup)
set 1 if the entry must be a group,0 if the entry must not be a group- Parameters:
idIsGroup- 1 if the entry must be a group,0 if the entry must not be a group
-
containsIdIsGroup
public boolean containsIdIsGroup()
- Returns:
- true if the entry must be a group or must not be a group
-
getIdIsComment
public int getIdIsComment()
- Returns:
- 1 if the entry must be a comment,0 if the entry must not be a comment
-
setIdIsComment
public void setIdIsComment(int idComment)
set 1 if the entry must be a comment,0 if the entry must not be a comment- Parameters:
idComment- 1 if the entry must be a comment,0 if the entry must not be a comment
-
containsIdIsComment
public boolean containsIdIsComment()
- Returns:
- true if the entry must be a comment or must not be a comment
-
-