public class LensProjectionContext extends LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> implements ModelProjectionContext
INDENT_STRING
Modifier and Type | Method and Description |
---|---|
void |
addAccountSyncDelta(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> delta) |
void |
addSecondaryDelta(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> delta) |
void |
addToPrismContainer(PrismContainer<com.evolveum.midpoint.xml.ns._public.common.common_3.LensProjectionContextType> lensProjectionContextTypeContainer) |
void |
adopt(PrismContext prismContext) |
void |
checkConsistence() |
protected void |
checkConsistence(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> object,
String elementDesc,
String contextDesc) |
void |
checkConsistence(String contextDesc) |
void |
checkConsistence(String contextDesc,
boolean fresh,
boolean force) |
void |
checkEncrypted() |
void |
cleanup()
Cleans up the contexts by removing some of the working state.
|
void |
clearIntermediateResults() |
LensProjectionContext |
clone(LensContext<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> lensContext) |
boolean |
compareResourceShadowDiscriminator(ResourceShadowDiscriminator rsd,
boolean compareOrder) |
protected void |
copyValues(LensProjectionContext clone,
LensContext<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> 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) |
void |
determineFullShadowFlag(com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType fetchResult) |
void |
distributeResource()
Distribute the resource that's in the context into all the prism objects (old, new) and deltas.
|
<T> RefinedAttributeDefinition<T> |
findAttributeDefinition(QName attrName) |
static LensProjectionContext |
fromLensProjectionContextType(com.evolveum.midpoint.xml.ns._public.common.common_3.LensProjectionContextType projectionContextType,
LensContext lensContext,
OperationResult result) |
com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType |
getAccountPasswordPolicy() |
com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentPolicyEnforcementType |
getAssignmentPolicyEnforcementType() |
Collection<RefinedObjectClassDefinition> |
getAuxiliaryObjectClassDefinitions() |
CompositeRefinedObjectClassDefinition |
getCompositeObjectClassDefinition() |
PrismValueDeltaSetTriple<PrismPropertyValue<Construction>> |
getConstructionDeltaSetTriple() |
Collection<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDependencyType> |
getDependencies() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType |
getEffectivePasswordPolicy() |
protected String |
getElementDefaultDesc() |
protected String |
getElementDesc() |
ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
getExecutableDelta()
Returns delta suitable for execution.
|
String |
getHumanReadableKind() |
String |
getHumanReadableName() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowKindType |
getKind() |
PrismObjectDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
getObjectDefinition() |
ObjectDeltaObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
getObjectDeltaObject() |
Construction |
getOutboundConstruction() |
RefinedResourceSchema |
getRefinedResourceSchema() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType |
getResource() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDefinitionType |
getResourceObjectTypeDefinitionType() |
String |
getResourceOid() |
ResourceShadowDiscriminator |
getResourceShadowDiscriminator() |
ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
getSecondaryDelta() |
Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismContainerValue<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType>,PrismContainerDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType>>>> |
getSqueezedAssociations() |
Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<?>,PrismPropertyDefinition<?>>>> |
getSqueezedAttributes() |
Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<QName>,PrismPropertyDefinition<QName>>>> |
getSqueezedAuxiliaryObjectClasses() |
RefinedObjectClassDefinition |
getStructuralObjectClassDefinition() |
ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
getSyncDelta()
Returns synchronization delta.
|
SynchronizationPolicyDecision |
getSynchronizationPolicyDecision()
Decision regarding the account.
|
com.evolveum.midpoint.xml.ns._public.common.common_3.SynchronizationSituationType |
getSynchronizationSituationDetected() |
com.evolveum.midpoint.xml.ns._public.common.common_3.SynchronizationSituationType |
getSynchronizationSituationResolved() |
int |
getWave() |
boolean |
hasFullShadow()
Returns true if full shadow is available, either loaded or in a create delta.
|
boolean |
hasValueForAttribute(QName attributeName)
Returns true if the projection has any value for specified attribute.
|
boolean |
isActive() |
boolean |
isAdd() |
boolean |
isAssigned() |
boolean |
isAssignedOld() |
boolean |
isCanProject() |
boolean |
isDelete() |
boolean |
isDoReconciliation() |
boolean |
isExists() |
boolean |
isFullShadow() |
Boolean |
isLegal() |
boolean |
isLegalize() |
Boolean |
isLegalOld() |
boolean |
isModify() |
protected boolean |
isRequireSecondardyDeltaOid() |
boolean |
isSyncAbsoluteTrigger() |
boolean |
isThombstone() |
boolean |
isToBeArchived() |
boolean |
isWaveIncomplete() |
void |
normalize() |
void |
recompute()
Recomputes the new state of account (accountNew).
|
void |
refreshAuxiliaryObjectClassDefinitions() |
protected void |
resetSynchronizationPolicyDecision() |
void |
setAccountPasswordPolicy(com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType accountPasswordPolicy) |
void |
setActive(boolean isActive) |
void |
setAssigned(boolean isAssigned) |
void |
setAssignedOld(boolean isAssignedOld) |
void |
setCanProject(boolean canProject) |
void |
setConstructionDeltaSetTriple(PrismValueDeltaSetTriple<PrismPropertyValue<Construction>> constructionDeltaSetTriple) |
void |
setDoReconciliation(boolean doReconciliation) |
void |
setExists(boolean exists) |
void |
setFullShadow(boolean fullShadow) |
void |
setLegal(Boolean isLegal) |
void |
setLegalOld(Boolean isLegalOld) |
void |
setOid(String oid)
Sets oid to the field but also to the deltas (if applicable).
|
void |
setOutboundConstruction(Construction outboundConstruction) |
void |
setResource(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource) |
void |
setResourceShadowDiscriminator(ResourceShadowDiscriminator resourceShadowDiscriminator) |
void |
setSecondaryDelta(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> secondaryDelta) |
void |
setSqueezedAssociations(Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismContainerValue<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType>,PrismContainerDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType>>>> squeezedAssociations) |
void |
setSqueezedAttributes(Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<?>,PrismPropertyDefinition<?>>>> squeezedAttributes) |
void |
setSqueezedAuxiliaryObjectClasses(Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<QName>,PrismPropertyDefinition<QName>>>> squeezedAuxiliaryObjectClasses) |
void |
setSyncAbsoluteTrigger(boolean syncAbsoluteTrigger) |
void |
setSyncDelta(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> syncDelta) |
void |
setSynchronizationPolicyDecision(SynchronizationPolicyDecision policyDecision) |
void |
setSynchronizationSituationDetected(com.evolveum.midpoint.xml.ns._public.common.common_3.SynchronizationSituationType synchronizationSituationDetected) |
void |
setSynchronizationSituationResolved(com.evolveum.midpoint.xml.ns._public.common.common_3.SynchronizationSituationType synchronizationSituationResolved) |
void |
setToBeArchived(boolean toBeArchived) |
void |
setWave(int wave) |
void |
setWaveIncomplete(boolean waveIncomplete) |
void |
swallowToSecondaryDelta(ItemDelta<?,?> itemDelta) |
String |
toHumanReadableString()
Return a human readable name of the projection object suitable for logs.
|
String |
toString() |
addPrimaryDelta, addToExecutedDeltas, canRepresent, checkConsistence, cloneDelta, copyValues, determineOid, fixProvisioningTypeInDelta, getDebugDumpTitle, getDebugDumpTitle, getDelta, getExecutedDeltas, getFixedDelta, getFixedPrimaryDelta, getIteration, getIterationToken, getLensContext, getNotNullPrismContext, getObjectAny, getObjectCurrent, getObjectNew, getObjectOld, getObjectTypeClass, getOid, getOperation, getPrimaryDelta, getPrismContext, getSynchronizationIntent, isFresh, markExecutedDeltasAudited, retrieveFromLensElementContextType, setFresh, setIteration, setIterationToken, setLoadedObject, setObjectCurrent, setObjectNew, setObjectOld, setPrimaryDelta, setSynchronizationIntent, storeIntoLensElementContextType, swallowToPrimaryDelta
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPrimaryDelta, getExecutedDeltas, getObjectNew, getObjectOld, getObjectTypeClass, getOid, getPrimaryDelta, setObjectNew, setObjectOld, setPrimaryDelta
public ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> getSyncDelta()
ModelProjectionContext
getSyncDelta
in interface ModelProjectionContext
public void setSyncDelta(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> syncDelta)
setSyncDelta
in interface ModelProjectionContext
public ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> getSecondaryDelta()
getSecondaryDelta
in interface ModelElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public ObjectDeltaObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> getObjectDeltaObject() throws SchemaException
getObjectDeltaObject
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
SchemaException
public void setSecondaryDelta(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> secondaryDelta)
setSecondaryDelta
in interface ModelElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public void addSecondaryDelta(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> delta) throws SchemaException
SchemaException
public void swallowToSecondaryDelta(ItemDelta<?,?> itemDelta) throws SchemaException
swallowToSecondaryDelta
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
SchemaException
public void setOid(String oid)
LensElementContext
setOid
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public boolean isSyncAbsoluteTrigger()
public void setSyncAbsoluteTrigger(boolean syncAbsoluteTrigger)
public int getWave()
public void setWave(int wave)
public boolean isWaveIncomplete()
public void setWaveIncomplete(boolean waveIncomplete)
public boolean isDoReconciliation()
public void setDoReconciliation(boolean doReconciliation)
public ResourceShadowDiscriminator getResourceShadowDiscriminator()
getResourceShadowDiscriminator
in interface ModelProjectionContext
public void setResourceShadowDiscriminator(ResourceShadowDiscriminator resourceShadowDiscriminator)
public boolean compareResourceShadowDiscriminator(ResourceShadowDiscriminator rsd, boolean compareOrder)
public boolean isThombstone()
public void addAccountSyncDelta(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> delta) throws SchemaException
SchemaException
public boolean isAdd()
isAdd
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public boolean isModify()
isModify
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public boolean isDelete()
isDelete
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType getResource()
public void setResource(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource)
public PrismObjectDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> getObjectDefinition()
getObjectDefinition
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public boolean isAssigned()
public void setAssigned(boolean isAssigned)
public boolean isAssignedOld()
public void setAssignedOld(boolean isAssignedOld)
public boolean isActive()
public void setActive(boolean isActive)
public Boolean isLegal()
public void setLegal(Boolean isLegal)
public Boolean isLegalOld()
public void setLegalOld(Boolean isLegalOld)
public boolean isExists()
public void setExists(boolean exists)
public SynchronizationPolicyDecision getSynchronizationPolicyDecision()
ModelProjectionContext
getSynchronizationPolicyDecision
in interface ModelProjectionContext
SynchronizationPolicyDecision
public void setSynchronizationPolicyDecision(SynchronizationPolicyDecision policyDecision)
public com.evolveum.midpoint.xml.ns._public.common.common_3.SynchronizationSituationType getSynchronizationSituationDetected()
public void setSynchronizationSituationDetected(com.evolveum.midpoint.xml.ns._public.common.common_3.SynchronizationSituationType synchronizationSituationDetected)
public com.evolveum.midpoint.xml.ns._public.common.common_3.SynchronizationSituationType getSynchronizationSituationResolved()
public void setSynchronizationSituationResolved(com.evolveum.midpoint.xml.ns._public.common.common_3.SynchronizationSituationType synchronizationSituationResolved)
public boolean isFullShadow()
public boolean hasFullShadow()
public void setFullShadow(boolean fullShadow)
public com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowKindType getKind()
public PrismValueDeltaSetTriple<PrismPropertyValue<Construction>> getConstructionDeltaSetTriple()
public void setConstructionDeltaSetTriple(PrismValueDeltaSetTriple<PrismPropertyValue<Construction>> constructionDeltaSetTriple)
public Construction getOutboundConstruction()
public void setOutboundConstruction(Construction outboundConstruction)
public Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<?>,PrismPropertyDefinition<?>>>> getSqueezedAttributes()
public void setSqueezedAttributes(Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<?>,PrismPropertyDefinition<?>>>> squeezedAttributes)
public Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismContainerValue<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType>,PrismContainerDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType>>>> getSqueezedAssociations()
public void setSqueezedAssociations(Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismContainerValue<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType>,PrismContainerDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType>>>> squeezedAssociations)
public Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<QName>,PrismPropertyDefinition<QName>>>> getSqueezedAuxiliaryObjectClasses()
public void setSqueezedAuxiliaryObjectClasses(Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<QName>,PrismPropertyDefinition<QName>>>> squeezedAuxiliaryObjectClasses)
public com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDefinitionType getResourceObjectTypeDefinitionType()
public RefinedResourceSchema getRefinedResourceSchema() throws SchemaException
SchemaException
public RefinedObjectClassDefinition getStructuralObjectClassDefinition() throws SchemaException
SchemaException
public Collection<RefinedObjectClassDefinition> getAuxiliaryObjectClassDefinitions() throws SchemaException
SchemaException
public void refreshAuxiliaryObjectClassDefinitions() throws SchemaException
SchemaException
public CompositeRefinedObjectClassDefinition getCompositeObjectClassDefinition() throws SchemaException
SchemaException
public <T> RefinedAttributeDefinition<T> findAttributeDefinition(QName attrName) throws SchemaException
SchemaException
public Collection<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDependencyType> getDependencies()
public com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType getAccountPasswordPolicy()
public void setCanProject(boolean canProject)
public boolean isCanProject()
public void setAccountPasswordPolicy(com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType accountPasswordPolicy)
public com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType getEffectivePasswordPolicy()
public com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentPolicyEnforcementType getAssignmentPolicyEnforcementType()
public boolean isLegalize()
public void recompute() throws SchemaException
recompute
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
SchemaException
public void clearIntermediateResults()
public void distributeResource()
public ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> getExecutableDelta() throws SchemaException
getExecutableDelta
in interface ModelProjectionContext
SchemaException
public void checkConsistence()
checkConsistence
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public void checkConsistence(String contextDesc)
checkConsistence
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public void checkConsistence(String contextDesc, boolean fresh, boolean force)
protected void checkConsistence(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> object, String elementDesc, String contextDesc)
checkConsistence
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
protected boolean isRequireSecondardyDeltaOid()
isRequireSecondardyDeltaOid
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public void cleanup()
LensElementContext
cleanup
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public void normalize()
normalize
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
protected void resetSynchronizationPolicyDecision()
public void adopt(PrismContext prismContext) throws SchemaException
adopt
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
SchemaException
public LensProjectionContext clone(LensContext<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> lensContext)
clone
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
protected void copyValues(LensProjectionContext clone, LensContext<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> lensContext)
public boolean hasValueForAttribute(QName attributeName) throws SchemaException
SchemaException
public void checkEncrypted()
checkEncrypted
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public String getHumanReadableName()
getHumanReadableName
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
public String debugDump(int indent, boolean showTriples)
protected String getElementDefaultDesc()
getElementDefaultDesc
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public String toHumanReadableString()
public String getHumanReadableKind()
protected String getElementDesc()
getElementDesc
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public void addToPrismContainer(PrismContainer<com.evolveum.midpoint.xml.ns._public.common.common_3.LensProjectionContextType> lensProjectionContextTypeContainer) throws SchemaException
SchemaException
public static LensProjectionContext fromLensProjectionContextType(com.evolveum.midpoint.xml.ns._public.common.common_3.LensProjectionContextType projectionContextType, LensContext lensContext, OperationResult result) throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException
public void determineFullShadowFlag(com.evolveum.midpoint.xml.ns._public.common.common_3.OperationResultType fetchResult)
public boolean isToBeArchived()
public void setToBeArchived(boolean toBeArchived)
public String getResourceOid()
Copyright © 2016 evolveum. All rights reserved.