Class ResourceObjectConstruction<AH extends AssignmentHolderType,EC extends EvaluatedResourceObjectConstructionImpl<AH,?>>  
java.lang.Object
com.evolveum.midpoint.model.impl.lens.construction.AbstractConstruction<AH,ConstructionType,EC>
  
com.evolveum.midpoint.model.impl.lens.construction.ResourceObjectConstruction<AH,EC> 
- All Implemented Interfaces:
- DebugDumpable,- Serializable
- Direct Known Subclasses:
- AssignedResourceObjectConstruction,- PlainResourceObjectConstruction
public abstract class ResourceObjectConstruction<AH extends AssignmentHolderType,EC extends EvaluatedResourceObjectConstructionImpl<AH,?>>  
extends AbstractConstruction<AH,ConstructionType,EC>  
Contains "construction bean" (ConstructionType) - a definition how to construct a resource object.
 Besides this definition it also contains auxiliary objects that are needed to evaluate the construction.
 An instance of this class produces one or more "evaluated" constructions: more of them in case that
 multiaccounts (tags) are used. Evaluated constructions are represented by evaluatedConstructionTriple.
- Author:
- Radovan Semancik
- See Also:
- 
Field SummaryFields inherited from class com.evolveum.midpoint.model.impl.lens.construction.AbstractConstructionassignmentPath, lensContext, now, originType, sourceFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract ECcreateEvaluatedConstruction(@NotNull ConstructionTargetKey targetKey) debugDump(int indent) booleanevaluate(Task task, OperationResult parentResult) Evaluates this construction.ShadowAttributeDefinition<?,?, ?, ?> findAttributeDefinition(QName attributeName) getNow()@NotNull StringinthashCode()protected abstract voidbooleanShould this construction be ignored e.g. because the resource couldn't be resolved?protected voidloadFullShadow(LensProjectionContext projectionContext, String desc, Task task, OperationResult result) protected abstract voidresolveResource(Task task, OperationResult result) toString()Methods inherited from class com.evolveum.midpoint.model.impl.lens.construction.AbstractConstructiongetAssignmentPath, getConstructionBean, getFocusOdoAbsolute, getLensContext, getOriginType, getSource, getWasValid, isValid, isWeak, setFocusOdoAbsolute, setWasValidMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Method Details- 
getEvaluatedConstructionTriple- Specified by:
- getEvaluatedConstructionTriplein class- AbstractConstruction<AH extends AssignmentHolderType,- ConstructionType, - EC extends EvaluatedResourceObjectConstructionImpl<AH, - ?>> 
 
- 
evaluatepublic NextRecompute evaluate(Task task, OperationResult parentResult) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, SecurityViolationException, ConfigurationException, CommunicationException Evaluates this construction. Note that evaluation is delegated toEvaluatedResourceObjectConstructionobjects, which are created here (based on tag mapping evaluation).
- 
createEvaluatedConstructionprotected abstract EC createEvaluatedConstruction(@NotNull @NotNull ConstructionTargetKey targetKey) - Parameters:
- targetKey- Projection into which this construction belong. Must be classified!
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AbstractConstruction<AH extends AssignmentHolderType,- ConstructionType, - EC extends EvaluatedResourceObjectConstructionImpl<AH, - ?>> 
 
- 
equals- Overrides:
- equalsin class- AbstractConstruction<AH extends AssignmentHolderType,- ConstructionType, - EC extends EvaluatedResourceObjectConstructionImpl<AH, - ?>> 
 
- 
debugDump
- 
toString
- 
getMappingFactory
- 
getNow
- 
resolveResourceprotected abstract void resolveResource(Task task, OperationResult result) throws ObjectNotFoundException, SchemaException 
- 
isIgnoredpublic boolean isIgnored()Should this construction be ignored e.g. because the resource couldn't be resolved? The construction was already evaluated.- Specified by:
- isIgnoredin class- AbstractConstruction<AH extends AssignmentHolderType,- ConstructionType, - EC extends EvaluatedResourceObjectConstructionImpl<AH, - ?>> 
 
- 
getResource
- 
getResourceOid
- 
initializeDefinitions
- 
getResourceObjectDefinition
- 
getAuxiliaryObjectClassDefinitions
- 
findAttributeDefinition
- 
loadFullShadowprotected void loadFullShadow(LensProjectionContext projectionContext, String desc, Task task, OperationResult result) throws CommunicationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException 
 
-