Package com.saperion.ngc.iform.system
Class SystemLookupQueryFormOptions
java.lang.Object
com.saperion.ngc.iform.system.SystemLookupQueryFormOptions
- All Implemented Interfaces:
Serializable
Options for the
SystemLookupIndexForm.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.saperion.ngc.iform.xml.ColumnType>Returns the settings for the columns of the result set view of the form.intReturns the setting for the enabled context-menu-items of the result set view of the form.booleansetAutoSearch(boolean autoSearch) setColumns(List<com.saperion.ngc.iform.xml.ColumnType> columns) Sets the options for the columns of the result set view of the form.setEnabledContextMenuItems(int contextMenuItems) Defines the setting for the enabled context-menu-items of the result set view of the form.
-
Constructor Details
-
SystemLookupQueryFormOptions
public SystemLookupQueryFormOptions()
-
-
Method Details
-
getColumns
Returns the settings for the columns of the result set view of the form.- Returns:
- a list with the settings for the columns shown in the result set view of the form
-
setColumns
Sets the options for the columns of the result set view of the form. If null or empty, all non-system columns will be shown.- Parameters:
columns- list with settings for the columns- Returns:
- this
-
getEnabledContextMenuItems
public int getEnabledContextMenuItems()Returns the setting for the enabled context-menu-items of the result set view of the form.- Returns:
- a bitmask containing the setting for the enabled context menu items of the
result set view consisting of the options defined by:
ResultSetView.RSS_BUTTONEDITResultSetView.RSS_BUTTONDELETEResultSetView.RSS_BUTTONNEWResultSetView.RSS_BUTTONSECURITY
EditFieldType.getResStyle().
-
setEnabledContextMenuItems
Defines the setting for the enabled context-menu-items of the result set view of the form.- Parameters:
contextMenuItems- a bitmask containing the setting for the enabled context menu items of the result set view consisting of the options defined by:ResultSetView.RSS_BUTTONEDITResultSetView.RSS_BUTTONDELETEResultSetView.RSS_BUTTONNEWResultSetView.RSS_BUTTONSECURITY
EditFieldType.getResStyle().- Returns:
- this
-
isAutoSearch
public boolean isAutoSearch()- Returns:
- true if the result list should perform a search when the form was loaded
-
setAutoSearch
- Parameters:
autoSearch- if true, the result list will perform a search when the form was loaded- Returns:
- this
-