Class SimulationsGuiUtil
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.simulation.SimulationsGuiUtil
Created by Viliam Repan (lazyman).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectProcessingStateType
static org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<SimulationResultProcessedObjectType>,
String> createProcessedObjectIconColumn
(PageAdminLTE parentPage) static org.apache.wicket.markup.html.basic.Label
createProcessedObjectStateLabel
(String id, org.apache.wicket.model.IModel<SimulationResultProcessedObjectType> model) static Visualization
createVisualization
(ObjectDelta<? extends ObjectType> delta, PageBase page) static VisualizationDto
createVisualizationDto
(Visualization visualization) static Map<BuiltInSimulationMetricType,
Integer> static String
static String
getProcessedObjectName
(ProcessedObject<?> object, PageBase page) static String
getProcessedObjectType
(@NotNull org.apache.wicket.model.IModel<SimulationResultProcessedObjectType> model) static @Nullable String
getShadowNameFromAttribute
(ProcessedObject<?> object) static int
getUnmodifiedProcessedObjectCount
(SimulationResultType result, Map<BuiltInSimulationMetricType, Integer> builtInMetrics) static ProcessedObject<?>
parseProcessedObject
(@NotNull SimulationResultProcessedObjectType obj, @NotNull PageBase page)
-
Constructor Details
-
SimulationsGuiUtil
public SimulationsGuiUtil()
-
-
Method Details
-
createProcessedObjectStateLabel
public static org.apache.wicket.markup.html.basic.Label createProcessedObjectStateLabel(String id, org.apache.wicket.model.IModel<SimulationResultProcessedObjectType> model) -
getObjectProcessingStateBadgeCss
-
getProcessedObjectType
public static String getProcessedObjectType(@NotNull @NotNull org.apache.wicket.model.IModel<SimulationResultProcessedObjectType> model) -
createProcessedObjectIconColumn
public static org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn<SelectableBean<SimulationResultProcessedObjectType>,String> createProcessedObjectIconColumn(PageAdminLTE parentPage) -
createVisualization
public static Visualization createVisualization(ObjectDelta<? extends ObjectType> delta, PageBase page) -
createVisualizationDto
-
getProcessedObjectName
-
getShadowNameFromAttribute
-
parseProcessedObject
public static ProcessedObject<?> parseProcessedObject(@NotNull @NotNull SimulationResultProcessedObjectType obj, @NotNull @NotNull PageBase page) -
getBuiltInMetrics
public static Map<BuiltInSimulationMetricType,Integer> getBuiltInMetrics(SimulationResultType result) -
getUnmodifiedProcessedObjectCount
public static int getUnmodifiedProcessedObjectCount(SimulationResultType result, Map<BuiltInSimulationMetricType, Integer> builtInMetrics) -
builtInMetricToProcessingState
public static ObjectProcessingStateType builtInMetricToProcessingState(BuiltInSimulationMetricType identifier)
-