Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Usages

Abstract Class

org.joget.apps.datalist.model.DataListBinderDefault

Field Detail

Constants
USERVIEW_KEY_SYNTAX
public static final String USERVIEW_KEY_SYNTAX = "#userviewKey#";

Not using by system. Can be use as a syntax to replace it with userview key value.

Method Detail

Abstract Methods
getColumns
public org.joget.apps.datalist.model.DataListColumn[] getColumns()

Columns meta returned by the binder. Field "name", "label" and "sortable" are needed by system.

getPrimaryKeyColumnName
public java.lang.String getPrimaryKeyColumnName()

The primary key / identifier column for the data

getData
public org.joget.apps.datalist.model.DataListCollection getData(org.joget.apps.datalist.model.DataList dataList, java.util.Map properties, org.joget.apps.datalist.model.DataListFilterQueryObject[] filterQueryObjects, java.lang.String sort, java.lang.Boolean desc, java.lang.Integer start, java.lang.Integer rows)

The data rows returned by the binder based on the current filter.

getDataTotalRowCount
public int getDataTotalRowCount(org.joget.apps.datalist.model.DataList dataList, java.util.Map properties, org.joget.apps.datalist.model.DataListFilterQueryObject[] filterQueryObjects)

Total number of rows returned based on the current filter.

Overridable Methods
getColumnName
public java.lang.String getColumnName(java.lang.String name)

To get the actual column name

processFilterQueryObjects
public org.joget.apps.datalist.model.DataListFilterQueryObject processFilterQueryObjects(org.joget.apps.datalist.model.DataListFilterQueryObject[] filterQueryObjects)

Construct filter conditions

Plugin Properties Options

Tutorials

Related Community Plugins

  • Form Data Binder
    org.joget.apps.datalist.lib.FormRowDataListBinder (wflow-core)