com.evolveum.midpoint.provisioning.consistency.impl
Class ObjectNotFoundHandler

java.lang.Object
  extended by com.evolveum.midpoint.provisioning.consistency.api.ErrorHandler
      extended by com.evolveum.midpoint.provisioning.consistency.impl.ObjectNotFoundHandler

@Component
public class ObjectNotFoundHandler
extends ErrorHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class com.evolveum.midpoint.provisioning.consistency.api.ErrorHandler
ErrorHandler.FailedOperation
 
Field Summary
 
Fields inherited from class com.evolveum.midpoint.provisioning.consistency.api.ErrorHandler
changeNotificationDispatcher, prismContext
 
Constructor Summary
ObjectNotFoundHandler()
           
 
Method Summary
 RepositoryService getCacheRepositoryService()
          Get the value of repositoryService.
<T extends ResourceObjectShadowType>
T
handleError(T shadow, ErrorHandler.FailedOperation op, Exception ex, boolean compensate, Task task, OperationResult parentResult)
           
 void setCacheRepositoryService(RepositoryService repositoryService)
          Set the value of repositoryService Expected to be injected.
 
Methods inherited from class com.evolveum.midpoint.provisioning.consistency.api.ErrorHandler
createAttemptModification, createOperationDescription, getAttemptNumber, isDoDiscovery, isPostpone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectNotFoundHandler

public ObjectNotFoundHandler()
Method Detail

getCacheRepositoryService

public RepositoryService getCacheRepositoryService()
Get the value of repositoryService.

Returns:
the value of repositoryService

setCacheRepositoryService

public void setCacheRepositoryService(RepositoryService repositoryService)
Set the value of repositoryService Expected to be injected.

Parameters:
repositoryService - new value of repositoryService

handleError

public <T extends ResourceObjectShadowType> T handleError(T shadow,
                                                          ErrorHandler.FailedOperation op,
                                                          Exception ex,
                                                          boolean compensate,
                                                          Task task,
                                                          OperationResult parentResult)
                                               throws SchemaException,
                                                      GenericFrameworkException,
                                                      CommunicationException,
                                                      ObjectNotFoundException,
                                                      ObjectAlreadyExistsException,
                                                      ConfigurationException,
                                                      SecurityViolationException
Specified by:
handleError in class ErrorHandler
Throws:
SchemaException
GenericFrameworkException
CommunicationException
ObjectNotFoundException
ObjectAlreadyExistsException
ConfigurationException
SecurityViolationException


Copyright © 2013 evolveum. All Rights Reserved.