public interface GXIRowsFilter
extends java.io.Serializable
Row filtering object.
This class represents a filter for excluding table rows, based on certain conditions. Currently, when defining a table entity in ApplinX Composer, two types of filters can be defined: filtering empty rows and filtering duplicate rows. Using this interface, custom filters can be added to the table's RowCollection.
Modifier and Type | Method and Description |
---|---|
GXITableRowCollection |
filter(GXITableRowCollection rows)
Used to filter an existing row collection.
|
boolean |
isPrimaryKeyValid(java.lang.String primaryKey,
GXITableRowCollection rowsSoFar)
This method is used, by ApplinX Server, when building a table.
|
boolean |
isRowValid(GXITableRow row,
GXITableRowCollection rowsSoFar)
This method is used, by ApplinX Server, when building a table,
to decide whether to add a row to the table.
|
GXITableRowCollection filter(GXITableRowCollection rows)
rows
- the rows to filter.boolean isRowValid(GXITableRow row, GXITableRowCollection rowsSoFar)
row
- the row to checkrowsSoFar
- the rows added to the table so far, for conditions that depend
on previous rows (for example - duplicate rows).filter(GXITableRowCollection)
boolean isPrimaryKeyValid(java.lang.String primaryKey, GXITableRowCollection rowsSoFar)
primaryKey
- the row's primary key.rowsSoFar
- the rows added to the table so far, for conditions that depend
on previous rows (for example - duplicate rows).Copyright 2018 Software AG. All rights reserved. Use is subject to license terms.