public class DefaultListParameter extends AbstractParameter implements ListParameter
Constructor and Description |
---|
DefaultListParameter(String query,
String keyColumn,
String textColumn,
String name,
boolean allowMultiSelection,
boolean strictValueCheck,
Class valueType) |
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue(ParameterContext context) |
String |
getKeyColumn() |
String |
getQueryName() |
String |
getTextColumn() |
ParameterValues |
getValues(ParameterContext context) |
boolean |
isAllowMultiSelection() |
boolean |
isParameterAutoSelectFirstValue() |
boolean |
isStrictValueCheck() |
void |
setParameterAutoSelectFirstValue(boolean autoSelect) |
clone, getDefaultValue, getName, getParameterAttribute, getParameterAttribute, getParameterAttributeNames, getParameterAttributeNamespaces, getRole, getValueType, isDeprecated, isHidden, isMandatory, setDefaultValue, setDeprecated, setHidden, setMandatory, setParameterAttribute, setRole, setValueType
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getName, getParameterAttribute, getParameterAttributeNames, getParameterAttributeNamespaces, getTranslatedParameterAttribute, getValueType, isMandatory
public boolean isAllowMultiSelection()
isAllowMultiSelection
in interface ListParameter
public String getKeyColumn()
public String getTextColumn()
public String getQueryName()
public boolean isStrictValueCheck()
isStrictValueCheck
in interface ListParameter
public ParameterValues getValues(ParameterContext context) throws ReportDataFactoryException
getValues
in interface ListParameter
ReportDataFactoryException
public void setParameterAutoSelectFirstValue(boolean autoSelect)
public boolean isParameterAutoSelectFirstValue()
public Object getDefaultValue(ParameterContext context) throws ReportDataFactoryException
getDefaultValue
in interface ParameterDefinitionEntry
getDefaultValue
in class AbstractParameter
ReportDataFactoryException
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.