Search in sources :

Example 1 with LimitImpl

use of org.jmesa.limit.LimitImpl in project OpenClinica by OpenClinica.

the class AbstractTableFactory method createLimits.

private ArrayList<Limit> createLimits() {
    Limit limit = new LimitImpl(getTableName());
    ArrayList<Limit> limits = new ArrayList<Limit>();
    int size = getSize(limit);
    for (RowSelect rowSelect : getRowSelects(size)) {
        Limit theLimit = new LimitImpl(getTableName());
        theLimit.setRowSelect(rowSelect);
        theLimit.setExportType(ExportType.CSV);
        limits.add(theLimit);
    }
    return limits;
}
Also used : RowSelect(org.jmesa.limit.RowSelect) ArrayList(java.util.ArrayList) Limit(org.jmesa.limit.Limit) LimitImpl(org.jmesa.limit.LimitImpl)

Aggregations

ArrayList (java.util.ArrayList)1 Limit (org.jmesa.limit.Limit)1 LimitImpl (org.jmesa.limit.LimitImpl)1 RowSelect (org.jmesa.limit.RowSelect)1