public class DeltaBuilder<T extends Containerable> extends Object implements S_ItemEntry, S_MaybeDelete, S_ValuesEntry
Constructor and Description |
---|
DeltaBuilder(Class<T> objectClass,
ComplexTypeDefinition containerCTD,
PrismContext prismContext,
List<ItemDelta<?,?>> deltas,
ItemDelta currentDelta) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asObjectDeltaCast
public DeltaBuilder(Class<T> objectClass, ComplexTypeDefinition containerCTD, PrismContext prismContext, List<ItemDelta<?,?>> deltas, ItemDelta currentDelta)
public PrismContext getPrismContext()
public static <C extends Containerable> S_ItemEntry deltaFor(Class<C> objectClass, PrismContext prismContext) throws SchemaException
SchemaException
public S_ValuesEntry item(QName... names)
item
in interface S_ItemEntry
public S_ValuesEntry item(Object... namesOrIds)
item
in interface S_ItemEntry
public S_ValuesEntry item(ItemPath path)
item
in interface S_ItemEntry
public S_ValuesEntry item(ItemPath path, ItemDefinition definition)
item
in interface S_ItemEntry
public ObjectDelta asObjectDelta(String oid)
asObjectDelta
in interface S_ItemEntry
public List<ObjectDelta<?>> asObjectDeltas(String oid)
asObjectDeltas
in interface S_ItemEntry
public ItemDelta asItemDelta()
asItemDelta
in interface S_ItemEntry
public List<ItemDelta<?,?>> asItemDeltas()
asItemDeltas
in interface S_ItemEntry
public S_MaybeDelete add(Object... realValues)
add
in interface S_ValuesEntry
public S_MaybeDelete addRealValues(Collection<?> realValues)
addRealValues
in interface S_ValuesEntry
public S_MaybeDelete add(PrismValue... values)
add
in interface S_ValuesEntry
public S_MaybeDelete add(Collection<? extends PrismValue> values)
add
in interface S_ValuesEntry
public S_ValuesEntry old(Object... realValues)
old
in interface S_ValuesEntry
public S_ValuesEntry oldRealValues(Collection<?> realValues)
oldRealValues
in interface S_ValuesEntry
public <T> S_ValuesEntry oldRealValue(T realValue)
oldRealValue
in interface S_ValuesEntry
public S_ValuesEntry old(PrismValue... values)
old
in interface S_ValuesEntry
public S_ValuesEntry old(Collection<? extends PrismValue> values)
old
in interface S_ValuesEntry
public S_ItemEntry delete(Object... realValues)
delete
in interface S_MaybeDelete
delete
in interface S_ValuesEntry
public S_ItemEntry deleteRealValues(Collection<?> realValues)
deleteRealValues
in interface S_MaybeDelete
deleteRealValues
in interface S_ValuesEntry
public S_ItemEntry delete(PrismValue... values)
delete
in interface S_MaybeDelete
delete
in interface S_ValuesEntry
public S_ItemEntry delete(Collection<? extends PrismValue> values)
delete
in interface S_MaybeDelete
delete
in interface S_ValuesEntry
public S_ItemEntry replace(Object... realValues)
replace
in interface S_ValuesEntry
public S_ItemEntry replaceRealValues(Collection<?> realValues)
replaceRealValues
in interface S_ValuesEntry
public S_ItemEntry replace(Collection<? extends PrismValue> values)
replace
in interface S_ValuesEntry
public S_ItemEntry replace(PrismValue... values)
replace
in interface S_ValuesEntry
Copyright © 2019 Evolveum. All rights reserved.