Class DelayedDeleteEvaluator
java.lang.Object
com.evolveum.midpoint.model.impl.lens.projector.mappings.predefinedActivationMapping.PredefinedActivationMappingEvaluator
com.evolveum.midpoint.model.impl.lens.projector.mappings.predefinedActivationMapping.DelayedDeleteEvaluator
This evaluator delayed delete base on duration from configuration
DelayedDeleteActivationMappingType
.
As reference time is used value of attribute activation/disableTimestamp from shadow.
We should combine with DisableInsteadOfDeleteEvaluator
.-
Constructor Summary
ConstructorDescriptionDelayedDeleteEvaluator
(ResourceActivationDefinitionType activationDefinitionBean) -
Method Summary
Modifier and TypeMethodDescription<F extends FocusType>
booleandefineExistence
(LensContext<F> context, LensProjectionContext projCtx) <F extends FocusType>
XMLGregorianCalendargetNextRecomputeTimeForExistence
(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) void
<F extends FocusType>
booleanisApplicable
(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) Methods inherited from class com.evolveum.midpoint.model.impl.lens.projector.mappings.predefinedActivationMapping.PredefinedActivationMappingEvaluator
defineActivationProperty, defineAdministratorStatus, getName, getNextRecomputeTime, isConfigured, supportsActivationProperty, supportsAdministratorStatus, toString
-
Constructor Details
-
DelayedDeleteEvaluator
-
-
Method Details
-
initialize
public void initialize() -
defineExistence
public <F extends FocusType> boolean defineExistence(LensContext<F> context, LensProjectionContext projCtx) - Specified by:
defineExistence
in classPredefinedActivationMappingEvaluator
- Returns:
- existence value for account
-
getNextRecomputeTimeForExistence
public <F extends FocusType> XMLGregorianCalendar getNextRecomputeTimeForExistence(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) throws SchemaException, ConfigurationException - Overrides:
getNextRecomputeTimeForExistence
in classPredefinedActivationMappingEvaluator
- Throws:
SchemaException
ConfigurationException
-
isApplicable
public <F extends FocusType> boolean isApplicable(LensContext<F> context, LensProjectionContext projCtx, XMLGregorianCalendar now) throws SchemaException, ConfigurationException - Specified by:
isApplicable
in classPredefinedActivationMappingEvaluator
- Returns:
- return true when evaluator is applicable for current shadow (because of some condition, time constraint, etc.)
- Throws:
SchemaException
ConfigurationException
-