Class ObjectDeltaFactoryImpl
java.lang.Object
com.evolveum.midpoint.prism.impl.delta.ObjectDeltaFactoryImpl
- All Implemented Interfaces:
DeltaFactory.Object
-
Method Summary
Modifier and TypeMethodDescription<O extends Objectable>
ObjectDelta<O>create(Class<O> type, ChangeType changeType) <O extends Objectable>
ObjectDelta<O>createDeleteDelta(Class<O> type, String oid) <O extends Objectable>
ObjectDelta<O>createEmptyAddDelta(Class<O> type, String oid) <O extends Objectable>
ObjectDelta<O>createEmptyDeleteDelta(Class<O> type, String oid) <O extends Objectable>
ObjectDelta<O>createEmptyDelta(Class<O> type, String oid, ChangeType changeType) <O extends Objectable>
ObjectDelta<O>createEmptyModifyDelta(Class<O> type, String oid) <O extends Objectable,C extends Containerable>
ObjectDelta<O>createModificationAddContainer(Class<O> type, String oid, ItemPath propertyPath, C... containerValues) <O extends Objectable,C extends Containerable>
ObjectDelta<O>createModificationAddContainer(Class<O> type, String oid, ItemPath propertyPath, PrismContainerValue<C>... containerValues) <O extends Objectable,X>
ObjectDelta<O>createModificationAddProperty(Class<O> type, String oid, ItemPath propertyPath, X... propertyValues) <O extends Objectable>
ObjectDelta<O>createModificationAddReference(Class<O> type, String oid, QName propertyName, PrismObject<?>... referenceObjects) Convenience method for quick creation of object deltas that replace a single object property.<O extends Objectable>
ObjectDelta<O>createModificationAddReference(Class<O> type, String oid, QName propertyName, PrismReferenceValue... referenceValues) Convenience method for quick creation of object deltas that replace a single object property.<O extends Objectable>
ObjectDelta<O>createModificationAddReference(Class<O> type, String oid, QName propertyName, String... targetOids) <O extends Objectable,C extends Containerable>
ObjectDelta<O>createModificationDeleteContainer(Class<O> type, String oid, ItemPath propertyPath, C... containerValues) <O extends Objectable,C extends Containerable>
ObjectDelta<O>createModificationDeleteContainer(Class<O> type, String oid, ItemPath containerPath, PrismContainerValue<C>... containerValues) <O extends Objectable,X>
ObjectDelta<O>createModificationDeleteProperty(Class<O> type, String oid, ItemPath propertyPath, X... propertyValues) <O extends Objectable>
ObjectDelta<O>createModificationDeleteReference(Class<O> type, String oid, QName propertyName, PrismReferenceValue... referenceValues) Convenience method for quick creation of object deltas that replace a single object property.<O extends Objectable>
ObjectDelta<O>createModificationDeleteReference(Class<O> type, String oid, QName propertyName, String... targetOids) <O extends Objectable,C extends Containerable>
ObjectDelta<O>createModificationReplaceContainer(Class<O> type, String oid, ItemPath propertyPath, C... containerValues) <O extends Objectable,C extends Containerable>
ObjectDelta<O>createModificationReplaceContainer(Class<O> type, String oid, ItemPath containerPath, PrismContainerValue<C>... containerValues) <O extends Objectable,X>
ObjectDelta<O>createModificationReplaceProperty(Class<O> type, String oid, ItemPath propertyPath, X... propertyValues) Convenience method for quick creation of object deltas that replace a single object property.<O extends Objectable>
ObjectDelta<O>createModificationReplaceReference(Class<O> type, String oid, ItemPath refPath, PrismReferenceValue... refValues) Convenience method for quick creation of object deltas that replace a single object reference.<T extends Objectable>
ObjectDelta<T>createModifyDelta(String oid, ItemDelta modification, Class<T> objectTypeClass) <T extends Objectable>
ObjectDelta<T>createModifyDelta(String oid, Collection<? extends ItemDelta> modifications, Class<T> objectTypeClass) static <O extends Objectable,C extends Containerable>
voidfillInModificationAddContainer(ObjectDelta<O> objectDelta, ItemPath propertyPath, PrismContainerValue<C>... containerValues) static <O extends Objectable>
voidfillInModificationAddReference(ObjectDelta<O> objectDelta, ItemPath refPath, PrismReferenceValue... refValues) static <O extends Objectable,C extends Containerable>
voidfillInModificationDeleteContainer(ObjectDelta<O> objectDelta, ItemPath propertyPath, PrismContainerValue<C>... containerValues) static <O extends Objectable,X>
voidfillInModificationDeleteProperty(ObjectDelta<O> objectDelta, ItemPath propertyPath, X... propertyValues) static <O extends Objectable,X>
PropertyDelta<X>fillInModificationReplaceProperty(ObjectDelta<O> objectDelta, ItemPath propertyPath, X... propertyValues) static <O extends Objectable>
voidfillInModificationReplaceReference(ObjectDelta<O> objectDelta, ItemPath refPath, PrismReferenceValue... refValues)
-
Method Details
-
fillInModificationReplaceProperty
@SafeVarargs public static <O extends Objectable,X> PropertyDelta<X> fillInModificationReplaceProperty(ObjectDelta<O> objectDelta, ItemPath propertyPath, X... propertyValues) -
fillInModificationDeleteProperty
@SafeVarargs public static <O extends Objectable,X> void fillInModificationDeleteProperty(ObjectDelta<O> objectDelta, ItemPath propertyPath, X... propertyValues) -
fillInModificationReplaceReference
public static <O extends Objectable> void fillInModificationReplaceReference(ObjectDelta<O> objectDelta, ItemPath refPath, PrismReferenceValue... refValues) -
fillInModificationAddReference
public static <O extends Objectable> void fillInModificationAddReference(ObjectDelta<O> objectDelta, ItemPath refPath, PrismReferenceValue... refValues) -
fillInModificationDeleteContainer
@SafeVarargs public static <O extends Objectable,C extends Containerable> void fillInModificationDeleteContainer(ObjectDelta<O> objectDelta, ItemPath propertyPath, PrismContainerValue<C>... containerValues) -
fillInModificationAddContainer
@SafeVarargs public static <O extends Objectable,C extends Containerable> void fillInModificationAddContainer(ObjectDelta<O> objectDelta, ItemPath propertyPath, PrismContainerValue<C>... containerValues) -
create
- Specified by:
createin interfaceDeltaFactory.Object
-
createModificationReplaceProperty
public <O extends Objectable,X> ObjectDelta<O> createModificationReplaceProperty(Class<O> type, String oid, ItemPath propertyPath, X... propertyValues) Convenience method for quick creation of object deltas that replace a single object property. This is used quite often to justify a separate method.- Specified by:
createModificationReplacePropertyin interfaceDeltaFactory.Object
-
createEmptyDelta
public <O extends Objectable> ObjectDelta<O> createEmptyDelta(Class<O> type, String oid, ChangeType changeType) - Specified by:
createEmptyDeltain interfaceDeltaFactory.Object
-
createEmptyDeleteDelta
- Specified by:
createEmptyDeleteDeltain interfaceDeltaFactory.Object
-
createEmptyModifyDelta
- Specified by:
createEmptyModifyDeltain interfaceDeltaFactory.Object
-
createEmptyAddDelta
public <O extends Objectable> ObjectDelta<O> createEmptyAddDelta(Class<O> type, String oid) throws SchemaException - Specified by:
createEmptyAddDeltain interfaceDeltaFactory.Object- Throws:
SchemaException
-
createModifyDelta
public <T extends Objectable> ObjectDelta<T> createModifyDelta(String oid, ItemDelta modification, Class<T> objectTypeClass) - Specified by:
createModifyDeltain interfaceDeltaFactory.Object
-
createDeleteDelta
- Specified by:
createDeleteDeltain interfaceDeltaFactory.Object
-
createModifyDelta
public <T extends Objectable> ObjectDelta<T> createModifyDelta(String oid, Collection<? extends ItemDelta> modifications, Class<T> objectTypeClass) - Specified by:
createModifyDeltain interfaceDeltaFactory.Object
-
createModificationDeleteReference
public <O extends Objectable> ObjectDelta<O> createModificationDeleteReference(Class<O> type, String oid, QName propertyName, String... targetOids) - Specified by:
createModificationDeleteReferencein interfaceDeltaFactory.Object
-
createModificationDeleteReference
public <O extends Objectable> ObjectDelta<O> createModificationDeleteReference(Class<O> type, String oid, QName propertyName, PrismReferenceValue... referenceValues) Convenience method for quick creation of object deltas that replace a single object property. This is used quite often to justify a separate method.- Specified by:
createModificationDeleteReferencein interfaceDeltaFactory.Object
-
createModificationDeleteProperty
public <O extends Objectable,X> ObjectDelta<O> createModificationDeleteProperty(Class<O> type, String oid, ItemPath propertyPath, X... propertyValues) - Specified by:
createModificationDeletePropertyin interfaceDeltaFactory.Object
-
createModificationAddProperty
public <O extends Objectable,X> ObjectDelta<O> createModificationAddProperty(Class<O> type, String oid, ItemPath propertyPath, X... propertyValues) - Specified by:
createModificationAddPropertyin interfaceDeltaFactory.Object
-
createModificationAddReference
public <O extends Objectable> ObjectDelta<O> createModificationAddReference(Class<O> type, String oid, QName propertyName, String... targetOids) - Specified by:
createModificationAddReferencein interfaceDeltaFactory.Object
-
createModificationAddReference
public <O extends Objectable> ObjectDelta<O> createModificationAddReference(Class<O> type, String oid, QName propertyName, PrismReferenceValue... referenceValues) Convenience method for quick creation of object deltas that replace a single object property. This is used quite often to justify a separate method.- Specified by:
createModificationAddReferencein interfaceDeltaFactory.Object
-
createModificationAddReference
public <O extends Objectable> ObjectDelta<O> createModificationAddReference(Class<O> type, String oid, QName propertyName, PrismObject<?>... referenceObjects) Convenience method for quick creation of object deltas that replace a single object property. This is used quite often to justify a separate method.- Specified by:
createModificationAddReferencein interfaceDeltaFactory.Object
-
createModificationReplaceContainer
public <O extends Objectable,C extends Containerable> ObjectDelta<O> createModificationReplaceContainer(Class<O> type, String oid, ItemPath containerPath, PrismContainerValue<C>... containerValues) - Specified by:
createModificationReplaceContainerin interfaceDeltaFactory.Object
-
createModificationDeleteContainer
public <O extends Objectable,C extends Containerable> ObjectDelta<O> createModificationDeleteContainer(Class<O> type, String oid, ItemPath propertyPath, C... containerValues) throws SchemaException - Specified by:
createModificationDeleteContainerin interfaceDeltaFactory.Object- Throws:
SchemaException
-
createModificationDeleteContainer
public <O extends Objectable,C extends Containerable> ObjectDelta<O> createModificationDeleteContainer(Class<O> type, String oid, ItemPath containerPath, PrismContainerValue<C>... containerValues) - Specified by:
createModificationDeleteContainerin interfaceDeltaFactory.Object
-
createModificationAddContainer
public <O extends Objectable,C extends Containerable> ObjectDelta<O> createModificationAddContainer(Class<O> type, String oid, ItemPath propertyPath, C... containerValues) throws SchemaException - Specified by:
createModificationAddContainerin interfaceDeltaFactory.Object- Throws:
SchemaException
-
createModificationAddContainer
public <O extends Objectable,C extends Containerable> ObjectDelta<O> createModificationAddContainer(Class<O> type, String oid, ItemPath propertyPath, PrismContainerValue<C>... containerValues) - Specified by:
createModificationAddContainerin interfaceDeltaFactory.Object
-
createModificationReplaceContainer
public <O extends Objectable,C extends Containerable> ObjectDelta<O> createModificationReplaceContainer(Class<O> type, String oid, ItemPath propertyPath, C... containerValues) throws SchemaException - Specified by:
createModificationReplaceContainerin interfaceDeltaFactory.Object- Throws:
SchemaException
-
createModificationReplaceReference
public <O extends Objectable> ObjectDelta<O> createModificationReplaceReference(Class<O> type, String oid, ItemPath refPath, PrismReferenceValue... refValues) Convenience method for quick creation of object deltas that replace a single object reference.- Specified by:
createModificationReplaceReferencein interfaceDeltaFactory.Object
-