Class PropertySearchItem<T extends Serializable>
- java.lang.Object
-
- com.evolveum.midpoint.web.component.search.SearchItem
-
- com.evolveum.midpoint.web.component.search.PropertySearchItem<T>
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
- Direct Known Subclasses:
DateSearchItem
,DeadShadowSearchItem
,ObjectClassSearchItem
public class PropertySearchItem<T extends Serializable> extends SearchItem
- Author:
- honchar
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.web.component.search.SearchItem
SearchItem.Type
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description PropertySearchItem(Search search, @NotNull SearchItemDefinition definition)
PropertySearchItem(Search search, @NotNull SearchItemDefinition definition, DisplayableValue<T> defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DisplayableValue<T>>
getAllowedValues(PageBase pageBase)
PolyStringType
getDisplayName()
String
getHelp(PageBase pageBase)
String
getName()
ItemPath
getPath()
SearchItem.Type
getSearchItemType()
DisplayableValue<T>
getValue()
boolean
isVisible()
void
setDisplayName(PolyStringType displayName)
void
setValue(DisplayableValue<T> value)
void
setVisible(boolean visible)
String
toString()
ObjectFilter
transformToFilter()
-
Methods inherited from class com.evolveum.midpoint.web.component.search.SearchItem
canRemoveSearchItem, debugDump, debugDump, getDefinition, getSearch, getTitle, isApplyFilter, isEditWhenVisible, isEnabled, isFixed, setApplyFilter, setDefinition, setEditWhenVisible, setFixed
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
PropertySearchItem
public PropertySearchItem(Search search, @NotNull @NotNull SearchItemDefinition definition)
-
PropertySearchItem
public PropertySearchItem(Search search, @NotNull @NotNull SearchItemDefinition definition, DisplayableValue<T> defaultValue)
-
-
Method Detail
-
getValue
public DisplayableValue<T> getValue()
-
setValue
public void setValue(DisplayableValue<T> value)
-
getAllowedValues
public List<DisplayableValue<T>> getAllowedValues(PageBase pageBase)
-
getPath
public ItemPath getPath()
-
getName
public String getName()
- Specified by:
getName
in classSearchItem
-
getSearchItemType
public SearchItem.Type getSearchItemType()
- Specified by:
getSearchItemType
in classSearchItem
-
getDisplayName
public PolyStringType getDisplayName()
-
setDisplayName
public void setDisplayName(PolyStringType displayName)
-
getHelp
public String getHelp(PageBase pageBase)
- Overrides:
getHelp
in classSearchItem
-
setVisible
public void setVisible(boolean visible)
-
isVisible
public boolean isVisible()
-
transformToFilter
@Experimental public ObjectFilter transformToFilter()
-
-