public class LensFocusContext<O extends ObjectType> extends LensElementContext<O>
INDENT_STRING
Constructor and Description |
---|
LensFocusContext(Class<O> objectTypeClass,
LensContext<O,? extends ObjectType> lensContext) |
Modifier and Type | Method and Description |
---|---|
void |
addToPrismContainer(PrismContainer<LensFocusContextType> lensFocusContextTypeContainer) |
void |
adopt(PrismContext prismContext) |
void |
checkConsistence(String desc) |
void |
checkEncrypted() |
void |
cleanup()
Cleans up the contexts by removing secondary deltas and other working state.
|
LensFocusContext<O> |
clone(LensContext lensContext) |
protected void |
copyValues(LensFocusContext<O> clone,
LensContext lensContext) |
String |
debugDump()
Show the content of the object intended for diagnostics by system administrator.
|
String |
debugDump(int indent) |
String |
debugDump(int indent,
boolean showTriples) |
String |
dump()
Show the content of the object intended for diagnostics by developer.
|
String |
dump(boolean showTriples) |
static LensFocusContext |
fromLensFocusContextType(LensFocusContextType focusContextType,
LensContext lensContext,
OperationResult result) |
protected String |
getElementDefaultDesc() |
ContainerDelta<AssignmentType> |
getExecutionWaveAssignmentDelta()
Returns delta of user assignments, both primary and secondary (merged together).
|
Collection<? extends ItemDelta<?>> |
getExecutionWaveAssignmentItemDeltas(Long id) |
ObjectDelta<O> |
getProjectionWaveDelta()
Returns user delta, both primary and secondary (merged together) for a current wave.
|
ObjectDelta<O> |
getProjectionWavePrimaryDelta() |
ObjectDelta<O> |
getProjectionWaveSecondaryDelta() |
ObjectDelta<O> |
getSecondaryDelta() |
ObjectDelta<O> |
getSecondaryDelta(int wave) |
ObjectDeltaWaves<O> |
getSecondaryDeltas() |
ObjectDelta<O> |
getWaveDelta(int wave) |
ObjectDelta<O> |
getWaveSecondaryDelta(int wave) |
boolean |
isAdd() |
boolean |
isDelete() |
void |
normalize() |
void |
reset()
Make the context as clean as new.
|
void |
setOid(String oid)
Sets oid to the field but also to the deltas (if applicable).
|
void |
setProjectionWaveSecondaryDelta(ObjectDelta<O> secondaryDelta) |
void |
setSecondaryDelta(ObjectDelta<O> secondaryDelta) |
void |
setSecondaryDelta(ObjectDelta<O> secondaryDelta,
int wave) |
void |
swallowToProjectionWaveSecondaryDelta(ItemDelta<?> propDelta) |
String |
toString() |
addPrimaryDelta, addSecondaryDelta, addToExecutedDeltas, addToSecondaryDelta, checkConsistence, checkConsistence, copyValues, determineOid, fixProvisioningTypeInDelta, getDebugDumpTitle, getDebugDumpTitle, getDelta, getElementDesc, getExecutedDeltas, getLensContext, getNotNullPrismContext, getObjectCurrent, getObjectDefinition, getObjectDeltaObject, getObjectNew, getObjectOld, getObjectTypeClass, getOid, getPrimaryDelta, getPrismContext, isFresh, isModify, isRequireSecondardyDeltaOid, markExecutedDeltasAudited, recompute, retrieveFromLensElementContextType, setFresh, setLoadedObject, setObjectCurrent, setObjectNew, setObjectOld, setPrimaryDelta, storeIntoLensElementContextType
public LensFocusContext(Class<O> objectTypeClass, LensContext<O,? extends ObjectType> lensContext)
public void setOid(String oid)
LensElementContext
setOid
in class LensElementContext<O extends ObjectType>
public ObjectDelta<O> getProjectionWavePrimaryDelta() throws SchemaException
SchemaException
public boolean isDelete()
isDelete
in class LensElementContext<O extends ObjectType>
public boolean isAdd()
isAdd
in class LensElementContext<O extends ObjectType>
public ObjectDelta<O> getSecondaryDelta()
getSecondaryDelta
in interface ModelElementContext<O extends ObjectType>
getSecondaryDelta
in class LensElementContext<O extends ObjectType>
public ObjectDelta<O> getSecondaryDelta(int wave)
public ObjectDeltaWaves<O> getSecondaryDeltas()
public ObjectDelta<O> getProjectionWaveSecondaryDelta() throws SchemaException
SchemaException
public ObjectDelta<O> getWaveSecondaryDelta(int wave) throws SchemaException
SchemaException
public void setSecondaryDelta(ObjectDelta<O> secondaryDelta)
setSecondaryDelta
in interface ModelElementContext<O extends ObjectType>
setSecondaryDelta
in class LensElementContext<O extends ObjectType>
public void setSecondaryDelta(ObjectDelta<O> secondaryDelta, int wave)
public void setProjectionWaveSecondaryDelta(ObjectDelta<O> secondaryDelta)
public void swallowToProjectionWaveSecondaryDelta(ItemDelta<?> propDelta) throws SchemaException
SchemaException
public ObjectDelta<O> getProjectionWaveDelta() throws SchemaException
SchemaException
public ObjectDelta<O> getWaveDelta(int wave) throws SchemaException
SchemaException
public ContainerDelta<AssignmentType> getExecutionWaveAssignmentDelta() throws SchemaException
SchemaException
public Collection<? extends ItemDelta<?>> getExecutionWaveAssignmentItemDeltas(Long id) throws SchemaException
SchemaException
public void cleanup()
LensElementContext
cleanup
in class LensElementContext<O extends ObjectType>
public void normalize()
normalize
in class LensElementContext<O extends ObjectType>
public void reset()
LensElementContext
reset
in class LensElementContext<O extends ObjectType>
public void adopt(PrismContext prismContext) throws SchemaException
adopt
in class LensElementContext<O extends ObjectType>
SchemaException
public LensFocusContext<O> clone(LensContext lensContext)
clone
in class LensElementContext<O extends ObjectType>
protected void copyValues(LensFocusContext<O> clone, LensContext lensContext)
public String debugDump()
DebugDumpable
public String dump()
Dumpable
public String dump(boolean showTriples)
public String debugDump(int indent)
public String debugDump(int indent, boolean showTriples)
protected String getElementDefaultDesc()
getElementDefaultDesc
in class LensElementContext<O extends ObjectType>
public void addToPrismContainer(PrismContainer<LensFocusContextType> lensFocusContextTypeContainer) throws SchemaException
SchemaException
public static LensFocusContext fromLensFocusContextType(LensFocusContextType focusContextType, LensContext lensContext, OperationResult result) throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException
public void checkEncrypted()
checkEncrypted
in class LensElementContext<O extends ObjectType>
public void checkConsistence(String desc)
checkConsistence
in class LensElementContext<O extends ObjectType>
Copyright © 2013 evolveum. All rights reserved.