com.evolveum.midpoint.model.sync.action
Class BaseAction
java.lang.Object
com.evolveum.midpoint.model.sync.action.BaseAction
- All Implemented Interfaces:
- Action
- Direct Known Subclasses:
- AddUserAction, DeleteUserAction, ModifyPasswordAction, ModifyUserAction
public abstract class BaseAction
- extends java.lang.Object
- implements Action
- Author:
- lazyman
Method Summary |
protected AccountSyncContext |
createAccountSyncContext(SyncContext context,
ResourceObjectShadowChangeDescription change,
PolicyDecision policyDecision,
com.evolveum.midpoint.model.sync.action.ActivationDecision activationDecision)
|
protected void |
createActivationPropertyDelta(ObjectDelta<?> objectDelta,
com.evolveum.midpoint.model.sync.action.ActivationDecision activationDecision,
java.lang.Boolean oldValue)
|
java.lang.String |
executeChanges(java.lang.String userOid,
ResourceObjectShadowChangeDescription change,
SynchronizationSituationType situation,
AuditEventRecord auditRecord,
Task task,
OperationResult result)
|
protected void |
executeChanges(SyncContext context,
OperationResult result)
|
protected AccountShadowType |
getAccountShadowFromChange(ResourceObjectShadowChangeDescription change)
|
AuditService |
getAuditService()
|
ChangeExecutor |
getExecutor()
|
protected ModelController |
getModel()
|
protected org.w3c.dom.Element |
getParameterElement(javax.xml.namespace.QName qname)
|
java.util.List<java.lang.Object> |
getParameters()
|
SchemaRegistry |
getSchemaRegistry()
|
protected UserType |
getUser(java.lang.String oid,
OperationResult result)
|
void |
setAuditService(AuditService auditService)
|
void |
setExecutor(ChangeExecutor executor)
|
void |
setModel(ModelController model)
|
void |
setParameters(java.util.List<java.lang.Object> parameters)
|
void |
setSchemaRegistry(SchemaRegistry schemaRegistry)
|
void |
setSynchronizer(UserSynchronizer synchronizer)
|
protected void |
synchronizeUser(SyncContext context,
OperationResult result)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseAction
public BaseAction()
getAuditService
public AuditService getAuditService()
setAuditService
public void setAuditService(AuditService auditService)
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
getParameterElement
protected org.w3c.dom.Element getParameterElement(javax.xml.namespace.QName qname)
getUser
protected UserType getUser(java.lang.String oid,
OperationResult result)
throws SynchronizationException
- Throws:
SynchronizationException
executeChanges
public java.lang.String executeChanges(java.lang.String userOid,
ResourceObjectShadowChangeDescription change,
SynchronizationSituationType situation,
AuditEventRecord auditRecord,
Task task,
OperationResult result)
throws SynchronizationException
- Specified by:
executeChanges
in interface Action
- Throws:
SynchronizationException
setModel
public void setModel(ModelController model)
getModel
protected ModelController getModel()
setSynchronizer
public void setSynchronizer(UserSynchronizer synchronizer)
getExecutor
public ChangeExecutor getExecutor()
setExecutor
public void setExecutor(ChangeExecutor executor)
getSchemaRegistry
public SchemaRegistry getSchemaRegistry()
setSchemaRegistry
public void setSchemaRegistry(SchemaRegistry schemaRegistry)
createAccountSyncContext
protected AccountSyncContext createAccountSyncContext(SyncContext context,
ResourceObjectShadowChangeDescription change,
PolicyDecision policyDecision,
com.evolveum.midpoint.model.sync.action.ActivationDecision activationDecision)
throws SchemaException
- Throws:
SchemaException
getAccountShadowFromChange
protected AccountShadowType getAccountShadowFromChange(ResourceObjectShadowChangeDescription change)
synchronizeUser
protected void synchronizeUser(SyncContext context,
OperationResult result)
throws SynchronizationException
- Throws:
SynchronizationException
executeChanges
protected void executeChanges(SyncContext context,
OperationResult result)
throws SynchronizationException
- Throws:
SynchronizationException
createActivationPropertyDelta
protected void createActivationPropertyDelta(ObjectDelta<?> objectDelta,
com.evolveum.midpoint.model.sync.action.ActivationDecision activationDecision,
java.lang.Boolean oldValue)
Copyright © 2012 evolveum. All Rights Reserved.