Class ContainerableNameColumn<SR extends SelectableRow<C>,C extends Containerable>
- java.lang.Object
-
- org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn<T,S>
-
- org.apache.wicket.extensions.markup.html.repeater.data.table.export.AbstractExportableColumn<S,String>
-
- com.evolveum.midpoint.gui.impl.component.data.column.ConfigurableExpressionColumn<SR,C>
-
- com.evolveum.midpoint.web.component.data.column.ContainerableNameColumn<SR,C>
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<SR>
,org.apache.wicket.extensions.markup.html.repeater.data.table.export.IExportableColumn<SR,String>
,org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SR,String>
,org.apache.wicket.extensions.markup.html.repeater.data.table.IStyledColumn<SR,String>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
ObjectNameColumn
public abstract class ContainerableNameColumn<SR extends SelectableRow<C>,C extends Containerable> extends ConfigurableExpressionColumn<SR,C>
Created by Viliam Repan (lazyman).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.gui.impl.component.data.column.ConfigurableExpressionColumn
OPERATION_EVALUATE_EXPRESSION
-
-
Constructor Summary
Constructors Constructor Description ContainerableNameColumn(org.apache.wicket.model.IModel<String> displayModel, String sortProperty, GuiObjectColumnType customColumn, ExpressionType expression, PageBase pageBase)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected org.apache.wicket.Component
createComponent(String componentId, org.apache.wicket.model.IModel<String> labelModel, org.apache.wicket.model.IModel<SR> rowModel)
protected Collection<String>
evaluate(VariablesMap variablesMap, ExpressionType expression, com.evolveum.midpoint.task.api.Task task, OperationResult result)
protected abstract org.apache.wicket.model.IModel<String>
getContainerName(SR rowModel)
protected String
handleDefaultValue(SR selectableBean)
protected String
handleNullRowValue(SR selectableBean)
boolean
isClickable(org.apache.wicket.model.IModel<SR> rowModel)
void
onClick(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<SR> rowModel)
void
populateItem(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<SR>> cellItem, String componentId, org.apache.wicket.model.IModel<SR> rowModel)
protected void
processVariables(VariablesMap variablesMap, C rowValue)
-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.data.column.ConfigurableExpressionColumn
evaluateExpression, getCssClass, getDataModel, getPageBase, getRowRealValue, getStringValueForObject, loadExportableColumnDataModel
-
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.data.table.export.AbstractExportableColumn
createDisplayComponent
-
Methods inherited from class org.apache.wicket.extensions.markup.html.repeater.data.table.AbstractColumn
detach, getDisplayModel, getHeader, getSortProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
ContainerableNameColumn
public ContainerableNameColumn(org.apache.wicket.model.IModel<String> displayModel, String sortProperty, GuiObjectColumnType customColumn, ExpressionType expression, PageBase pageBase)
-
-
Method Detail
-
populateItem
public void populateItem(org.apache.wicket.markup.repeater.Item<org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<SR>> cellItem, String componentId, org.apache.wicket.model.IModel<SR> rowModel)
- Specified by:
populateItem
in interfaceorg.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator<SR extends SelectableRow<C>>
- Overrides:
populateItem
in classConfigurableExpressionColumn<SR extends SelectableRow<C>,C extends Containerable>
-
createComponent
protected org.apache.wicket.Component createComponent(String componentId, org.apache.wicket.model.IModel<String> labelModel, org.apache.wicket.model.IModel<SR> rowModel)
-
isClickable
public boolean isClickable(org.apache.wicket.model.IModel<SR> rowModel)
-
onClick
public void onClick(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<SR> rowModel)
-
handleDefaultValue
protected String handleDefaultValue(SR selectableBean)
- Overrides:
handleDefaultValue
in classConfigurableExpressionColumn<SR extends SelectableRow<C>,C extends Containerable>
-
processVariables
protected void processVariables(VariablesMap variablesMap, C rowValue)
- Overrides:
processVariables
in classConfigurableExpressionColumn<SR extends SelectableRow<C>,C extends Containerable>
-
evaluate
protected Collection<String> evaluate(VariablesMap variablesMap, ExpressionType expression, com.evolveum.midpoint.task.api.Task task, OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException
- Overrides:
evaluate
in classConfigurableExpressionColumn<SR extends SelectableRow<C>,C extends Containerable>
- Throws:
SchemaException
ExpressionEvaluationException
CommunicationException
SecurityViolationException
ConfigurationException
ObjectNotFoundException
-
handleNullRowValue
protected String handleNullRowValue(SR selectableBean)
- Overrides:
handleNullRowValue
in classConfigurableExpressionColumn<SR extends SelectableRow<C>,C extends Containerable>
-
-