Class DateSearchItemWrapper
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.component.search.wrapper.AbstractSearchItemWrapper<T>
-
- com.evolveum.midpoint.gui.impl.component.search.wrapper.FilterableSearchItemWrapper<T>
-
- com.evolveum.midpoint.gui.impl.component.search.wrapper.PropertySearchItemWrapper<XMLGregorianCalendar>
-
- com.evolveum.midpoint.gui.impl.component.search.wrapper.DateSearchItemWrapper
-
- All Implemented Interfaces:
SelectableRow
,Serializable
public class DateSearchItemWrapper extends PropertySearchItemWrapper<XMLGregorianCalendar>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
F_FROM_DATE
static String
F_TO_DATE
-
Fields inherited from class com.evolveum.midpoint.gui.impl.component.search.wrapper.PropertySearchItemWrapper
LOGGER
-
Fields inherited from class com.evolveum.midpoint.gui.impl.component.search.wrapper.AbstractSearchItemWrapper
F_APPLY_FILTER, F_DISPLAYABLE_VALUE, F_HELP, F_NAME, F_SELECTED, F_TITLE, F_VALUE
-
-
Constructor Summary
Constructors Constructor Description DateSearchItemWrapper(ItemPath path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearValue()
ObjectFilter
createFilter(Class type, PageBase pageBase, VariablesMap variables)
DisplayableValue<XMLGregorianCalendar>
getDefaultValue()
XMLGregorianCalendar
getIntervalSecondDate()
Class<DateSearchItemPanel>
getSearchItemPanelClass()
XMLGregorianCalendar
getSingleDate()
DisplayableValue<XMLGregorianCalendar>
getValue()
boolean
isInterval()
void
setInterval(boolean interval)
void
setIntervalSecondDate(XMLGregorianCalendar intervalSecondDate)
void
setSingleDate(XMLGregorianCalendar singleDate)
void
setValue(DisplayableValue<XMLGregorianCalendar> value)
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.search.wrapper.PropertySearchItemWrapper
canRemoveSearchItem, getHelp, getName, getPath, getTitle, getValueTypeName, setHelp, setName, setPath, setValueTypeName
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.search.wrapper.AbstractSearchItemWrapper
applyPredefinedFilter, equals, getFilterExpression, getParameterName, getParameterValueType, getPredefinedFilter, hashCode, isApplyFilter, isEnabled, isSelected, isVisible, setApplyFilter, setCanConfigure, setFilterExpression, setParameterName, setParameterValueType, setPredefinedFilter, setSelected, setVisible
-
-
-
-
Field Detail
-
F_FROM_DATE
public static final String F_FROM_DATE
- See Also:
- Constant Field Values
-
F_TO_DATE
public static final String F_TO_DATE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DateSearchItemWrapper
public DateSearchItemWrapper(ItemPath path)
-
-
Method Detail
-
getSingleDate
public XMLGregorianCalendar getSingleDate()
-
setSingleDate
public void setSingleDate(XMLGregorianCalendar singleDate)
-
getIntervalSecondDate
public XMLGregorianCalendar getIntervalSecondDate()
-
setIntervalSecondDate
public void setIntervalSecondDate(XMLGregorianCalendar intervalSecondDate)
-
getSearchItemPanelClass
public Class<DateSearchItemPanel> getSearchItemPanelClass()
- Overrides:
getSearchItemPanelClass
in classPropertySearchItemWrapper<XMLGregorianCalendar>
-
getDefaultValue
public DisplayableValue<XMLGregorianCalendar> getDefaultValue()
- Overrides:
getDefaultValue
in classPropertySearchItemWrapper<XMLGregorianCalendar>
-
isInterval
public boolean isInterval()
-
setInterval
public void setInterval(boolean interval)
-
getValue
public DisplayableValue<XMLGregorianCalendar> getValue()
- Overrides:
getValue
in classAbstractSearchItemWrapper<XMLGregorianCalendar>
-
setValue
public void setValue(DisplayableValue<XMLGregorianCalendar> value)
- Overrides:
setValue
in classAbstractSearchItemWrapper<XMLGregorianCalendar>
-
clearValue
public void clearValue()
- Overrides:
clearValue
in classAbstractSearchItemWrapper<XMLGregorianCalendar>
-
createFilter
public ObjectFilter createFilter(Class type, PageBase pageBase, VariablesMap variables)
- Overrides:
createFilter
in classPropertySearchItemWrapper<XMLGregorianCalendar>
-
-