public class DeltaConvertor extends Object
Modifier and Type | Field and Description |
---|---|
static QName |
PATH_ELEMENT_NAME |
Constructor and Description |
---|
DeltaConvertor() |
Modifier and Type | Method and Description |
---|---|
static <IV extends PrismValue,ID extends ItemDefinition> |
createItemDelta(ItemDeltaType propMod,
Class<? extends Objectable> objectType,
PrismContext prismContext)
Creates delta from PropertyModificationType (XML).
|
static <IV extends PrismValue,ID extends ItemDefinition> |
createItemDelta(ItemDeltaType propMod,
PrismContainerDefinition<?> pcDef) |
static <IV extends PrismValue,ID extends ItemDefinition> |
createItemDelta(ItemDeltaType propMod,
PrismContainerDefinition<?> pcDef,
boolean allowRawValues) |
static <T extends Objectable> |
createObjectDelta(ObjectDeltaType objectDeltaType,
PrismContext prismContext) |
static <T extends Objectable> |
createObjectDelta(ObjectDeltaType objectDeltaType,
PrismContext prismContext,
boolean allowRawValues) |
static <T extends Objectable> |
createObjectDelta(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType objectModification,
Class<T> type,
PrismContext prismContext) |
static <T extends Objectable> |
createObjectDelta(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType objectModification,
PrismObjectDefinition<T> objDef) |
static ObjectDeltaOperation |
createObjectDeltaOperation(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType objectDeltaOperationType,
PrismContext prismContext) |
static Collection<ObjectDelta> |
createObjectDeltas(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectDeltaListType deltaList,
PrismContext prismContext) |
static Collection<ItemDeltaType> |
toItemDeltaTypes(ItemDelta delta)
Converts this delta to PropertyModificationType (XML).
|
static Collection<ItemDeltaType> |
toItemDeltaTypes(ItemDelta delta,
DeltaConversionOptions options) |
static <T extends Objectable> |
toModifications(Collection<ItemDeltaType> itemDeltaTypes,
PrismObjectDefinition<T> objDef) |
static <T extends Objectable> |
toModifications(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType objectModification,
Class<T> type,
PrismContext prismContext) |
static <T extends Objectable> |
toModifications(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType objectModification,
PrismObjectDefinition<T> objDef) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType |
toObjectDeltaOperationType(ObjectDeltaOperation objectDeltaOperation) |
static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType |
toObjectDeltaOperationType(ObjectDeltaOperation objectDeltaOperation,
DeltaConversionOptions options) |
static void |
toObjectDeltaOperationType(ObjectDeltaOperation delta,
com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType odo,
DeltaConversionOptions options) |
static ObjectDeltaType |
toObjectDeltaType(ObjectDelta<? extends ObjectType> objectDelta) |
static ObjectDeltaType |
toObjectDeltaType(ObjectDelta<? extends ObjectType> objectDelta,
DeltaConversionOptions options) |
static String |
toObjectDeltaTypeXml(ObjectDelta<? extends ObjectType> delta) |
static String |
toObjectDeltaTypeXml(ObjectDelta<? extends ObjectType> delta,
DeltaConversionOptions options) |
static <T extends Objectable> |
toObjectModificationType(ObjectDelta<T> delta)
Converts this delta to ObjectModificationType (XML).
|
public static final QName PATH_ELEMENT_NAME
public static <T extends Objectable> ObjectDelta<T> createObjectDelta(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType objectModification, Class<T> type, PrismContext prismContext) throws SchemaException
SchemaException
public static <T extends Objectable> ObjectDelta<T> createObjectDelta(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType objectModification, PrismObjectDefinition<T> objDef) throws SchemaException
SchemaException
public static <T extends Objectable> ObjectDelta<T> createObjectDelta(ObjectDeltaType objectDeltaType, PrismContext prismContext, boolean allowRawValues) throws SchemaException
SchemaException
public static <T extends Objectable> ObjectDelta<T> createObjectDelta(ObjectDeltaType objectDeltaType, PrismContext prismContext) throws SchemaException
SchemaException
public static ObjectDeltaOperation createObjectDeltaOperation(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType objectDeltaOperationType, PrismContext prismContext) throws SchemaException
SchemaException
public static <T extends Objectable> Collection<? extends ItemDelta> toModifications(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType objectModification, Class<T> type, PrismContext prismContext) throws SchemaException
SchemaException
public static <T extends Objectable> Collection<? extends ItemDelta> toModifications(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType objectModification, PrismObjectDefinition<T> objDef) throws SchemaException
SchemaException
public static <T extends Objectable> Collection<? extends ItemDelta> toModifications(Collection<ItemDeltaType> itemDeltaTypes, PrismObjectDefinition<T> objDef) throws SchemaException
SchemaException
public static <T extends Objectable> com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectModificationType toObjectModificationType(ObjectDelta<T> delta) throws SchemaException
SchemaException
public static ObjectDeltaType toObjectDeltaType(ObjectDelta<? extends ObjectType> objectDelta) throws SchemaException
SchemaException
public static ObjectDeltaType toObjectDeltaType(ObjectDelta<? extends ObjectType> objectDelta, DeltaConversionOptions options) throws SchemaException
SchemaException
public static String toObjectDeltaTypeXml(ObjectDelta<? extends ObjectType> delta) throws SchemaException, JAXBException
SchemaException
JAXBException
public static String toObjectDeltaTypeXml(ObjectDelta<? extends ObjectType> delta, DeltaConversionOptions options) throws SchemaException, JAXBException
SchemaException
JAXBException
public static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType toObjectDeltaOperationType(ObjectDeltaOperation objectDeltaOperation) throws SchemaException
SchemaException
public static com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType toObjectDeltaOperationType(ObjectDeltaOperation objectDeltaOperation, DeltaConversionOptions options) throws SchemaException
SchemaException
public static void toObjectDeltaOperationType(ObjectDeltaOperation delta, com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectDeltaOperationType odo, DeltaConversionOptions options) throws SchemaException
SchemaException
public static <IV extends PrismValue,ID extends ItemDefinition> ItemDelta<IV,ID> createItemDelta(ItemDeltaType propMod, Class<? extends Objectable> objectType, PrismContext prismContext) throws SchemaException
SchemaException
public static <IV extends PrismValue,ID extends ItemDefinition> ItemDelta<IV,ID> createItemDelta(ItemDeltaType propMod, PrismContainerDefinition<?> pcDef, boolean allowRawValues) throws SchemaException
SchemaException
public static <IV extends PrismValue,ID extends ItemDefinition> ItemDelta<IV,ID> createItemDelta(ItemDeltaType propMod, PrismContainerDefinition<?> pcDef) throws SchemaException
SchemaException
public static Collection<ItemDeltaType> toItemDeltaTypes(ItemDelta delta) throws SchemaException
SchemaException
public static Collection<ItemDeltaType> toItemDeltaTypes(ItemDelta delta, DeltaConversionOptions options) throws SchemaException
SchemaException
public static Collection<ObjectDelta> createObjectDeltas(com.evolveum.midpoint.xml.ns._public.common.api_types_3.ObjectDeltaListType deltaList, PrismContext prismContext) throws SchemaException
SchemaException
Copyright © 2016 evolveum. All rights reserved.