com.evolveum.midpoint.model.sync.action
Class ModifyUserAction

java.lang.Object
  extended by com.evolveum.midpoint.model.sync.action.BaseAction
      extended by com.evolveum.midpoint.model.sync.action.ModifyUserAction
All Implemented Interfaces:
Action
Direct Known Subclasses:
AddAccountAction, DeleteAccountAction, DisableAccountAction, DisableUserAction, EnableUserAction, LinkAccountAction, UnlinkAccountAction

public class ModifyUserAction
extends BaseAction

Author:
lazyman

Field Summary
 
Fields inherited from interface com.evolveum.midpoint.model.sync.Action
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 Summary
ModifyUserAction()
           
ModifyUserAction(SynchronizationIntent accountSyncIntent, String actionName)
           
 
Method Summary
 String executeChanges(String userOid, ResourceObjectShadowChangeDescription change, SynchronizationSituationType situation, AuditEventRecord auditRecord, 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,AccountShadowType> context, LensProjectionContext<AccountShadowType> accountContext)
          A chance to update the context before a sync is executed.
 
Methods inherited from class com.evolveum.midpoint.model.sync.action.BaseAction
createAccountLensContext, createActivationPropertyDelta, createEmptyLensContext, executeChanges, getAccountShadowFromChange, getAuditService, getExecutor, getModel, getParameterElement, getParameters, getPrismContext, getUser, setAuditService, setClockwork, setExecutor, setModel, setParameters, setPrismContext, synchronizeUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifyUserAction

public ModifyUserAction()

ModifyUserAction

public ModifyUserAction(SynchronizationIntent accountSyncIntent,
                        String actionName)
Method Detail

setAccountActivationDecision

protected void setAccountActivationDecision(com.evolveum.midpoint.model.sync.action.ActivationDecision decision)

setUserActivationDecision

protected void setUserActivationDecision(com.evolveum.midpoint.model.sync.action.ActivationDecision decision)

getAccountSynchronizationIntent

protected SynchronizationIntent getAccountSynchronizationIntent()

getUserActivationDecision

protected com.evolveum.midpoint.model.sync.action.ActivationDecision getUserActivationDecision()

getAccountActivationDecision

protected com.evolveum.midpoint.model.sync.action.ActivationDecision getAccountActivationDecision()

executeChanges

public String executeChanges(String userOid,
                             ResourceObjectShadowChangeDescription change,
                             SynchronizationSituationType situation,
                             AuditEventRecord auditRecord,
                             Task task,
                             OperationResult result)
                      throws SynchronizationException,
                             SchemaException
Specified by:
executeChanges in interface Action
Overrides:
executeChanges in class BaseAction
Throws:
SynchronizationException
SchemaException

updateContextBeforeSync

protected void updateContextBeforeSync(LensContext<UserType,AccountShadowType> context,
                                       LensProjectionContext<AccountShadowType> accountContext)
A chance to update the context before a sync is executed. For use in subclasses.



Copyright © 2013 evolveum. All Rights Reserved.