Class SyncTaskHelper
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.sync.tasks.SyncTaskHelper
-
@Component public class SyncTaskHelper extends Object
Auxiliary methods for synchronization tasks (Live Sync, Async Update, and maybe others).
-
-
Constructor Summary
Constructors Constructor Description SyncTaskHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ResourceObjectClassSpecification
createObjectClassSpec(@NotNull ResourceObjectSetType resourceObjectSet, Task task, OperationResult opResult)
@NotNull ResourceObjectClassSpecification
createObjectClassSpecForShadow(ShadowType shadow, Task task, OperationResult opResult)
ResourceSearchSpecification
createSearchSpecification(@NotNull ResourceObjectSetType set, Task task, OperationResult opResult)
@NotNull String
getResourceOid(ResourceObjectSetType set)
static void
setSkipMaintenanceCheck(boolean skipMaintenanceCheck)
-
-
-
Method Detail
-
createSearchSpecification
public ResourceSearchSpecification createSearchSpecification(@NotNull @NotNull ResourceObjectSetType set, Task task, OperationResult opResult) throws ActivityRunException, SchemaException
- Throws:
ActivityRunException
SchemaException
-
createObjectClassSpec
@NotNull public @NotNull ResourceObjectClassSpecification createObjectClassSpec(@NotNull @NotNull ResourceObjectSetType resourceObjectSet, Task task, OperationResult opResult) throws ActivityRunException
- Throws:
ActivityRunException
-
createObjectClassSpecForShadow
@NotNull public @NotNull ResourceObjectClassSpecification createObjectClassSpecForShadow(ShadowType shadow, Task task, OperationResult opResult) throws ActivityRunException, SchemaException
- Throws:
ActivityRunException
SchemaException
-
getResourceOid
@NotNull public @NotNull String getResourceOid(ResourceObjectSetType set) throws ActivityRunException
- Throws:
ActivityRunException
-
setSkipMaintenanceCheck
public static void setSkipMaintenanceCheck(boolean skipMaintenanceCheck)
-
-