Class ObjectProcessingRequest<O extends ObjectType>
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.processing.ItemProcessingRequest<C>
com.evolveum.midpoint.repo.common.activity.run.processing.ContainerableProcessingRequest<O>
com.evolveum.midpoint.repo.common.activity.run.processing.ObjectProcessingRequest<O>
- All Implemented Interfaces:
AcknowledgementSink
public class ObjectProcessingRequest<O extends ObjectType>
extends ContainerableProcessingRequest<O>
Request to process an object.
It is a subtype of
ContainerableProcessingRequest
that provides more specific implementations
of the methods like getItemOid()
or getIterationItemInformation()
.
TODO Reconsider if this is a good idea. But it seems so: an alternative would be
a lot of if-then-else commands in the method bodies.-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.common.activity.run.processing.ItemProcessingRequest
identifier, item
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
OID of the object connected to the item being processed (usually the object itself or related shadow).@NotNull IterationItemInformation
This can be overridden in cases when we know how to derive a name or display name for the containerable.@Nullable SynchronizationSituationType
TODO reconsidertoString()
Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.processing.ContainerableProcessingRequest
acknowledge, create
Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.processing.ItemProcessingRequest
createRecordingTargetForObject, getIdentifier, getItem, getRootTaskOid, getSequentialNumber, getType, getType, process
-
Method Details
-
getIterationItemInformation
Description copied from class:ContainerableProcessingRequest
This can be overridden in cases when we know how to derive a name or display name for the containerable.- Overrides:
getIterationItemInformation
in classContainerableProcessingRequest<O extends ObjectType>
-
getOperationExecutionRecordingTarget
- Overrides:
getOperationExecutionRecordingTarget
in classContainerableProcessingRequest<O extends ObjectType>
- Returns:
- Object to which we will write an operation execution record (plus auxiliary information).
-
getObjectOidToRecordRetryTrigger
- Overrides:
getObjectOidToRecordRetryTrigger
in classContainerableProcessingRequest<O extends ObjectType>
- Returns:
- OID of object to which we put a trigger causing operation retry (if known)
-
getItemOid
Description copied from class:ItemProcessingRequest
OID of the object connected to the item being processed (usually the object itself or related shadow). TODO reconsider- Overrides:
getItemOid
in classContainerableProcessingRequest<O extends ObjectType>
-
getSynchronizationSituationOnProcessingStart
@Nullable public @Nullable SynchronizationSituationType getSynchronizationSituationOnProcessingStart()Description copied from class:ItemProcessingRequest
TODO reconsider- Overrides:
getSynchronizationSituationOnProcessingStart
in classContainerableProcessingRequest<O extends ObjectType>
-
toString
- Overrides:
toString
in classContainerableProcessingRequest<O extends ObjectType>
-