public class ResultsetConfiguration extends Object
Constructor and Description |
---|
ResultsetConfiguration(ResultSetPresenter presenter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
applyHeaderPresets(String propName,
org.zkoss.zul.Listheader header)
Applies settings to a header based on presets.
|
void |
deleteColumnConfiguration(String formName)
Deletes the configuration of the columns in the database.
|
Map<String,ResultSetColumn> |
getColumns() |
List<MenuItemKey> |
getRemoveMenuItemList(boolean multi)
Reads the list of remove menu items.
|
boolean |
isSortingDisabled(String key)
Checks if sorting is disabled for the specified column.
|
void |
readResultType(String formName) |
void |
setOtherHeadersToNatural(org.zkoss.zul.Listheader header)
Set all header to natural sorting except the one defined.
|
void |
setRemoveMenuItemList(List<MenuItemKey> removeList,
boolean multi)
Set menu items for removing.
|
void |
setResultType(com.saperion.ngc.iform.xml.ResultType resultType) |
void |
setSortingDisabled(String key)
Adds a column to the set of columns that have the sorting function disabled.
|
void |
storeColumnConfiguration(String formName)
Stores the configuration of the columns in the database.
|
public ResultsetConfiguration(ResultSetPresenter presenter)
presenter
- ResultSetPresenter used by viewpublic void setResultType(com.saperion.ngc.iform.xml.ResultType resultType)
resultType
- Result typepublic void storeColumnConfiguration(String formName) throws NgcUiException, AuthenticationException
formName
- Form nameAuthenticationException
- re-logon requiredNgcUiException
- exception to be handled by viewpublic void deleteColumnConfiguration(String formName) throws NgcUiException, AuthenticationException
formName
- Form nameAuthenticationException
- re-logon requiredNgcUiException
- exception to be handled by viewpublic void readResultType(String formName) throws NgcUiException, AuthenticationException
formName
- Form nameAuthenticationException
- re-logon requiredNgcUiException
- exception to be handled by viewpublic void applyHeaderPresets(String propName, org.zkoss.zul.Listheader header)
propName
- field nameheader
- headerpublic void setOtherHeadersToNatural(org.zkoss.zul.Listheader header)
header
- defined headerpublic void setSortingDisabled(String key)
key
- name of the columnpublic boolean isSortingDisabled(String key)
key
- column namepublic Map<String,ResultSetColumn> getColumns()
public void setRemoveMenuItemList(List<MenuItemKey> removeList, boolean multi)
removeList
- List of items.multi
- True for multiselectpublic List<MenuItemKey> getRemoveMenuItemList(boolean multi)
multi
- True for multiselectCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.