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

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

public class EntryFilter
extends Object

class EntryFilter


Field Summary
static int FILTER_FALSE
          Value for boolean filters to represent Boolean.FALSE
static int FILTER_TRUE
          Value for boolean filters to represent Boolean.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()
          Check if this filter contains a field id
 boolean containsIdIsComment()
           
 boolean containsIdIsGroup()
           
 boolean containsIdResource()
          Check if this filter contains a resource id
 boolean containsResourceType()
          Check if the filter contains the resource type
 int getEntryParentNull()
           
 int getFieldDependNull()
           
 int getIdEntryParent()
           
 int getIdEntryType()
          Get the id entry type
 int getIdFieldDepend()
           
 int getIdIsComment()
           
 int getIdIsGroup()
           
 int getIdResource()
          Get the id of the resource in the filter
 String getResourceType()
          Get the resource type of the filter
 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 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
 void setIdResource(int nIdResource)
          Set the id of resource in the filter
 void setResourceType(String strResourceType)
          Set the result type of the filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_FALSE

public static final int FILTER_FALSE
Value for boolean filters to represent Boolean.FALSE

See Also:
Constant Field Values

FILTER_TRUE

public static final int FILTER_TRUE
Value for boolean filters to represent Boolean.TRUE

See Also:
Constant Field Values
Constructor Detail

EntryFilter

public EntryFilter()
Method Detail

getIdResource

public int getIdResource()
Get the id of the resource in the filter

Returns:
The id of resource insert in the filter

setIdResource

public void setIdResource(int nIdResource)
Set the id of resource in the filter

Parameters:
nIdResource - The id of resource to insert in the filter

containsIdResource

public boolean containsIdResource()
Check if this filter contains a resource id

Returns:
true if the filter contain an id of resource

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()
Check if this filter contains a field id

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

getResourceType

public String getResourceType()
Get the resource type of the filter

Returns:
The resource type of the filter

setResourceType

public void setResourceType(String strResourceType)
Set the result type of the filter

Parameters:
strResourceType - The resource type of the filter

containsResourceType

public boolean containsResourceType()
Check if the filter contains the resource type

Returns:
True if the filter contains the resource type, false otherwise


Copyright © 2014 Mairie de Paris. All Rights Reserved.