public class LensFocusContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> extends LensElementContext<O>
INDENT_STRING
Constructor and Description |
---|
LensFocusContext(Class<O> objectTypeClass,
LensContext<O> lensContext) |
Modifier and Type | Method and Description |
---|---|
void |
addToPrismContainer(PrismContainer<com.evolveum.midpoint.xml.ns._public.common.common_3.LensFocusContextType> lensFocusContextTypeContainer) |
void |
adopt(PrismContext prismContext) |
boolean |
alreadyHasDelta(ItemDelta<?,?> itemDelta) |
void |
applyProjectionWaveSecondaryDeltas(Collection<ItemDelta<?,?>> itemDeltas) |
void |
checkConsistence(String desc) |
void |
checkEncrypted() |
void |
cleanup()
Cleans up the contexts by removing some of the working state.
|
void |
clearIntermediateResults() |
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(boolean showTriples) |
static LensFocusContext |
fromLensFocusContextType(com.evolveum.midpoint.xml.ns._public.common.common_3.LensFocusContextType focusContextType,
LensContext lensContext,
OperationResult result) |
ObjectDelta<O> |
getAggregatedWaveDelta(int wave) |
protected String |
getElementDefaultDesc() |
String |
getHumanReadableName() |
ObjectDeltaObject<O> |
getObjectDeltaObject() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectPolicyConfigurationType |
getObjectPolicyConfigurationType() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType |
getOrgPasswordPolicy() |
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> |
getWaveExecutableDelta(int wave) |
ObjectDelta<O> |
getWaveSecondaryDelta(int wave) |
boolean |
isAdd() |
boolean |
isDelete() |
void |
normalize() |
void |
setObjectPolicyConfigurationType(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectPolicyConfigurationType objectPolicyConfigurationType) |
void |
setOid(String oid)
Sets oid to the field but also to the deltas (if applicable).
|
void |
setOrgPasswordPolicy(com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType orgPasswordPolicy) |
void |
setProjectionWaveSecondaryDelta(ObjectDelta<O> secondaryDelta) |
void |
setSecondaryDelta(ObjectDelta<O> secondaryDelta) |
void |
setSecondaryDelta(ObjectDelta<O> secondaryDelta,
int wave) |
void |
swallowToProjectionWaveSecondaryDelta(ItemDelta<?,?> propDelta) |
void |
swallowToSecondaryDelta(ItemDelta<?,?> propDelta) |
String |
toString() |
addPrimaryDelta, addToExecutedDeltas, canRepresent, checkConsistence, checkConsistence, checkConsistence, cloneDelta, copyValues, determineOid, fixProvisioningTypeInDelta, getDebugDumpTitle, getDebugDumpTitle, getDelta, getElementDesc, getExecutedDeltas, getFixedDelta, getFixedPrimaryDelta, getIteration, getIterationToken, getLensContext, getNotNullPrismContext, getObjectAny, getObjectCurrent, getObjectDefinition, getObjectNew, getObjectOld, getObjectTypeClass, getOid, getOperation, getPrimaryDelta, getPrismContext, getSynchronizationIntent, isFresh, isModify, isRequireSecondardyDeltaOid, markExecutedDeltasAudited, recompute, retrieveFromLensElementContextType, setFresh, setIteration, setIterationToken, setLoadedObject, setObjectCurrent, setObjectNew, setObjectOld, setPrimaryDelta, setSynchronizationIntent, storeIntoLensElementContextType, swallowToPrimaryDelta
public LensFocusContext(Class<O> objectTypeClass, LensContext<O> lensContext)
public void setOrgPasswordPolicy(com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType orgPasswordPolicy)
public com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType getOrgPasswordPolicy()
public com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectPolicyConfigurationType getObjectPolicyConfigurationType()
public void setObjectPolicyConfigurationType(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectPolicyConfigurationType objectPolicyConfigurationType)
public void setOid(String oid)
LensElementContext
setOid
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
public ObjectDelta<O> getProjectionWavePrimaryDelta() throws SchemaException
SchemaException
public boolean isDelete()
isDelete
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
public boolean isAdd()
isAdd
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
public ObjectDelta<O> getSecondaryDelta()
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 ObjectDeltaObject<O> getObjectDeltaObject() throws SchemaException
getObjectDeltaObject
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
SchemaException
public void setSecondaryDelta(ObjectDelta<O> secondaryDelta)
public void setSecondaryDelta(ObjectDelta<O> secondaryDelta, int wave)
public void setProjectionWaveSecondaryDelta(ObjectDelta<O> secondaryDelta)
public void swallowToProjectionWaveSecondaryDelta(ItemDelta<?,?> propDelta) throws SchemaException
SchemaException
public void swallowToSecondaryDelta(ItemDelta<?,?> propDelta) throws SchemaException
swallowToSecondaryDelta
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
SchemaException
public boolean alreadyHasDelta(ItemDelta<?,?> itemDelta)
public ObjectDelta<O> getProjectionWaveDelta() throws SchemaException
SchemaException
public ObjectDelta<O> getWaveDelta(int wave) throws SchemaException
SchemaException
public ObjectDelta<O> getAggregatedWaveDelta(int wave) throws SchemaException
SchemaException
public ObjectDelta<O> getWaveExecutableDelta(int wave) throws SchemaException
SchemaException
public void cleanup()
LensElementContext
cleanup
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
public void normalize()
normalize
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
public void adopt(PrismContext prismContext) throws SchemaException
adopt
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
SchemaException
public void clearIntermediateResults()
public void applyProjectionWaveSecondaryDeltas(Collection<ItemDelta<?,?>> itemDeltas) throws SchemaException
SchemaException
public LensFocusContext<O> clone(LensContext lensContext)
clone
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
protected void copyValues(LensFocusContext<O> clone, LensContext lensContext)
public String debugDump()
DebugDumpable
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 com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
public String getHumanReadableName()
getHumanReadableName
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
public void addToPrismContainer(PrismContainer<com.evolveum.midpoint.xml.ns._public.common.common_3.LensFocusContextType> lensFocusContextTypeContainer) throws SchemaException
SchemaException
public static LensFocusContext fromLensFocusContextType(com.evolveum.midpoint.xml.ns._public.common.common_3.LensFocusContextType focusContextType, LensContext lensContext, OperationResult result) throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException
public void checkEncrypted()
checkEncrypted
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
public void checkConsistence(String desc)
checkConsistence
in class LensElementContext<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType>
Copyright © 2016 evolveum. All rights reserved.