Class SelectableObjectModel<O extends ObjectType>
- java.lang.Object
-
- org.apache.wicket.model.LoadableDetachableModel<O>
-
- com.evolveum.midpoint.gui.impl.model.SelectableObjectModel<O>
-
- All Implemented Interfaces:
SelectableRowModel<O>
,Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.model.IModel<O>
,org.apache.wicket.util.io.IClusterable
public abstract class SelectableObjectModel<O extends ObjectType> extends org.apache.wicket.model.LoadableDetachableModel<O> implements SelectableRowModel<O>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelectableObjectModel(O object, Collection<SelectorOptions<GetOperationOptions>> options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOid()
Collection<SelectorOptions<GetOperationOptions>>
getOptions()
Class<O>
getType()
boolean
isSelected()
protected void
onDetach()
void
setSelected(boolean selected)
-
Methods inherited from class org.apache.wicket.model.LoadableDetachableModel
detach, getObject, isAttached, load, of, onAttach, setObject, toString
-
-
-
-
Constructor Detail
-
SelectableObjectModel
public SelectableObjectModel(O object, Collection<SelectorOptions<GetOperationOptions>> options)
-
-
Method Detail
-
onDetach
protected void onDetach()
- Overrides:
onDetach
in classorg.apache.wicket.model.LoadableDetachableModel<O extends ObjectType>
-
setSelected
public void setSelected(boolean selected)
- Specified by:
setSelected
in interfaceSelectableRowModel<O extends ObjectType>
-
isSelected
public boolean isSelected()
- Specified by:
isSelected
in interfaceSelectableRowModel<O extends ObjectType>
-
getOid
public String getOid()
-
getOptions
public Collection<SelectorOptions<GetOperationOptions>> getOptions()
-
-