@Test public void test110UserWithContainers() throws Exception { final String TEST_NAME = "test101UserWithContainers"; Task task = createTask(TEST_NAME); PrismObject<UserType> u = prismContext.createObject(UserType.class); UserType ut = u.asObjectable(); u.setOid("456"); ut.setName(new PolyStringType("user456")); ut.setFullName(new PolyStringType("User User456")); ut.setActivation(new ActivationType(prismContext)); ut.getActivation().setAdministrativeStatus(ActivationStatusType.ENABLED); ut.getActivation().setValidTo(XmlTypeConverter.createXMLGregorianCalendar(2020, 1, 1, 0, 0, 0)); AssignmentType ass1 = new AssignmentType(prismContext); ass1.setActivation(new ActivationType(prismContext)); ass1.getActivation().setAdministrativeStatus(ActivationStatusType.ENABLED); ass1.getActivation().setValidTo(XmlTypeConverter.createXMLGregorianCalendar(2019, 1, 1, 0, 0, 0)); ass1.setTargetRef(createObjectRef(ROLE_SUPERUSER_OID, ROLE)); ut.getAssignment().add(ass1); AssignmentType ass2 = new AssignmentType(prismContext); ass2.setTargetRef(createObjectRef("777", ROLE)); ut.getAssignment().add(ass2); AssignmentType ass3 = new AssignmentType(prismContext); ass3.setConstruction(new ConstructionType(prismContext)); ass3.getConstruction().setResourceRef(createObjectRef(RESOURCE_DUMMY_OID, RESOURCE)); ut.getAssignment().add(ass3); displayWhen(TEST_NAME); final Scene scene = visualizer.visualize(u, task, task.getResult()); displayThen(TEST_NAME); display("scene", scene); }
public SceneImpl visualize(PrismObject<? extends ObjectType> object, Task task, OperationResult parentResult) throws SchemaException, ExpressionEvaluationException { return visualize(object, new VisualizationContext(), task, parentResult); }
Visualizer { public SceneImpl visualize(PrismObject<? extends ObjectType> object, Task task, OperationResult parentResult) throws SchemaException, ExpressionEvaluationException { return visualize(object, new VisualizationContext(), task, parentResult); } }
Visualizer { public SceneImpl visualize(PrismObject<? extends ObjectType> object, Task task, OperationResult parentResult) throws SchemaException, ExpressionEvaluationException { return visualize(object, new VisualizationContext(), task, parentResult); }  }
Visualizer { public SceneImpl visualize(PrismObject<? extends ObjectType> object, Task task, OperationResult parentResult) throws SchemaException, ExpressionEvaluationException { return visualize(object, new VisualizationContext(), task, parentResult); }  SceneImpl visualize(PrismObject<? extends ObjectType> object, Task task, OperationResult parentResult); SceneImpl visualize(PrismObject<? extends ObjectType> object, VisualizationContext context, Task task, OperationResult parentResult); List<? extends SceneImpl> visualizeDeltas(List<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult parentResult); @NotNull SceneImpl visualizeDelta(ObjectDelta<? extends ObjectType> objectDelta, Task task, OperationResult parentResult); }
Visualizer { public SceneImpl visualize(PrismObject<? extends ObjectType> object, Task task, OperationResult parentResult) throws SchemaException, ExpressionEvaluationException { return visualize(object, new VisualizationContext(), task, parentResult); }  SceneImpl visualize(PrismObject<? extends ObjectType> object, Task task, OperationResult parentResult); SceneImpl visualize(PrismObject<? extends ObjectType> object, VisualizationContext context, Task task, OperationResult parentResult); List<? extends SceneImpl> visualizeDeltas(List<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult parentResult); @NotNull SceneImpl visualizeDelta(ObjectDelta<? extends ObjectType> objectDelta, Task task, OperationResult parentResult); static final String CLASS_DOT; }