Package com.saperion.ngc.resultset.modes
Class LookupResultSetMode
- java.lang.Object
-
- com.saperion.ngc.resultset.modes.AbstractResultSetMode
-
- com.saperion.ngc.resultset.modes.LookupResultSetMode
-
- All Implemented Interfaces:
ResultSetMode
public class LookupResultSetMode extends AbstractResultSetMode implements ResultSetMode
Mode for result lists contained inLookupPopup.
-
-
Field Summary
-
Fields inherited from class com.saperion.ngc.resultset.modes.AbstractResultSetMode
parentView
-
-
Constructor Summary
Constructors Constructor Description LookupResultSetMode(ResultSetViewImpl view, ResultSetPresenter presenter, java.util.List<ResultProperties> filteredProperties, java.lang.String[] fieldsToDisplay, boolean isSelect, java.util.Map<java.lang.String,com.saperion.intf.SaFieldDescription> fieldDescs)Creates a new ComplexMode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateListhead(org.zkoss.zul.Listhead head)Creates the listhead containing all headers.DraggableListItemcreateListitem(ResultProperties properties)Creates a listitem.booleanisForLookupTables()
-
-
-
Constructor Detail
-
LookupResultSetMode
public LookupResultSetMode(ResultSetViewImpl view, ResultSetPresenter presenter, java.util.List<ResultProperties> filteredProperties, java.lang.String[] fieldsToDisplay, boolean isSelect, java.util.Map<java.lang.String,com.saperion.intf.SaFieldDescription> fieldDescs)
Creates a new ComplexMode.- Parameters:
view- parent viewpresenter- parent presenterfilteredProperties- properties filtered for viewfieldsToDisplay- fields to display in viewisSelect- Select modefieldDescs- the SaFieldDescription to determine field values
-
-
Method Detail
-
createListhead
public void createListhead(org.zkoss.zul.Listhead head)
Creates the listhead containing all headers.- Specified by:
createListheadin interfaceResultSetMode- Parameters:
head- List head- See Also:
ResultSetMode.createListhead(org.zkoss.zul.Listhead)
-
createListitem
public DraggableListItem createListitem(ResultProperties properties) throws DocumentIdentificationException, NgcUiException
Creates a listitem.- Specified by:
createListitemin interfaceResultSetMode- Parameters:
properties- item's properties- Returns:
- listitem
- Throws:
DocumentIdentificationException- document identification failed (missing object id)NgcUiException- exception to be handled by view- See Also:
ResultSetMode.createListitem(com.saperion.ngc.model.resultset.ResultProperties)
-
isForLookupTables
public boolean isForLookupTables()
- Specified by:
isForLookupTablesin interfaceResultSetMode- Returns:
- true if this render mode is for lookup tables
-
-