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 StringOID of the object connected to the item being processed (usually the object itself or related shadow).@NotNull IterationItemInformationThis can be overridden in cases when we know how to derive a name or display name for the containerable.@Nullable SynchronizationSituationTypeTODO reconsidertoString()Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.processing.ContainerableProcessingRequest
acknowledge, createMethods 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:ContainerableProcessingRequestThis can be overridden in cases when we know how to derive a name or display name for the containerable.- Overrides:
getIterationItemInformationin classContainerableProcessingRequest<O extends ObjectType>
-
getOperationExecutionRecordingTarget
- Overrides:
getOperationExecutionRecordingTargetin classContainerableProcessingRequest<O extends ObjectType>- Returns:
- Object to which we will write an operation execution record (plus auxiliary information).
-
getObjectOidToRecordRetryTrigger
- Overrides:
getObjectOidToRecordRetryTriggerin classContainerableProcessingRequest<O extends ObjectType>- Returns:
- OID of object to which we put a trigger causing operation retry (if known)
-
getItemOid
Description copied from class:ItemProcessingRequestOID of the object connected to the item being processed (usually the object itself or related shadow). TODO reconsider- Overrides:
getItemOidin classContainerableProcessingRequest<O extends ObjectType>
-
getSynchronizationSituationOnProcessingStart
@Nullable public @Nullable SynchronizationSituationType getSynchronizationSituationOnProcessingStart()Description copied from class:ItemProcessingRequestTODO reconsider- Overrides:
getSynchronizationSituationOnProcessingStartin classContainerableProcessingRequest<O extends ObjectType>
-
toString
- Overrides:
toStringin classContainerableProcessingRequest<O extends ObjectType>
-