Package com.saperion.ngc.iform.system
Class SystemLookupQueryFormOptions
- java.lang.Object
-
- com.saperion.ngc.iform.system.SystemLookupQueryFormOptions
-
- All Implemented Interfaces:
java.io.Serializable
public class SystemLookupQueryFormOptions extends java.lang.Object implements java.io.Serializable
Options for theSystemLookupIndexForm
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SystemLookupQueryFormOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.saperion.ngc.iform.xml.ColumnType>
getColumns()
Returns the settings for the columns of the result set view of the form.int
getEnabledContextMenuItems()
Returns the setting for the enabled context-menu-items of the result set view of the form.boolean
isAutoSearch()
SystemLookupQueryFormOptions
setAutoSearch(boolean autoSearch)
SystemLookupQueryFormOptions
setColumns(java.util.List<com.saperion.ngc.iform.xml.ColumnType> columns)
Sets the options for the columns of the result set view of the form.SystemLookupQueryFormOptions
setEnabledContextMenuItems(int contextMenuItems)
Defines the setting for the enabled context-menu-items of the result set view of the form.
-
-
-
Method Detail
-
getColumns
public java.util.List<com.saperion.ngc.iform.xml.ColumnType> 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
public SystemLookupQueryFormOptions setColumns(java.util.List<com.saperion.ngc.iform.xml.ColumnType> columns)
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_BUTTONEDIT
ResultSetView.RSS_BUTTONDELETE
ResultSetView.RSS_BUTTONNEW
ResultSetView.RSS_BUTTONSECURITY
EditFieldType.getResStyle()
.
-
setEnabledContextMenuItems
public SystemLookupQueryFormOptions setEnabledContextMenuItems(int contextMenuItems)
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_BUTTONEDIT
ResultSetView.RSS_BUTTONDELETE
ResultSetView.RSS_BUTTONNEW
ResultSetView.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
public SystemLookupQueryFormOptions setAutoSearch(boolean autoSearch)
- Parameters:
autoSearch
- if true, the result list will perform a search when the form was loaded- Returns:
- this
-
-