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 |
addToPrismContainer(PrismContainer<com.evolveum.midpoint.xml.ns._public.model.model_context_3.LensProjectionContextType> lensProjectionContextTypeContainer) |
void |
adopt(PrismContext prismContext) |
void |
checkConsistence() |
void |
checkConsistence(String contextDesc,
boolean fresh,
boolean force) |
void |
checkEncrypted() |
void |
cleanup()
Cleans up the contexts by removing secondary deltas and other 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.
|
static LensProjectionContext |
fromLensProjectionContextType(com.evolveum.midpoint.xml.ns._public.model.model_context_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() |
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() |
AccountOperation |
getOperation() |
Construction |
getOutboundConstruction() |
RefinedObjectClassDefinition |
getRefinedAccountDefinition() |
RefinedResourceSchema |
getRefinedResourceSchema() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType |
getResource() |
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDefinitionType |
getResourceObjectTypeDefinitionType() |
ResourceShadowDiscriminator |
getResourceShadowDiscriminator() |
Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismContainerValue<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType>>>> |
getSqueezedAssociations() |
Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<?>>>> |
getSqueezedAttributes() |
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 |
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 |
isWaveIncomplete() |
void |
normalize() |
void |
recompute()
Recomputes the new state of account (accountNew).
|
void |
reset()
Make the context as clean as new.
|
void |
setAccountPasswordPolicy(com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyType accountPasswordPolicy) |
void |
setActive(boolean isActive) |
void |
setAssigned(boolean isAssigned) |
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 |
setOutboundConstruction(Construction outboundConstruction) |
void |
setResource(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource) |
void |
setResourceShadowDiscriminator(ResourceShadowDiscriminator resourceShadowDiscriminator) |
void |
setSqueezedAssociations(Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismContainerValue<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowAssociationType>>>> squeezedAssociations) |
void |
setSqueezedAttributes(Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<?>>>> squeezedAttributes) |
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 |
setWave(int wave) |
void |
setWaveIncomplete(boolean waveIncomplete) |
String |
toHumanReadableString()
Return a human readable name of the projection object suitable for logs.
|
String |
toString() |
addPrimaryDelta, addSecondaryDelta, addToExecutedDeltas, checkConsistence, checkConsistence, copyValues, determineOid, fixProvisioningTypeInDelta, getDebugDumpTitle, getDebugDumpTitle, getDelta, getExecutedDeltas, getFixedDelta, getFixedPrimaryDelta, getIteration, getIterationToken, getLensContext, getNotNullPrismContext, getObjectAny, getObjectCurrent, getObjectDeltaObject, getObjectNew, getObjectOld, getObjectTypeClass, getOid, getPrimaryDelta, getPrismContext, getSecondaryDelta, getSynchronizationIntent, isFresh, markExecutedDeltasAudited, retrieveFromLensElementContextType, setFresh, setIteration, setIterationToken, setLoadedObject, setObjectCurrent, setObjectNew, setObjectOld, setOid, setPrimaryDelta, setSecondaryDelta, setSynchronizationIntent, storeIntoLensElementContextType, swallowToPrimaryDelta, swallowToSecondaryDelta
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExecutedDeltas, getObjectNew, getObjectOld, getObjectTypeClass, getOid, getPrimaryDelta, getSecondaryDelta, setObjectNew, setObjectOld, setPrimaryDelta, setSecondaryDelta
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 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 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<?>>>> getSqueezedAttributes()
public void setSqueezedAttributes(Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismPropertyValue<?>>>> squeezedAttributes)
public Map<QName,DeltaSetTriple<ItemValueWithOrigin<PrismContainerValue<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>>>> squeezedAssociations)
public com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDefinitionType getResourceObjectTypeDefinitionType()
public RefinedResourceSchema getRefinedResourceSchema() throws SchemaException
SchemaException
public RefinedObjectClassDefinition getRefinedAccountDefinition() 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
SchemaException
public void checkConsistence()
checkConsistence
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
public void checkConsistence(String contextDesc, boolean fresh, boolean force)
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>
public void reset()
LensElementContext
reset
in class LensElementContext<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>
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 AccountOperation getOperation()
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.model.model_context_3.LensProjectionContextType> lensProjectionContextTypeContainer) throws SchemaException
SchemaException
public static LensProjectionContext fromLensProjectionContextType(com.evolveum.midpoint.xml.ns._public.model.model_context_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)
Copyright © 2015 evolveum. All rights reserved.