Class ReferenceSearchItemWrapper<T extends Serializable>
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.component.search.AbstractSearchItemWrapper<T>
-
- com.evolveum.midpoint.gui.impl.component.search.PropertySearchItemWrapper
-
- com.evolveum.midpoint.gui.impl.component.search.ReferenceSearchItemWrapper<T>
-
- All Implemented Interfaces:
SelectableRow
,Serializable
public class ReferenceSearchItemWrapper<T extends Serializable> extends PropertySearchItemWrapper
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.gui.impl.component.search.PropertySearchItemWrapper
LOGGER
-
Fields inherited from class com.evolveum.midpoint.gui.impl.component.search.AbstractSearchItemWrapper
F_APPLY_FILTER, F_DISPLAYABLE_VALUE, F_HELP, F_NAME, F_SELECTED, F_TITLE, F_VALUE
-
-
Constructor Summary
Constructors Constructor Description ReferenceSearchItemWrapper(PrismReferenceDefinition def, Class<? extends Containerable> searchType)
ReferenceSearchItemWrapper(PrismReferenceDefinition def, List<T> availableValues, Class<? extends Containerable> searchType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectFilter
createFilter(Class type, PageBase pageBase, VariablesMap variables)
List<T>
getAvailableValues()
PrismReferenceDefinition
getDef()
DisplayableValue<ObjectReferenceType>
getDefaultValue()
Class<ReferenceSearchItemPanel>
getSearchItemPanelClass()
Class<? extends Containerable>
getSearchType()
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.search.PropertySearchItemWrapper
canRemoveSearchItem, getHelp, getName, getPath, getTitle, getValueTypeName, setHelp, setName, setPath, setValueTypeName
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.search.AbstractSearchItemWrapper
applyPredefinedFilter, equals, getFilterExpression, getParameterName, getParameterValueType, getPredefinedFilter, getValue, hashCode, isApplyFilter, isEnabled, isSelected, isVisible, setApplyFilter, setCanConfigure, setFilterExpression, setParameterName, setParameterValueType, setPredefinedFilter, setSelected, setValue, setVisible
-
-
-
-
Constructor Detail
-
ReferenceSearchItemWrapper
public ReferenceSearchItemWrapper(PrismReferenceDefinition def, Class<? extends Containerable> searchType)
-
ReferenceSearchItemWrapper
public ReferenceSearchItemWrapper(PrismReferenceDefinition def, List<T> availableValues, Class<? extends Containerable> searchType)
-
-
Method Detail
-
getDef
public PrismReferenceDefinition getDef()
-
getSearchType
public Class<? extends Containerable> getSearchType()
-
getSearchItemPanelClass
public Class<ReferenceSearchItemPanel> getSearchItemPanelClass()
- Overrides:
getSearchItemPanelClass
in classPropertySearchItemWrapper
-
getDefaultValue
public DisplayableValue<ObjectReferenceType> getDefaultValue()
- Overrides:
getDefaultValue
in classPropertySearchItemWrapper
-
createFilter
public ObjectFilter createFilter(Class type, PageBase pageBase, VariablesMap variables)
- Overrides:
createFilter
in classPropertySearchItemWrapper
-
-