Class ModificationOpHandler
- java.lang.Object
- 
- com.evolveum.midpoint.repo.cache.handlers.BaseOpHandler
- 
- com.evolveum.midpoint.repo.cache.handlers.ModificationOpHandler
 
 
- 
 @Component public class ModificationOpHandler extends BaseOpHandler Handles modification operations: add, modify, delete, and a couple of others. What they have in common is that they invalidate cache entries.
- 
- 
Constructor SummaryConstructors Constructor Description ModificationOpHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ObjectType>
 voidaddDiagnosticInformation(Class<T> type, String oid, DiagnosticInformationType information, OperationResult parentResult)<T extends ObjectType>
 StringaddObject(PrismObject<T> object, RepoAddOptions options, OperationResult parentResult)longadvanceSequence(String oid, OperationResult parentResult)<T extends ObjectType>
 @NotNull DeleteObjectResultdeleteObject(Class<T> type, String oid, OperationResult parentResult)<T extends ObjectType>
 @NotNull ModifyObjectResult<T>modifyObject(@NotNull Class<T> type, @NotNull String oid, @NotNull Collection<? extends ItemDelta<?,?>> modifications, ModificationPrecondition<T> precondition, RepoModifyOptions options, OperationResult parentResult)voidreturnUnusedValuesToSequence(String oid, Collection<Long> unusedValues, OperationResult parentResult)voidsetModifyRandomDelayRange(Integer modifyRandomDelayRange)
 
- 
- 
- 
Method Detail- 
addObjectpublic <T extends ObjectType> String addObject(PrismObject<T> object, RepoAddOptions options, OperationResult parentResult) throws ObjectAlreadyExistsException, SchemaException 
 - 
modifyObject@NotNull public <T extends ObjectType> @NotNull ModifyObjectResult<T> modifyObject(@NotNull @NotNull Class<T> type, @NotNull @NotNull String oid, @NotNull @NotNull Collection<? extends ItemDelta<?,?>> modifications, ModificationPrecondition<T> precondition, RepoModifyOptions options, OperationResult parentResult) throws ObjectNotFoundException, SchemaException, ObjectAlreadyExistsException, PreconditionViolationException 
 - 
deleteObject@NotNull public <T extends ObjectType> @NotNull DeleteObjectResult deleteObject(Class<T> type, String oid, OperationResult parentResult) throws ObjectNotFoundException - Throws:
- ObjectNotFoundException
 
 - 
advanceSequencepublic long advanceSequence(String oid, OperationResult parentResult) throws ObjectNotFoundException, SchemaException 
 - 
returnUnusedValuesToSequencepublic void returnUnusedValuesToSequence(String oid, Collection<Long> unusedValues, OperationResult parentResult) throws ObjectNotFoundException, SchemaException 
 - 
addDiagnosticInformationpublic <T extends ObjectType> void addDiagnosticInformation(Class<T> type, String oid, DiagnosticInformationType information, OperationResult parentResult) throws ObjectNotFoundException, SchemaException, ObjectAlreadyExistsException 
 - 
setModifyRandomDelayRangepublic void setModifyRandomDelayRange(Integer modifyRandomDelayRange) 
 
- 
 
-