|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.business.RecordFieldFilter
public class RecordFieldFilter
class RecordFieldFilter
Field Summary | |
---|---|
static int |
ALL_INT
|
static int |
FILTER_FALSE
|
static int |
FILTER_TRUE
|
static int |
ORDER_ASC
|
static int |
ORDER_DESC
|
static int |
ORDER_NONE
|
Constructor Summary | |
---|---|
RecordFieldFilter()
|
Method Summary | |
---|---|
boolean |
containsDateFirst()
|
boolean |
containsDateLast()
|
boolean |
containsIdDirectory()
|
boolean |
containsIdEntry()
|
boolean |
containsIdField()
|
boolean |
containsIdRecord()
|
boolean |
containsIsDisabled()
|
boolean |
containsIsEntryShownInResultList()
|
boolean |
containsIsEntryShownInResultRecord()
|
boolean |
containsRoleKeyList()
Test if the filter contains at least one role key |
boolean |
containsSortEntry()
true if an entry should be used to sort the results, false otherwise |
boolean |
containsSortOrder()
Return true if sort order is not ORDER_NONE |
boolean |
containsWorkgroupKeyList()
|
java.sql.Timestamp |
getDateFirst()
|
java.sql.Timestamp |
getDateLast()
|
int |
getIdDirectory()
|
int |
getIdEntry()
|
int |
getIdField()
|
int |
getIdRecord()
|
int |
getIsDisabled()
|
int |
getIsEntryShownInResultList()
|
int |
getIsEntryShownInResultRecord()
|
java.util.List<java.lang.String> |
getRoleKeyList()
Get the role key list |
IEntry |
getSortEntry()
Gets the entry that should be used to sort the results |
int |
getSortOrder()
Gets the sort order. |
fr.paris.lutece.util.ReferenceList |
getWorkgroupKeyList()
Get workgroup key list |
boolean |
includeRoleNull()
|
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 |
void |
setRoleKeyList(java.util.List<java.lang.String> roleKeyList,
boolean bIncludeRoleNone,
boolean bIncludeRoleNull)
Set the role key list |
void |
setSortEntry(IEntry sortEntry)
Set the entry that should be used to sort the results |
void |
setSortOrder(int nSortOrder)
Sets the sort order. |
void |
setWorkgroupKeyList(fr.paris.lutece.util.ReferenceList workgroupKeyList)
The workgroup key list to set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ALL_INT
public static final int FILTER_FALSE
public static final int FILTER_TRUE
public static final int ORDER_NONE
public static final int ORDER_ASC
public static final int ORDER_DESC
Constructor Detail |
---|
public RecordFieldFilter()
Method Detail |
---|
public IEntry getSortEntry()
public void setSortEntry(IEntry sortEntry)
sortEntry
- the entry to use to sort the results, null
to use default sort (creation date).public boolean containsSortEntry()
true
if an entry should be used to sort the results, false
otherwise
true
if an entry should be used to sort the results, false
otherwise.public int getSortOrder()
ORDER_NONE
ORDER_ASC
,
ORDER_DESC
,
ORDER_NONE
public void setSortOrder(int nSortOrder)
setSortEntry(IEntry)
nSortOrder
- the sort order.ORDER_ASC
,
ORDER_DESC
,
ORDER_NONE
public boolean containsSortOrder()
true
if sort order is not ORDER_NONE
true
if sort order is not ORDER_NONE
, false
otherwise.public int getIdDirectory()
public void setIdDirectory(int idDirectory)
idDirectory
- the id of directory to insert in the filterpublic boolean containsIdDirectory()
public int getIdRecord()
public void setIdRecord(int idRecord)
idRecord
- the id of the record to insert in the filterpublic boolean containsIdRecord()
public int getIdField()
public void setIdField(int idField)
idField
- the id of field depend to insert in the filterpublic boolean containsIdField()
public int getIdEntry()
public void setIdEntry(int idEntry)
idEntry
- the id of entry depend to insert in the filterpublic boolean containsIdEntry()
public java.sql.Timestamp getDateFirst()
public void setDateFirst(java.sql.Timestamp begin)
begin
- date of the first submitpublic boolean containsDateFirst()
public java.sql.Timestamp getDateLast()
public void setDateLast(java.sql.Timestamp end)
end
- the date of the last submitpublic boolean containsDateLast()
public int getIsEntryShownInResultList()
public void setIsEntryShownInResultList(int nIsShown)
nIsShown
- 1 if the entry associate to the record field must be in the result listpublic boolean containsIsEntryShownInResultList()
public int getIsEntryShownInResultRecord()
public void setIsEntryShownInResultRecord(int nIsShown)
nIsShown
- 1 if the entry associate to the record field must be in the result recordpublic boolean containsIsEntryShownInResultRecord()
public int getIsDisabled()
public void setIsDisabled(int idState)
idState
- 1 if the record return must be enabled
0 if the record return must be disabledpublic boolean containsIsDisabled()
public void setWorkgroupKeyList(fr.paris.lutece.util.ReferenceList workgroupKeyList)
workgroupKeyList
- The workgroup key listpublic void setRoleKeyList(java.util.List<java.lang.String> roleKeyList, boolean bIncludeRoleNone, boolean bIncludeRoleNull)
roleKeyList
- The role key listbIncludeRoleNone
- include role set to "none"bIncludeRoleNull
- include role set to "null"public boolean containsRoleKeyList()
public java.util.List<java.lang.String> getRoleKeyList()
public boolean includeRoleNull()
public fr.paris.lutece.util.ReferenceList getWorkgroupKeyList()
public boolean containsWorkgroupKeyList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |