Class DuplicationProcessHelper
java.lang.Object
com.evolveum.midpoint.gui.impl.duplication.DuplicationProcessHelper
Contains method for creating and modifying new duplicated object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <C extends Containerable>
voidaddDuplicationActionForContainer
(List<InlineMenuItem> menuItems, SerializableBiConsumer<PrismContainerValue<C>, org.apache.wicket.ajax.AjaxRequestTarget> createDuplicatedItem, PageBase pageBase) Adding new action for duplication of container value to items menu.static <O extends ObjectType>
voidaddDuplicationActionForObject
(List<InlineMenuItem> menuItems, PageBase pageBase) Adding new action for duplication of object to items menu.static <C extends Containerable>
PrismContainerValue<C>duplicateContainerValueDefault
(PrismContainerValue<C> container) Duplicate container value that can be reused.static <O extends ObjectType>
PrismObject<O>duplicateObjectDefault
(PrismObject<O> object) Duplicate object that can be reused.static <C extends Containerable>
voidremoveMappingAlias
(PrismContainerValue<C> containerValue) Remove all mapping alias in container.
-
Constructor Details
-
DuplicationProcessHelper
public DuplicationProcessHelper()
-
-
Method Details
-
addDuplicationActionForObject
public static <O extends ObjectType> void addDuplicationActionForObject(List<InlineMenuItem> menuItems, PageBase pageBase) Adding new action for duplication of object to items menu. -
addDuplicationActionForContainer
public static <C extends Containerable> void addDuplicationActionForContainer(List<InlineMenuItem> menuItems, SerializableBiConsumer<PrismContainerValue<C>, org.apache.wicket.ajax.AjaxRequestTarget> createDuplicatedItem, PageBase pageBase) Adding new action for duplication of container value to items menu. -
duplicateObjectDefault
Duplicate object that can be reused. -
duplicateContainerValueDefault
public static <C extends Containerable> PrismContainerValue<C> duplicateContainerValueDefault(PrismContainerValue<C> container) Duplicate container value that can be reused. -
removeMappingAlias
public static <C extends Containerable> void removeMappingAlias(PrismContainerValue<C> containerValue) Remove all mapping alias in container.
-