|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.efaps.ui.wicket.models.objects.UITable.Filter
public class UITable.Filter
Class represents one filter applied to this UITable.
| Field Summary | |
|---|---|
static java.lang.String |
FROM
Key to the value for "from" in the nap for the esjp. |
static java.lang.String |
TO
Key to the value for "to" in the nap for the esjp. |
| Constructor Summary | |
|---|---|
UITable.Filter()
Constructor is used for a database based filter in case that it is required. |
|
UITable.Filter(UITableHeader _uitableHeader)
Constructor is used in case that a filter is required, during loading the date first time for a memory base filter. |
|
UITable.Filter(UITableHeader _uitableHeader,
java.util.Set<?> _filterList)
Standard Constructor for a Filter using a PICKLIST. |
|
UITable.Filter(UITableHeader _uitableHeader,
java.lang.String _from,
java.lang.String _to)
Standard Constructor for a Filter containing a range. |
|
| Method Summary | |
|---|---|
boolean |
filterRow(UIRow _uiRow)
Method is used for memory based filters to filter one row. |
org.joda.time.DateTime |
getDateFrom()
Getter method for instance variable dateFrom. |
org.joda.time.DateTime |
getDateTo()
Getter method for instance variable dateTo. |
java.util.Map<java.lang.String,java.lang.String> |
getMap4esjp()
Method to get the map that must be passed for this filter to the esjp. |
UITableHeader |
getUiTableHeader()
Getter method for instance variable uiTableHeader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String FROM
public static final java.lang.String TO
| Constructor Detail |
|---|
public UITable.Filter()
public UITable.Filter(UITableHeader _uitableHeader)
throws org.efaps.util.EFapsException
_uitableHeader - UITableHeader this filter lies in
org.efaps.util.EFapsException - on error
public UITable.Filter(UITableHeader _uitableHeader,
java.lang.String _from,
java.lang.String _to)
_uitableHeader - UITableHeader this filter lies in_from - value for from_to - value for to
public UITable.Filter(UITableHeader _uitableHeader,
java.util.Set<?> _filterList)
_uitableHeader - UITableHeader this filter lies in_filterList - set of values for the filter| Method Detail |
|---|
public UITableHeader getUiTableHeader()
uiTableHeader.
uiTableHeaderpublic java.util.Map<java.lang.String,java.lang.String> getMap4esjp()
public boolean filterRow(UIRow _uiRow)
_uiRow - UIRow to filter
public org.joda.time.DateTime getDateFrom()
dateFrom.
dateFrompublic org.joda.time.DateTime getDateTo()
dateTo.
dateTo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||