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

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

public class EntryFilter
extends java.lang.Object

class EntryFilter


Field Summary
static int ALL_INT
           
static java.lang.String ALL_STRING
           
static int FILTER_FALSE
           
static int FILTER_TRUE
           
 
Constructor Summary
EntryFilter()
           
 
Method Summary
 boolean containsEntryParentNull()
           
 boolean containsFieldDependNull()
           
 boolean containsIdEntryParent()
           
 boolean containsIdEntryType()
          Check if the filter contains the id entry type
 boolean containsIdField()
           
 boolean containsIdForm()
           
 boolean containsIdIsComment()
           
 boolean containsIdIsGroup()
           
 int getEntryParentNull()
           
 int getFieldDependNull()
           
 int getIdEntryParent()
           
 int getIdEntryType()
          Get the id entry type
 int getIdFieldDepend()
           
 int getIdForm()
           
 int getIdIsComment()
           
 int getIdIsGroup()
           
 void setEntryParentNull(int idEntryParentNull)
          set 1 if the id of parent entry must be null
 void setFieldDependNull(int idFieldDependNull)
          set 1 if the id of field depend must be null
 void setIdEntryParent(int idEntryParent)
          set the id of parent entry
 void setIdEntryType(int nIdEntryType)
          set the id of entry type
 void setIdFieldDepend(int idField)
          set the id of field depend in the filter
 void setIdForm(int idForm)
          set the id of form in the filter
 void setIdIsComment(int idComment)
          set 1 if the entry must be a comment,0 if the entry must not be a comment
 void setIdIsGroup(int idIsGroup)
          set 1 if the entry must be a group,0 if the entry must not be a group
 
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 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
Constructor Detail

EntryFilter

public EntryFilter()
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

getIdEntryType

public int getIdEntryType()
Get the id entry type

Returns:
the id of entry type insert in the filter

setIdEntryType

public void setIdEntryType(int nIdEntryType)
set the id of entry type

Parameters:
nIdEntryType - the id of entry type to insert in the filter

containsIdEntryType

public boolean containsIdEntryType()
Check if the filter contains the id entry type

Returns:
true if the filter contains an id entry type


Copyright © 2012 Mairie de Paris. All Rights Reserved.