Class PersonaProcessor
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.lens.PersonaProcessor
-
@Component public class PersonaProcessor extends Object
Runs persona-related changes after the primary operation is all done. Executed directly from clockwork. Not entirely clean solution. Ideally, this should be somehow integrated in the clockwork process (nested contexts). But should be good enough for now.- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description PersonaProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <F extends FocusType,T extends FocusType>
voidpersonaAdd(LensContext<F> context, com.evolveum.midpoint.model.impl.lens.PersonaProcessor.PersonaKey key, PersonaConstruction<F> construction, Task task, OperationResult result)
<F extends FocusType>
voidpersonaDelete(LensContext<F> context, com.evolveum.midpoint.model.impl.lens.PersonaProcessor.PersonaKey key, FocusType existingPersona, Task task, OperationResult result)
<F extends FocusType,T extends FocusType>
voidpersonaModify(LensContext<F> context, com.evolveum.midpoint.model.impl.lens.PersonaProcessor.PersonaKey key, PersonaConstruction<F> construction, PrismObject<T> existingPersona, Task task, OperationResult result)
<O extends ObjectType>
HookOperationModeprocessPersonaChanges(LensContext<O> context, Task task, OperationResult result)
<F extends FocusType>
HookOperationModeprocessPersonaChangesFocus(LensContext<F> context, Task task, OperationResult result)
<F extends FocusType>
List<FocusType>readExistingPersonas(LensContext<F> context, Task task, OperationResult result)
-
-
-
Method Detail
-
processPersonaChanges
public <O extends ObjectType> HookOperationMode processPersonaChanges(LensContext<O> context, Task task, OperationResult result) throws ObjectAlreadyExistsException, ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException, PolicyViolationException, PreconditionViolationException
-
processPersonaChangesFocus
public <F extends FocusType> HookOperationMode processPersonaChangesFocus(LensContext<F> context, Task task, OperationResult result) throws ObjectAlreadyExistsException, ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException, PolicyViolationException, PreconditionViolationException
-
readExistingPersonas
public <F extends FocusType> List<FocusType> readExistingPersonas(LensContext<F> context, Task task, OperationResult result) throws CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
-
personaAdd
public <F extends FocusType,T extends FocusType> void personaAdd(LensContext<F> context, com.evolveum.midpoint.model.impl.lens.PersonaProcessor.PersonaKey key, PersonaConstruction<F> construction, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, ExpressionEvaluationException, PolicyViolationException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException, PreconditionViolationException
-
personaModify
public <F extends FocusType,T extends FocusType> void personaModify(LensContext<F> context, com.evolveum.midpoint.model.impl.lens.PersonaProcessor.PersonaKey key, PersonaConstruction<F> construction, PrismObject<T> existingPersona, Task task, OperationResult result) throws ObjectNotFoundException, SchemaException, ExpressionEvaluationException, PolicyViolationException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException, PreconditionViolationException
-
personaDelete
public <F extends FocusType> void personaDelete(LensContext<F> context, com.evolveum.midpoint.model.impl.lens.PersonaProcessor.PersonaKey key, FocusType existingPersona, Task task, OperationResult result) throws ObjectAlreadyExistsException, ObjectNotFoundException, SchemaException, ExpressionEvaluationException, CommunicationException, ConfigurationException, PolicyViolationException, SecurityViolationException, PreconditionViolationException
-
-