Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Used to extend methods of loading data for a Datalist.
Under wflow-core module
Extended org.joget.plugin.base.ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.
Implemented org.joget.plugin.property.model.PropertyEditable. Please refer to Plugin Base Abstract Class and Interface.
A base abstract class to develop a Datalist Binder Plugin.
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.
public org.joget.apps.datalist.model.DataListColumn[] getColumns()
Columns meta returned by the binder. Field "name", "label" and "sortable" are needed by system.
public java.lang.String getPrimaryKeyColumnName()
The primary key / identifier column for the data
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.
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.
public java.lang.String getColumnName(java.lang.String name)
To get the actual column name
public org.joget.apps.datalist.model.DataListFilterQueryObject processFilterQueryObjects(org.joget.apps.datalist.model.DataListFilterQueryObject[] filterQueryObjects)
Construct filter conditions
Please refer to Plugin Properties Options for more information.