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

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

public abstract class BaseAction
extends java.lang.Object
implements Action

Author:
Vilo Repan

Constructor Summary
BaseAction()
           
 
Method Summary
 java.lang.String executeChanges(java.lang.String userOid, ResourceObjectShadowChangeDescriptionType change, SynchronizationSituationType situation, ResourceObjectShadowType shadowAfterChange, OperationResult result)
           
protected  ModelController getModel()
           
 java.util.List<java.lang.Object> getParameters()
           
protected  SchemaHandler getSchemaHandler()
           
protected  UserType getUser(java.lang.String oid, OperationResult result)
           
 void setModel(ModelController model)
           
 void setParameters(java.util.List<java.lang.Object> parameters)
           
 void setSchemaHandler(SchemaHandler schemaHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseAction

public BaseAction()
Method Detail

getParameters

public java.util.List<java.lang.Object> getParameters()
Specified by:
getParameters in interface Action

setParameters

public void setParameters(java.util.List<java.lang.Object> parameters)
Specified by:
setParameters in interface Action

getUser

protected UserType getUser(java.lang.String oid,
                           OperationResult result)
                    throws SynchronizationException
Throws:
SynchronizationException

executeChanges

public java.lang.String executeChanges(java.lang.String userOid,
                                       ResourceObjectShadowChangeDescriptionType change,
                                       SynchronizationSituationType situation,
                                       ResourceObjectShadowType shadowAfterChange,
                                       OperationResult result)
                                throws SynchronizationException
Specified by:
executeChanges in interface Action
Throws:
SynchronizationException

setModel

public void setModel(ModelController model)

getModel

protected ModelController getModel()

getSchemaHandler

protected SchemaHandler getSchemaHandler()

setSchemaHandler

public void setSchemaHandler(SchemaHandler schemaHandler)


Copyright © 2011 evolveum. All Rights Reserved.