public class ModifyUserAction extends BaseAction
ACTION_ADD_ACCOUNT, ACTION_ADD_USER, ACTION_DELETE_ACCOUNT, ACTION_DELETE_USER, ACTION_DISABLE_ACCOUNT, ACTION_DISABLE_USER, ACTION_LINK_ACCOUNT, ACTION_MODIFY_PASSWORD, ACTION_MODIFY_USER, ACTION_SYNCHRONIZE, ACTION_UNLINK_ACCOUNT
Constructor and Description |
---|
ModifyUserAction() |
ModifyUserAction(SynchronizationIntent accountSyncIntent,
String actionName) |
Modifier and Type | Method and Description |
---|---|
String |
executeChanges(String userOid,
ResourceObjectShadowChangeDescription change,
ObjectTemplateType userTemplate,
SynchronizationSituationType situation,
Task task,
OperationResult result) |
protected com.evolveum.midpoint.model.sync.action.ActivationDecision |
getAccountActivationDecision() |
protected SynchronizationIntent |
getAccountSynchronizationIntent() |
protected com.evolveum.midpoint.model.sync.action.ActivationDecision |
getUserActivationDecision() |
protected void |
setAccountActivationDecision(com.evolveum.midpoint.model.sync.action.ActivationDecision decision) |
protected void |
setUserActivationDecision(com.evolveum.midpoint.model.sync.action.ActivationDecision decision) |
protected void |
updateContextBeforeSync(LensContext<UserType,ShadowType> context,
LensProjectionContext<ShadowType> accountContext)
A chance to update the context before a sync is executed.
|
createAccountLensContext, createActivationPropertyDelta, createEmptyLensContext, executeChanges, getAccountShadowFromChange, getAuditService, getExecutor, getModel, getParameterElement, getParameters, getPrismContext, getProvisioningService, getUser, setAuditService, setClockwork, setExecutor, setModel, setParameters, setPrismContext, setProvisioningService, synchronizeUser
public ModifyUserAction()
public ModifyUserAction(SynchronizationIntent accountSyncIntent, String actionName)
protected void setAccountActivationDecision(com.evolveum.midpoint.model.sync.action.ActivationDecision decision)
protected void setUserActivationDecision(com.evolveum.midpoint.model.sync.action.ActivationDecision decision)
protected SynchronizationIntent getAccountSynchronizationIntent()
protected com.evolveum.midpoint.model.sync.action.ActivationDecision getUserActivationDecision()
protected com.evolveum.midpoint.model.sync.action.ActivationDecision getAccountActivationDecision()
public String executeChanges(String userOid, ResourceObjectShadowChangeDescription change, ObjectTemplateType userTemplate, SynchronizationSituationType situation, Task task, OperationResult result) throws SchemaException, PolicyViolationException, ExpressionEvaluationException, ObjectNotFoundException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException
executeChanges
in interface Action
executeChanges
in class BaseAction
SchemaException
PolicyViolationException
ExpressionEvaluationException
ObjectNotFoundException
ObjectAlreadyExistsException
CommunicationException
ConfigurationException
SecurityViolationException
protected void updateContextBeforeSync(LensContext<UserType,ShadowType> context, LensProjectionContext<ShadowType> accountContext)
Copyright © 2013 evolveum. All rights reserved.