public abstract class BaseAction extends Object implements 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 and Description |
---|
BaseAction() |
public AuditService getAuditService()
public void setAuditService(AuditService auditService)
public PrismContext getPrismContext()
public void setPrismContext(PrismContext prismContext)
public ProvisioningService getProvisioningService()
public void setProvisioningService(ProvisioningService provisioningService)
public List<Object> getParameters()
getParameters
in interface Action
public void setParameters(List<Object> parameters)
setParameters
in interface Action
protected UserType getUser(String oid, OperationResult result)
public String executeChanges(String userOid, ResourceObjectShadowChangeDescription change, ObjectTemplateType userTemplate, SynchronizationSituationType situation, Task task, OperationResult result) throws SchemaException, PolicyViolationException, ExpressionEvaluationException, ObjectNotFoundException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException
public void setModel(ModelController model)
protected ModelController getModel()
public void setClockwork(Clockwork clockwork)
public ChangeExecutor getExecutor()
public void setExecutor(ChangeExecutor executor)
protected LensContext<UserType,ShadowType> createEmptyLensContext(ResourceObjectShadowChangeDescription change)
protected LensProjectionContext<ShadowType> createAccountLensContext(LensContext<UserType,ShadowType> context, ResourceObjectShadowChangeDescription change, SynchronizationIntent syncIntent, com.evolveum.midpoint.model.sync.action.ActivationDecision activationDecision) throws SchemaException
SchemaException
protected PrismObject<ShadowType> getAccountShadowFromChange(ResourceObjectShadowChangeDescription change)
protected void synchronizeUser(LensContext<UserType,ShadowType> context, Task task, OperationResult result) throws SchemaException, PolicyViolationException, ExpressionEvaluationException, ObjectNotFoundException, ObjectAlreadyExistsException, CommunicationException, ConfigurationException, SecurityViolationException
protected void executeChanges(LensContext<UserType,ShadowType> context, Task task, OperationResult result) throws ObjectAlreadyExistsException, ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException
protected void createActivationPropertyDelta(ObjectDelta<?> objectDelta, com.evolveum.midpoint.model.sync.action.ActivationDecision activationDecision, ActivationStatusType oldValue)
Copyright © 2013 evolveum. All rights reserved.