|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.model.lens.LensContext<F,P>
public class LensContext<F extends ObjectType,P extends ObjectType>
Field Summary |
---|
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable |
---|
INDENT_STRING |
Constructor Summary | |
---|---|
LensContext(java.lang.Class<F> focusClass,
java.lang.Class<P> projectionClass,
PrismContext prismContext)
|
Method Summary | |
---|---|
void |
addProjectionContext(LensProjectionContext<P> projectionContext)
|
void |
adopt(PrismContext prismContext)
|
void |
checkConsistence()
|
void |
cleanup()
Cleans up the contexts by removing secondary deltas and other working state. |
void |
clearExecutedDeltas()
|
LensContext<F,P> |
clone()
|
protected void |
copyValues(LensContext<F,P> clone)
|
LensFocusContext<F> |
createFocusContext()
|
LensFocusContext<F> |
createFocusContext(java.lang.Class<F> explicitFocusClass)
|
LensProjectionContext<P> |
createProjectionContext()
|
LensProjectionContext<P> |
createProjectionContext(ResourceShadowDiscriminator rat)
|
java.lang.String |
debugDump()
Show the content of the object intended for diagnostics by system administrator. |
java.lang.String |
debugDump(int indent)
|
java.lang.String |
debugDump(int indent,
boolean showTriples)
|
void |
distributeResource()
|
java.lang.String |
dump()
Show the content of the object intended for diagnostics by developer. |
java.lang.String |
dump(boolean showTriples)
|
LensProjectionContext<P> |
findOrCreateProjectionContext(ResourceShadowDiscriminator rat)
|
LensProjectionContext<P> |
findProjectionContext(ResourceShadowDiscriminator rat)
|
LensProjectionContext<P> |
findProjectionContextByOid(java.lang.String oid)
|
AccountSynchronizationSettingsType |
getAccountSynchronizationSettings()
|
java.util.Collection<ObjectDelta<? extends ObjectType>> |
getAllChanges()
Returns all changes, user and all accounts. |
java.lang.String |
getChannel()
|
DeltaSetTriple<Assignment> |
getEvaluatedAssignmentTriple()
|
java.util.Collection<ObjectDelta<? extends ObjectType>> |
getExecutedDeltas()
Returns all executed deltas, user and all accounts. |
int |
getExecutionWave()
|
LensFocusContext<F> |
getFocusContext()
|
ValuePolicyType |
getGlobalPasswordPolicy()
|
int |
getMaxWave()
|
protected PrismContext |
getNotNullPrismContext()
|
LensFocusContext<F> |
getOrCreateFocusContext()
|
LensFocusContext<F> |
getOrCreateFocusContext(java.lang.Class<F> explicitFocusClass)
|
PrismContext |
getPrismContext()
|
java.util.Collection<LensProjectionContext<P>> |
getProjectionContexts()
|
int |
getProjectionWave()
|
ResourceType |
getResource(ResourceShadowDiscriminator rat)
Returns a resource for specified account type. |
ResourceType |
getResource(java.lang.String resourceOid)
Returns a resource for specified account type. |
ModelState |
getState()
|
UserTemplateType |
getUserTemplate()
|
void |
incrementExecutionWave()
|
void |
incrementProjectionWave()
|
boolean |
isDoReconciliationForAllProjections()
|
boolean |
isFresh()
|
void |
normalize()
|
void |
recompute()
|
void |
recomputeFocus()
|
void |
recomputeProjections()
|
void |
rememberResource(ResourceType resourceType)
Puts resource in the cache for later use. |
void |
rememberResources(java.util.Collection<ResourceType> resources)
Puts resources in the cache for later use. |
void |
removeRottenContexts()
Removes projection contexts that are not fresh. |
void |
resetProjectionWave()
|
void |
rot()
Makes the context and all sub-context non-fresh. |
void |
setAccountSynchronizationSettings(AccountSynchronizationSettingsType accountSynchronizationSettings)
|
void |
setChannel(javax.xml.namespace.QName channelQName)
|
void |
setChannel(java.lang.String channelUri)
|
void |
setDoReconciliationForAllProjections(boolean doReconciliationForAllProjections)
|
void |
setEvaluatedAssignmentTriple(DeltaSetTriple<Assignment> evaluatedAssignmentTriple)
|
void |
setExecutionWave(int executionWave)
|
void |
setFocusContext(LensFocusContext<F> focusContext)
|
void |
setFresh(boolean isFresh)
|
void |
setGlobalPasswordPolicy(ValuePolicyType globalPasswordPolicy)
|
void |
setProjectionWave(int wave)
|
void |
setState(ModelState state)
|
void |
setUserTemplate(UserTemplateType userTemplate)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LensContext(java.lang.Class<F> focusClass, java.lang.Class<P> projectionClass, PrismContext prismContext)
Method Detail |
---|
public PrismContext getPrismContext()
protected PrismContext getNotNullPrismContext()
public ModelState getState()
getState
in interface ModelContext<F extends ObjectType,P extends ObjectType>
public void setState(ModelState state)
public LensFocusContext<F> getFocusContext()
getFocusContext
in interface ModelContext<F extends ObjectType,P extends ObjectType>
public void setFocusContext(LensFocusContext<F> focusContext)
public LensFocusContext<F> createFocusContext()
public LensFocusContext<F> createFocusContext(java.lang.Class<F> explicitFocusClass)
public LensFocusContext<F> getOrCreateFocusContext()
public LensFocusContext<F> getOrCreateFocusContext(java.lang.Class<F> explicitFocusClass)
public java.util.Collection<LensProjectionContext<P>> getProjectionContexts()
getProjectionContexts
in interface ModelContext<F extends ObjectType,P extends ObjectType>
public void addProjectionContext(LensProjectionContext<P> projectionContext)
public LensProjectionContext<P> findProjectionContextByOid(java.lang.String oid)
public LensProjectionContext<P> findProjectionContext(ResourceShadowDiscriminator rat)
findProjectionContext
in interface ModelContext<F extends ObjectType,P extends ObjectType>
public LensProjectionContext<P> findOrCreateProjectionContext(ResourceShadowDiscriminator rat)
public UserTemplateType getUserTemplate()
public void setUserTemplate(UserTemplateType userTemplate)
public AccountSynchronizationSettingsType getAccountSynchronizationSettings()
public void setAccountSynchronizationSettings(AccountSynchronizationSettingsType accountSynchronizationSettings)
public ValuePolicyType getGlobalPasswordPolicy()
public void setGlobalPasswordPolicy(ValuePolicyType globalPasswordPolicy)
public int getProjectionWave()
public void setProjectionWave(int wave)
public void incrementProjectionWave()
public void resetProjectionWave()
public int getExecutionWave()
public void setExecutionWave(int executionWave)
public void incrementExecutionWave()
public int getMaxWave()
public boolean isFresh()
public void setFresh(boolean isFresh)
public void rot()
public void removeRottenContexts()
public java.lang.String getChannel()
public void setChannel(java.lang.String channelUri)
public void setChannel(javax.xml.namespace.QName channelQName)
public boolean isDoReconciliationForAllProjections()
public void setDoReconciliationForAllProjections(boolean doReconciliationForAllProjections)
public DeltaSetTriple<Assignment> getEvaluatedAssignmentTriple()
public void setEvaluatedAssignmentTriple(DeltaSetTriple<Assignment> evaluatedAssignmentTriple)
public java.util.Collection<ObjectDelta<? extends ObjectType>> getAllChanges() throws SchemaException
SchemaException
public java.util.Collection<ObjectDelta<? extends ObjectType>> getExecutedDeltas() throws SchemaException
SchemaException
public void clearExecutedDeltas()
public void recompute() throws SchemaException
SchemaException
public void recomputeFocus() throws SchemaException
SchemaException
public void recomputeProjections() throws SchemaException
SchemaException
public void checkConsistence()
public LensProjectionContext<P> createProjectionContext()
public LensProjectionContext<P> createProjectionContext(ResourceShadowDiscriminator rat)
public ResourceType getResource(ResourceShadowDiscriminator rat)
SyncContext#rememberResource(ResourceType)
public ResourceType getResource(java.lang.String resourceOid)
SyncContext#rememberResource(ResourceType)
public void rememberResources(java.util.Collection<ResourceType> resources)
public void rememberResource(ResourceType resourceType)
public void cleanup() throws SchemaException
SchemaException
public void adopt(PrismContext prismContext) throws SchemaException
SchemaException
public void normalize()
public LensContext<F,P> clone()
clone
in class java.lang.Object
protected void copyValues(LensContext<F,P> clone)
public void distributeResource()
public java.lang.String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public java.lang.String dump()
Dumpable
dump
in interface Dumpable
public java.lang.String dump(boolean showTriples)
public java.lang.String debugDump(int indent)
debugDump
in interface DebugDumpable
public java.lang.String debugDump(int indent, boolean showTriples)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |