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) |
Modifier and Type | Method and Description |
---|---|
S_MaybeDelete |
add(Collection<? extends PrismValue> values) |
S_MaybeDelete |
add(Object... realValues) |
S_MaybeDelete |
add(PrismValue... values) |
ItemDelta |
asItemDelta() |
List<ItemDelta<?,?>> |
asItemDeltas() |
ObjectDelta |
asObjectDelta(String oid) |
List<ObjectDelta<?>> |
asObjectDeltas(String oid) |
S_ItemEntry |
delete(Collection<? extends PrismValue> values) |
S_ItemEntry |
delete(Object... realValues) |
S_ItemEntry |
delete(PrismValue... values) |
static <C extends Containerable> |
deltaFor(Class<C> objectClass,
PrismContext prismContext) |
Class<T> |
getObjectClass() |
PrismContext |
getPrismContext() |
S_ValuesEntry |
item(ItemPath path) |
S_ValuesEntry |
item(ItemPath path,
ItemDefinition definition) |
S_ValuesEntry |
item(Object... namesOrIds) |
S_ValuesEntry |
item(QName... names) |
S_ItemEntry |
replace(Collection<? extends PrismValue> values) |
S_ItemEntry |
replace(Object... realValues) |
S_ItemEntry |
replace(PrismValue... values) |
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 add(PrismValue... values)
add
in interface S_ValuesEntry
public S_MaybeDelete add(Collection<? extends PrismValue> values)
add
in interface S_ValuesEntry
public S_ItemEntry delete(Object... realValues)
delete
in interface S_MaybeDelete
delete
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_ValuesEntry
public S_ItemEntry replace(Object... realValues)
replace
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 © 2016 evolveum. All rights reserved.