fr.paris.lutece.plugins.directory.business
Class RecordFieldFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.RecordFieldFilter

public class RecordFieldFilter
extends java.lang.Object

class ResponseFilter


Field Summary
static int ALL_INT
           
static int FILTER_FALSE
           
static int FILTER_TRUE
           
 
Constructor Summary
RecordFieldFilter()
           
 
Method Summary
 boolean containsDateFirst()
           
 boolean containsDateLast()
           
 boolean containsIdDirectory()
           
 boolean containsIdEntry()
           
 boolean containsIdField()
           
 boolean containsIdRecord()
           
 boolean containsIsDisabled()
           
 boolean containsIsEntryShownInResultList()
           
 boolean containsIsEntryShownInResultRecord()
           
 java.sql.Timestamp getDateFirst()
           
 java.sql.Timestamp getDateLast()
           
 int getIdDirectory()
           
 int getIdEntry()
           
 int getIdField()
           
 int getIdRecord()
           
 int getIsDisabled()
           
 int getIsEntryShownInResultList()
           
 int getIsEntryShownInResultRecord()
           
 void setDateFirst(java.sql.Timestamp begin)
          set the date of the first submit
 void setDateLast(java.sql.Timestamp end)
          set the date of the last submit
 void setIdDirectory(int idDirectory)
          set the id of directory in the filter
 void setIdEntry(int idEntry)
          set the id of entry depend in the filter
 void setIdField(int idField)
          set the id of field depend in the filter
 void setIdRecord(int idRecord)
          set the id of record in the filter
 void setIsDisabled(int idState)
          Set 1 if the recors return must be enabled 0 if the record return must be disabled
 void setIsEntryShownInResultList(int nIsShown)
          set 1 if the entry associate to the record field must be in the result list, O if the entry associate to the record field must not be in the result list
 void setIsEntryShownInResultRecord(int nIsShown)
          set 1 if the entry associate to the record field must be in the result record, O if the entry associate to the record field must not be in the result record
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

RecordFieldFilter

public RecordFieldFilter()
Method Detail

getIdDirectory

public int getIdDirectory()
Returns:
the id of directory insert in the filter

setIdDirectory

public void setIdDirectory(int idDirectory)
set the id of directory in the filter

Parameters:
idDirectory - the id of directory to insert in the filter

containsIdDirectory

public boolean containsIdDirectory()
Returns:
true if the filter contain an id of directory

getIdRecord

public int getIdRecord()
Returns:
the id of record insert in the filter

setIdRecord

public void setIdRecord(int idRecord)
set the id of record in the filter

Parameters:
idRecord - the id of the record to insert in the filter

containsIdRecord

public boolean containsIdRecord()
Returns:
true if the filter contain an id of record

getIdField

public int getIdField()
Returns:
the id of field insert in the filter

setIdField

public void setIdField(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

getIdEntry

public int getIdEntry()
Returns:
the id of entry insert in the filter

setIdEntry

public void setIdEntry(int idEntry)
set the id of entry depend in the filter

Parameters:
idEntry - the id of entry depend to insert in the filter

containsIdEntry

public boolean containsIdEntry()
Returns:
true if the filter contain an id of entry depend

getDateFirst

public java.sql.Timestamp getDateFirst()
Returns:
date of the first submit

setDateFirst

public void setDateFirst(java.sql.Timestamp begin)
set the date of the first submit

Parameters:
begin - date of the first submit

containsDateFirst

public boolean containsDateFirst()
Returns:
true if the filter contain the date of the first submit

getDateLast

public java.sql.Timestamp getDateLast()
Returns:
date of the last submit

setDateLast

public void setDateLast(java.sql.Timestamp end)
set the date of the last submit

Parameters:
end - the date of the last submit

containsDateLast

public boolean containsDateLast()
Returns:
true if the filter contain the date of the last submit

getIsEntryShownInResultList

public int getIsEntryShownInResultList()
Returns:
1 if the entry associate to the record field must be in the result list, O if the entry associate to the record field must not be in the result list

setIsEntryShownInResultList

public void setIsEntryShownInResultList(int nIsShown)
set 1 if the entry associate to the record field must be in the result list, O if the entry associate to the record field must not be in the result list

Parameters:
nIsShown - 1 if the entry associate to the record field must be in the result list

containsIsEntryShownInResultList

public boolean containsIsEntryShownInResultList()
Returns:
true if the filter is initialized

getIsEntryShownInResultRecord

public int getIsEntryShownInResultRecord()
Returns:
1 if the entry associate to the record field must be in the result record, O if the entry associate to the record field must not be in the result record

setIsEntryShownInResultRecord

public void setIsEntryShownInResultRecord(int nIsShown)
set 1 if the entry associate to the record field must be in the result record, O if the entry associate to the record field must not be in the result record

Parameters:
nIsShown - 1 if the entry associate to the record field must be in the result record

containsIsEntryShownInResultRecord

public boolean containsIsEntryShownInResultRecord()
Returns:
true if the filter is initialized

getIsDisabled

public int getIsDisabled()
Returns:
1 if the record return must be enabled 0 if the record return must be disabled

setIsDisabled

public void setIsDisabled(int idState)
Set 1 if the recors return must be enabled 0 if the record return must be disabled

Parameters:
idState - 1 if the record return must be enabled 0 if the record return must be disabled

containsIsDisabled

public boolean containsIsDisabled()
Returns:
true if the filter contain form state


Copyright © 2009 Mairie de Paris. All Rights Reserved.