Uses of Interface
com.evolveum.midpoint.task.api.Task
-
-
Uses of Task in com.evolveum.midpoint.audit.api
Methods in com.evolveum.midpoint.audit.api with parameters of type Task Modifier and Type Method Description void
AuditService. audit(AuditEventRecord record, Task task, OperationResult parentResult)
Emits audit event record, e.g. -
Uses of Task in com.evolveum.midpoint.certification.api
Methods in com.evolveum.midpoint.certification.api with parameters of type Task Modifier and Type Method Description void
CertificationManager. cleanupCampaigns(@NotNull CleanupPolicyType policy, Task task, OperationResult result)
void
CertificationManager. closeCampaign(String campaignOid, Task task, OperationResult result)
Closes a campaign.void
CertificationManager. closeCurrentStage(String campaignOid, Task task, OperationResult parentResult)
Opens the next stage in the certification campaign.int
CertificationManager. countOpenWorkItems(ObjectQuery caseQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
default int
CertificationManager. countOpenWorkItems(ObjectQuery caseQuery, boolean notDecidedOnly, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
AccessCertificationCampaignType
CertificationManager. createCampaign(String definitionOid, Task task, OperationResult parentResult)
Creates a certification campaign: creates AccessCertificationCampaignType object, based on general information in certification definition.AccessCertificationCasesStatisticsType
CertificationManager. getCampaignStatistics(String campaignOid, boolean currentStageOnly, Task task, OperationResult parentResult)
Provides statistical information about outcomes of cases in a given campaign.void
AccessCertificationEventListener. onCampaignEnd(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign ends (i.e.void
AccessCertificationEventListener. onCampaignStageDeadlineApproaching(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage deadline is approaching.void
AccessCertificationEventListener. onCampaignStageEnd(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage ends (i.e.void
AccessCertificationEventListener. onCampaignStageStart(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage starts.void
AccessCertificationEventListener. onCampaignStart(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign starts.void
AccessCertificationEventListener. onReviewDeadlineApproaching(ObjectReferenceType reviewerOrDeputyRef, ObjectReferenceType actualReviewerRef, List<AccessCertificationCaseType> cases, AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification case review deadline is approaching.void
AccessCertificationEventListener. onReviewRequested(ObjectReferenceType reviewerOrDeputyRef, ObjectReferenceType actualReviewerRef, List<AccessCertificationCaseType> cases, AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called when a review is requestedvoid
CertificationManager. openNextStage(String campaignOid, Task task, OperationResult parentResult)
Opens the next review stage in the certification campaign.void
CertificationManager. recordDecision(String campaignOid, long caseId, long workItemId, AccessCertificationResponseType response, String comment, Task task, OperationResult parentResult)
Records a particular decision of a reviewer.void
CertificationManager. reiterateCampaign(String campaignOid, Task task, OperationResult result)
Reiterates a closed campaign.List<AccessCertificationWorkItemType>
CertificationManager. searchOpenWorkItems(ObjectQuery caseQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Returns a set of certification work items for currently logged-in user (or all users).default List<AccessCertificationWorkItemType>
CertificationManager. searchOpenWorkItems(ObjectQuery caseQuery, boolean notDecidedOnly, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
void
CertificationManager. startRemediation(String campaignOid, Task task, OperationResult result)
Starts the remediation phase for the campaign. -
Uses of Task in com.evolveum.midpoint.init
Methods in com.evolveum.midpoint.init with parameters of type Task Modifier and Type Method Description void
AuditServiceProxy. audit(AuditEventRecord record, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.api
Methods in com.evolveum.midpoint.model.api with parameters of type Task Modifier and Type Method Description MidPointPrincipal
ModelInteractionService. assumePowerOfAttorney(PrismObject<? extends FocusType> donor, Task task, OperationResult result)
void
ModelAuditService. audit(AuditEventRecord record, Task task, OperationResult result)
void
ModelAuditRecorder. auditLogout(ConnectionEnvironment connEnv, Task task, OperationResult result)
void
WorkflowService. cancelCase(String caseOid, Task task, OperationResult parentResult)
<T extends ObjectType,O extends ObjectType>
booleanModelInteractionService. canSearch(Class<T> resultType, Class<O> objectType, String objectOid, boolean includeSpecial, ObjectQuery query, Task task, OperationResult result)
TODO Question: does object make any sense here? E.g.boolean
ModelInteractionService. checkPassword(String userOid, ProtectedStringType password, Task task, OperationResult parentResult)
Checks if the supplied password matches with current user password.void
WorkflowService. claimWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult)
void
ModelAuditService. cleanupAudit(CleanupPolicyType policy, Task task, OperationResult parentResult)
Clean up audit records that are older than specified.void
AccessCertificationService. cleanupCampaigns(@NotNull CleanupPolicyType policy, Task task, OperationResult result)
Cleans up closed certification campaigns.void
AccessCertificationService. closeCampaign(String campaignOid, Task task, OperationResult result)
Closes a campaign.void
AccessCertificationService. closeCurrentStage(String campaignOid, Task task, OperationResult parentResult)
Opens the next stage in the certification campaign.<O extends ObjectType>
CompareResultTypeModelService. compareObject(PrismObject<O> object, Collection<SelectorOptions<GetOperationOptions>> readOptions, ModelCompareOptions compareOptions, @NotNull List<? extends ItemPath> ignoreItemPaths, Task task, OperationResult result)
TODO@NotNull CompiledObjectCollectionView
ModelInteractionService. compileObjectCollectionView(@NotNull CollectionRefSpecificationType collection, @Nullable Class<? extends Containerable> targetTypeClass, @NotNull Task task, @NotNull OperationResult result)
void
ModelInteractionService. compileView(CompiledObjectCollectionView existingView, GuiObjectListViewType objectListViewsType, Task task, OperationResult result)
Compile object list view together with collection ref specification if presentvoid
WorkflowService. completeWorkItem(@NotNull WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, @NotNull Task task, @NotNull OperationResult parentResult)
Approves or rejects a work itemvoid
WorkflowService. completeWorkItem(WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, ObjectDelta additionalDelta, Task task, OperationResult parentResult)
Approves or rejects a work item.<T extends Containerable>
IntegerModelService. countContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
int
ModelAuditService. countObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
IntegerModelService. countObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Count objects.Integer
ModelInteractionService. countObjectsFromCollection(CollectionRefSpecificationType collectionConfig, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, ObjectPaging usedPaging, VariablesMap variables, Task task, OperationResult result)
int
AccessCertificationService. countOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
default int
AccessCertificationService. countOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
AccessCertificationCampaignType
AccessCertificationService. createCampaign(String definitionOid, Task task, OperationResult parentResult)
Creates a certification campaign: creates AccessCertificationCampaignType object, based on general information in certification definition.@NotNull LocalizableMessageType
ModelInteractionService. createLocalizableMessageType(LocalizableMessageTemplateType template, VariablesMap variables, Task task, OperationResult result)
boolean
TaskService. deactivateServiceThreads(long timeToWait, Task operationTask, OperationResult parentResult)
Deactivates service threads (temporarily).void
WorkflowService. delegateWorkItem(WorkItemId workItemId, WorkItemDelegationRequestType delegationRequest, Task task, OperationResult parentResult)
void
TaskService. deleteActivityStateAndWorkers(String rootTaskOid, boolean deleteWorkers, long subtasksWaitTime, Task operationTask, OperationResult parentResult)
<O extends ObjectType>
@NotNull CollectionStatsModelInteractionService. determineCollectionStats(@NotNull CompiledObjectCollectionView collectionView, @NotNull Task task, @NotNull OperationResult result)
Set<ConnectorType>
ModelService. discoverConnectors(ConnectorHostType hostType, Task task, OperationResult parentResult)
Discovers local or remote connectors.MidPointPrincipal
ModelInteractionService. dropPowerOfAttorney(Task task, OperationResult result)
@NotNull Collection<EvaluatedPolicyRule>
ModelInteractionService. evaluateCollectionPolicyRules(@NotNull PrismObject<ObjectCollectionType> collection, @Nullable CompiledObjectCollectionView collectionView, @Nullable Class<? extends ObjectType> targetTypeClass, @NotNull Task task, @NotNull OperationResult result)
Returns all policy rules that apply to the collection.ScriptExecutionResult
ScriptingService. evaluateExpression(@NotNull ExecuteScriptType executeScriptCommand, @NotNull VariablesMap initialVariables, boolean recordProgressAndIterationStatistics, @NotNull Task task, @NotNull OperationResult result)
ScriptExecutionResult
ScriptingService. evaluateExpression(ScriptingExpressionType expression, Task task, OperationResult result)
Synchronously executes any scripting expression (with no input data).void
ScriptingService. evaluateExpressionInBackground(ExecuteScriptType executeScriptCommand, Task task, OperationResult parentResult)
void
ScriptingService. evaluateExpressionInBackground(ScriptingExpressionType expression, Task task, OperationResult parentResult)
Asynchronously executes any scripting expression.MappingEvaluationResponseType
ModelDiagnosticService. evaluateMapping(MappingEvaluationRequestType request, Task task, OperationResult parentResult)
Execute arbitrary mapping.Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelService. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult parentResult)
Execute the provided object deltas.Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelService. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> listeners, OperationResult parentResult)
ExecuteCredentialResetResponseType
ModelInteractionService. executeCredentialsReset(PrismObject<UserType> user, ExecuteCredentialResetRequestType executeCredentialResetRequest, Task task, OperationResult result)
RepositoryQueryDiagResponse
ModelDiagnosticService. executeRepositoryQuery(RepositoryQueryDiagRequest request, Task task, OperationResult parentResult)
Execute arbitrary implementation-specific query.String
ModelDiagnosticService. exportDataModel(ResourceType resource, DataModelVisualizer.Target target, Task task, OperationResult parentResult)
String
ModelDiagnosticService. exportDataModel(Collection<String> resourceOids, DataModelVisualizer.Target target, Task task, OperationResult parentResult)
Exports data model EXPERIMENTAL.<O extends ObjectType>
StringModelInteractionService. generateNonce(NonceCredentialsPolicyType noncePolicy, Task task, OperationResult result)
<O extends ObjectType>
voidModelInteractionService. generateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
StringModelInteractionService. generateValue(ValuePolicyType policy, int defaultLength, boolean generateMinimalSize, PrismObject<O> object, String shortDesc, Task task, OperationResult inputResult)
TEMPORARY.<O extends ObjectType,R extends AbstractRoleType>
ItemSecurityConstraintsModelInteractionService. getAllowedRequestAssignmentItems(PrismObject<O> object, PrismObject<R> target, Task task, OperationResult result)
Returns decisions for individual items for "assign" authorization.<H extends AssignmentHolderType,R extends AbstractRoleType>
RoleSelectionSpecificationModelInteractionService. getAssignableRoleSpecification(PrismObject<H> assignmentHolder, Class<R> targetType, int assignmentOrder, Task task, OperationResult parentResult)
Returns an object that defines which roles can be assigned by the currently logged-in user.AuthenticationsPolicyType
ModelInteractionService. getAuthenticationPolicy(PrismObject<UserType> user, Task task, OperationResult parentResult)
Returns an authentications policies as defined in the system configuration security policy.AccessCertificationCasesStatisticsType
AccessCertificationService. getCampaignStatistics(String campaignOid, boolean currentStageOnly, Task task, OperationResult parentResult)
Provides statistical information about outcomes of cases in a given campaign.@NotNull CompiledGuiProfile
ModelInteractionService. getCompiledGuiProfile(Task task, OperationResult parentResult)
Returns currently applicable user profile, compiled for efficient use in the user interface.List<ConnectorOperationalStatus>
ModelInteractionService. getConnectorOperationalStatus(String resourceOid, Task task, OperationResult parentResult)
CredentialsPolicyType
ModelInteractionService. getCredentialsPolicy(PrismObject<? extends FocusType> focus, Task task, OperationResult parentResult)
Returns a credential policy that applies to the specified user.@NotNull List<ObjectReferenceType>
ModelInteractionService. getDeputyAssignees(AbstractWorkItemType workItem, Task task, OperationResult parentResult)
Gets "deputy assignees" i.e.@NotNull List<ObjectReferenceType>
ModelInteractionService. getDeputyAssignees(ObjectReferenceType assignee, QName limitationItemName, Task task, OperationResult parentResult)
<T extends ObjectType>
ObjectFilterModelInteractionService. getDonorFilter(Class<T> searchResultType, ObjectFilter origFilter, String targetAuthorizationAction, Task task, OperationResult parentResult)
Returns filter for lookup of donors of power of attorney.RefinedObjectClassDefinition
ModelInteractionService. getEditObjectClassDefinition(PrismObject<ShadowType> shadow, PrismObject<ResourceType> resource, AuthorizationPhaseType phase, Task task, OperationResult result)
<O extends ObjectType>
PrismObjectDefinition<O>ModelInteractionService. getEditObjectDefinition(PrismObject<O> object, AuthorizationPhaseType phase, Task task, OperationResult result)
Returns a schema that reflects editability of the object in terms of midPoint schema limitations and security.PrismObjectDefinition<ShadowType>
ModelInteractionService. getEditShadowDefinition(ResourceShadowDiscriminator discr, AuthorizationPhaseType phase, Task task, OperationResult result)
RegistrationsPolicyType
ModelInteractionService. getFlowPolicy(PrismObject<? extends FocusType> focus, Task task, OperationResult parentResult)
Returns a policy for registration, e.g.LogFileContentType
ModelDiagnosticService. getLogFileContent(Long fromPosition, Long maxSize, Task task, OperationResult parentResult)
Returns the contents of the log file.long
ModelDiagnosticService. getLogFileSize(Task task, OperationResult parentResult)
List<UserSessionManagementType>
ModelInteractionService. getLoggedInPrincipals(Task task, OperationResult result)
String
ModelDiagnosticService. getMemoryInformation(Task task, OperationResult parentResult)
<O extends ObjectType>
MetadataItemProcessingSpecModelInteractionService. getMetadataItemProcessingSpec(ItemPath metadataItemPath, PrismObject<O> object, Task task, OperationResult result)
Returns specification of processing of given metadata item (e.g.<T extends ObjectType>
@NotNull PrismObject<T>ModelService. getObject(Class<T> type, String oid, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Returns object for provided OID.ProvisioningDiag
ModelDiagnosticService. getProvisioningDiag(Task task, OperationResult parentResult)
Provide provisioning run-time configuration and diagnostic information.RepositoryDiag
ModelDiagnosticService. getRepositoryDiag(Task task, OperationResult parentResult)
Provide repository run-time configuration and diagnostic information.String
TaskService. getRunningTasksThreadsDump(@NotNull Task task, @NotNull OperationResult parentResult)
<C extends Containerable>
ModelInteractionService.SearchSpec<C>ModelInteractionService. getSearchSpecificationFromCollection(CompiledObjectCollectionView collection, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> options, VariablesMap variables, Task task, OperationResult result)
TODO document and clean up the interfaceSecurityPolicyType
ModelInteractionService. getSecurityPolicy(RefinedObjectClassDefinition rOCDef, Task task, OperationResult parentResult)
<F extends FocusType>
SecurityPolicyTypeModelInteractionService. getSecurityPolicy(PrismObject<F> focus, Task task, OperationResult parentResult)
PrismObject<TaskType>
TaskService. getTaskByIdentifier(String identifier, Collection<SelectorOptions<GetOperationOptions>> options, Task operationTask, OperationResult parentResult)
Returns information about task, given its identifier.String
TaskService. getTaskThreadsDump(@NotNull String taskOid, @NotNull Task task, @NotNull OperationResult parentResult)
String
TaskService. getThreadsDump(@NotNull Task task, @NotNull OperationResult parentResult)
void
ModelService. importFromResource(String shadowOid, Task task, OperationResult parentResult)
Import single account from resource.void
ModelService. importFromResource(String resourceOid, QName objectClass, Task task, OperationResult parentResult)
Import accounts from resource.void
ModelService. importObject(PrismObject object, ImportOptionsType options, Task task, OperationResult parentResult)
Import object.void
ModelService. importObjectsFromFile(File input, ImportOptionsType options, Task task, OperationResult parentResult)
Import objects from file.void
ModelService. importObjectsFromStream(InputStream input, String language, ImportOptionsType options, Task task, OperationResult parentResult)
Import objects from stream.<O extends ObjectType>
Collection<ObjectDeltaOperation<? extends ObjectType>>ModelService. mergeObjects(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult result)
Merge two objects into one.<O extends ObjectType>
MergeDeltas<O>ModelInteractionService. mergeObjectsPreviewDeltas(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult result)
<O extends ObjectType>
PrismObject<O>ModelInteractionService. mergeObjectsPreviewObject(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult result)
void
ModelService. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription, Task task, OperationResult parentResult)
void
AccessCertificationService. openNextStage(String campaignOid, Task task, OperationResult parentResult)
Opens the next review stage in the certification campaign.<F extends ObjectType>
ModelContext<F>ModelInteractionService. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult result)
Computes the most likely changes triggered by the provided delta.<F extends ObjectType>
ModelContext<F>ModelInteractionService. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> listeners, OperationResult result)
void
ModelInteractionService. processObjectsFromCollection(CollectionRefSpecificationType collection, QName typeForFilter, Predicate<PrismContainer> handler, Collection<SelectorOptions<GetOperationOptions>> options, VariablesMap variables, Task task, OperationResult result, boolean recordProgress)
TODO documentOperationResult
ModelDiagnosticService. provisioningSelfTest(Task task)
Runs a short, non-destructive internal provisioning test.void
TaskService. reactivateServiceThreads(Task operationTask, OperationResult parentResult)
Re-activates the service threads after they have been deactivated.<F extends ObjectType>
voidModelService. recompute(Class<F> type, String oid, ModelExecuteOptions options, Task task, OperationResult parentResult)
Recomputes focal object with the specified OID.void
TaskService. reconcileWorkers(String oid, Task opTask, OperationResult result)
<O extends ObjectType>
PrismObject<O>ModelAuditService. reconstructObject(Class<O> type, String oid, String eventIdentifier, Task task, OperationResult result)
void
AccessCertificationService. recordDecision(String campaignOid, long caseId, long workItemId, AccessCertificationResponseType response, String comment, Task task, OperationResult parentResult)
Records a particular decision of a reviewer.String
TaskService. recordRunningTasksThreadsDump(String cause, @NotNull Task task, @NotNull OperationResult parentResult)
void
AccessCertificationService. reiterateCampaign(String campaignOid, Task task, OperationResult result)
Reiterates a closed campaign.void
WorkflowService. releaseWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult)
OperationResult
ModelDiagnosticService. repositorySelfTest(Task task)
Runs a short, non-destructive repository self test.void
ModelDiagnosticService. repositoryTestOrgClosureConsistency(Task task, boolean repairIfNecessary, OperationResult result)
Checks a org closure table for consistency, repairing any problems found.void
TaskService. resumeTask(String taskOid, Task operationTask, OperationResult parentResult)
void
TaskService. resumeTasks(Collection<String> taskOids, Task operationTask, OperationResult parentResult)
Resume suspended tasks.void
TaskService. resumeTaskTree(String coordinatorOid, Task operationTask, OperationResult parentResult)
<T> T
ModelInteractionService. runUnderPowerOfAttorney(Producer<T> producer, PrismObject<? extends FocusType> donor, Task task, OperationResult result)
default <T> T
ModelInteractionService. runUnderPowerOfAttorneyChecked(CheckedProducer<T> producer, PrismObject<? extends FocusType> donor, Task task, OperationResult result)
void
TaskService. scheduleTaskNow(String taskOid, Task operationTask, OperationResult parentResult)
void
TaskService. scheduleTasksNow(Collection<String> taskOids, Task operationTask, OperationResult parentResult)
Schedules a RUNNABLE/CLOSED tasks to be run immediately.<T extends Containerable>
SearchResultList<T>ModelService. searchContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Search for "sub-object" structures, i.e.@NotNull SearchResultList<AuditEventRecordType>
ModelAuditService. searchObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
SearchResultList<PrismObject<T>>ModelService. searchObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Search for objects.List<? extends Containerable>
ModelInteractionService. searchObjectsFromCollection(CollectionRefSpecificationType collectionConfig, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, ObjectPaging usedPaging, VariablesMap variables, Task task, OperationResult result)
void
ModelAuditService. searchObjectsIterative(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull AuditResultHandler handler, @NotNull Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
SearchResultMetadataModelService. searchObjectsIterative(Class<T> type, ObjectQuery query, ResultHandler<T> handler, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Search for objects in iterative fashion (using callback).List<AccessCertificationWorkItemType>
AccessCertificationService. searchOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
TODO update description Returns a set of certification decisions for currently logged-in user.default List<AccessCertificationWorkItemType>
AccessCertificationService. searchOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
PrismObject<? extends FocusType>
ModelService. searchShadowOwner(String shadowOid, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Returns the Focus object representing owner of specified shadow.void
AccessCertificationService. startRemediation(String campaignOid, Task task, OperationResult result)
Starts the remediation phase for the campaign.void
TaskService. startSchedulers(Collection<String> nodeIdentifiers, Task operationTask, OperationResult result)
Starts the scheduler on a given nodes.void
TaskService. stopSchedulers(Collection<String> nodeIdentifiers, Task operationTask, OperationResult parentResult)
Stops the schedulers on a given nodes.boolean
TaskService. stopSchedulersAndTasks(Collection<String> nodeIdentifiers, long waitTime, Task operationTask, OperationResult parentResult)
Stops a set of schedulers (on their nodes) and tasks that are executing on these nodes.@NotNull TaskType
ModelInteractionService. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems, Task opTask, OperationResult result)
@NotNull TaskType
ModelInteractionService. submitTaskFromTemplate(String templateTaskOid, Map<QName,Object> extensionValues, Task opTask, OperationResult result)
void
TaskService. suspendAndDeleteTask(String taskOid, long waitForStop, boolean alsoSubtasks, Task operationTask, OperationResult parentResult)
void
TaskService. suspendAndDeleteTasks(Collection<String> taskOids, long waitForStop, boolean alsoSubtasks, Task operationTask, OperationResult parentResult)
Suspends tasks and deletes them.boolean
TaskService. suspendTask(String taskOid, long waitForStop, Task operationTask, OperationResult parentResult)
boolean
TaskService. suspendTasks(Collection<String> taskOids, long waitForStop, Task operationTask, OperationResult parentResult)
Suspends a set of tasks.boolean
TaskService. suspendTaskTree(String taskOid, long waitForStop, Task operationTask, OperationResult parentResult)
void
TaskService. synchronizeTasks(Task operationTask, OperationResult parentResult)
Synchronizes information in midPoint repository and task scheduling database.void
ModelInteractionService. terminateSessions(TerminateSessionEvent terminateSessionEvent, Task task, OperationResult result)
Terminates specified sessions (clusterwide).OperationResult
ModelService. testResource(String resourceOid, Task task)
Test the resource connection and basic resource connector functionality.<F extends ObjectType>
ModelContext<F>ModelInteractionService. unwrapModelContext(LensContextType wrappedContext, Task task, OperationResult result)
<O extends ObjectType>
voidModelInteractionService. validateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
List<StringLimitationResult>ModelInteractionService. validateValue(ProtectedStringType protectedStringValue, ValuePolicyType pp, PrismObject<O> object, Task task, OperationResult parentResult)
String
DataModelVisualizer. visualize(ResourceType resource, DataModelVisualizer.Target target, Task task, OperationResult result)
String
DataModelVisualizer. visualize(Collection<String> resourceOids, DataModelVisualizer.Target target, Task task, OperationResult result)
@NotNull Scene
ModelInteractionService. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, boolean includeOriginalObject, Task task, OperationResult result)
@NotNull Scene
ModelInteractionService. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, Task task, OperationResult result)
@NotNull Scene
ModelInteractionService. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, ObjectReferenceType objectRef, Task task, OperationResult result)
@NotNull Scene
ModelInteractionService. visualizeDelta(ObjectDelta<? extends ObjectType> delta, Task task, OperationResult result)
List<? extends Scene>
ModelInteractionService. visualizeDeltas(List<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.api.authentication
Methods in com.evolveum.midpoint.model.api.authentication with parameters of type Task Modifier and Type Method Description List<UserSessionManagementType>
ClusterwideUserSessionManager. getLoggedInPrincipals(Task task, OperationResult result)
Collects logged in principals (on local and remote nodes).void
ClusterwideUserSessionManager. terminateSessions(TerminateSessionEvent terminateSessionEvent, Task task, OperationResult result)
Terminates specified sessions (on local and remote nodes). -
Uses of Task in com.evolveum.midpoint.model.api.context
Methods in com.evolveum.midpoint.model.api.context with parameters of type Task Modifier and Type Method Description static ExtensionType
AssignmentPath. collectExtensions(AssignmentPathType path, int startAt, ModelService modelService, Task task, OperationResult result)
@NotNull DeltaSetTriple<EvaluatedResourceObjectConstruction>
EvaluatedAssignment. getEvaluatedConstructions(@NotNull Task task, @NotNull OperationResult result)
String
ModelContext. getTaskTreeOid(Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.api.expr
Methods in com.evolveum.midpoint.model.api.expr that return Task Modifier and Type Method Description Task
MidpointFunctions. getCurrentTask()
Methods in com.evolveum.midpoint.model.api.expr with parameters of type Task Modifier and Type Method Description TaskType
MidpointFunctions. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid, Task opTask, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.api.hooks
Methods in com.evolveum.midpoint.model.api.hooks with parameters of type Task Modifier and Type Method Description <O extends ObjectType>
HookOperationModeChangeHook. invoke(@NotNull ModelContext<O> context, @NotNull Task task, @NotNull OperationResult result)
Generic method to be implemented by the hook.<T extends ObjectType>
voidReadHook. invoke(PrismObject<T> object, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
todovoid
ChangeHook. invokeOnException(@NotNull ModelContext context, @NotNull Throwable throwable, @NotNull Task task, @NotNull OperationResult result)
This method is invoked by the clockwork when an exception occurs.default void
ChangeHook. invokePreview(@NotNull ModelContext<? extends ObjectType> context, Task task, OperationResult result)
Invokes the hook in "preview mode". -
Uses of Task in com.evolveum.midpoint.model.api.interaction
Methods in com.evolveum.midpoint.model.api.interaction with parameters of type Task Modifier and Type Method Description Integer
DashboardService. countAuditEvents(CollectionRefSpecificationType collectionRef, ObjectCollectionType collection, Task task, OperationResult result)
DashboardWidget
DashboardService. createWidgetData(DashboardWidgetType widget, boolean useDisplaySource, Task task, OperationResult result)
CollectionRefSpecificationType
DashboardService. getCollectionRefSpecificationType(DashboardWidgetType widget, Task task, OperationResult result)
ObjectCollectionType
DashboardService. getObjectCollectionType(DashboardWidgetType widget, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.api.util
Methods in com.evolveum.midpoint.model.api.util with parameters of type Task Modifier and Type Method Description static ExtensionType
AssignmentPathUtil. collectExtensions(AssignmentPathType path, int startAt, ModelService modelService, Task task, OperationResult result)
static void
ResourceUtils. deleteSchema(PrismObject<? extends ResourceType> resource, ModelService modelService, PrismContext prismContext, Task task, OperationResult parentResult)
static boolean
DashboardUtils. isAuditCollection(CollectionRefSpecificationType collectionRef, ModelService modelService, Task task, OperationResult result)
List<PrismObject<? extends ObjectType>>
ReferenceResolver. resolve(@NotNull ObjectReferenceType reference, Collection<SelectorOptions<GetOperationOptions>> options, @NotNull ReferenceResolver.Source source, ReferenceResolver.FilterEvaluator filterEvaluator, Task task, OperationResult result)
static <O extends ObjectType>
ModelContext<O>ModelContextUtil. unwrapModelContext(LensContextType lensContextType, ModelInteractionService modelInteractionService, Task opTask, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.api.validator
Methods in com.evolveum.midpoint.model.api.validator with parameters of type Task Modifier and Type Method Description @NotNull ValidationResult
ResourceValidator. validate(@NotNull PrismObject<ResourceType> resourceObject, @NotNull Scope scope, @Nullable Locale locale, @NotNull Task task, @NotNull OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.common.expression
Methods in com.evolveum.midpoint.model.common.expression that return Task Modifier and Type Method Description Task
ExpressionEnvironment. getCurrentTask()
static Task
ModelExpressionThreadLocalHolder. getCurrentTask()
Methods in com.evolveum.midpoint.model.common.expression with parameters of type Task Modifier and Type Method Description static PrismValueDeltaSetTriple<?>
ModelExpressionThreadLocalHolder. evaluateAnyExpressionInContext(Expression<?,?> expression, ExpressionEvaluationContext context, Task task, OperationResult result)
static <T> PrismValueDeltaSetTriple<PrismPropertyValue<T>>
ModelExpressionThreadLocalHolder. evaluateExpressionInContext(Expression<PrismPropertyValue<T>,PrismPropertyDefinition<T>> expression, ExpressionEvaluationContext eeContext, Task task, OperationResult result)
static PrismValueDeltaSetTriple<PrismReferenceValue>
ModelExpressionThreadLocalHolder. evaluateRefExpressionInContext(Expression<PrismReferenceValue,PrismReferenceDefinition> expression, ExpressionEvaluationContext eeContext, Task task, OperationResult result)
void
ExpressionEnvironment. setCurrentTask(Task currentTask)
Constructors in com.evolveum.midpoint.model.common.expression with parameters of type Task Constructor Description ExpressionEnvironment(ModelContext<F> lensContext, ModelProjectionContext projectionContext, Mapping<V,D> mapping, Task currentTask, OperationResult currentResult)
ExpressionEnvironment(ModelContext<F> lensContext, ModelProjectionContext projectionContext, Task currentTask, OperationResult currentResult)
ExpressionEnvironment(Task currentTask, OperationResult currentResult)
-
Uses of Task in com.evolveum.midpoint.model.common.expression.evaluator
Methods in com.evolveum.midpoint.model.common.expression.evaluator with parameters of type Task Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>AssignmentTargetSearchExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>AssociationFromLinkExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>AssociationTargetSearchExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>ConstExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>FunctionExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>GenerateExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>ProportionalExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>ReferenceSearchExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
protected @NotNull List<V>
AbstractSearchExpressionEvaluator. transformSingleValue(VariablesMap variables, PlusMinusZero valueDestination, boolean useNew, ExpressionEvaluationContext context, String contextDescription, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.common.expression.evaluator.path
Methods in com.evolveum.midpoint.model.common.expression.evaluator.path with parameters of type Task Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>PathExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.common.expression.evaluator.transformation
Methods in com.evolveum.midpoint.model.common.expression.evaluator.transformation with parameters of type Task Modifier and Type Method Description protected abstract @NotNull List<V>
AbstractValueTransformationExpressionEvaluator. transformSingleValue(VariablesMap variables, PlusMinusZero valueDestination, boolean useNew, ExpressionEvaluationContext context, String contextDescription, Task task, OperationResult result)
Transforms single value tuple. -
Uses of Task in com.evolveum.midpoint.model.common.expression.script
Methods in com.evolveum.midpoint.model.common.expression.script that return Task Modifier and Type Method Description Task
ScriptExpressionEvaluationContext. getTask()
Methods in com.evolveum.midpoint.model.common.expression.script with parameters of type Task Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>ScriptExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
void
ScriptExpressionEvaluationContext. setTask(Task task)
protected @NotNull List<V>
ScriptExpressionEvaluator. transformSingleValue(VariablesMap variables, PlusMinusZero valueDestination, boolean useNew, ExpressionEvaluationContext eCtx, String contextDescription, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.common.mapping
Fields in com.evolveum.midpoint.model.common.mapping declared as Task Modifier and Type Field Description @NotNull Task
MappingEvaluationEnvironment. task
Methods in com.evolveum.midpoint.model.common.mapping that return Task Modifier and Type Method Description Task
AbstractMappingImpl. getTask()
Methods in com.evolveum.midpoint.model.common.mapping with parameters of type Task Modifier and Type Method Description void
AbstractMappingImpl. evaluate(Task task, OperationResult parentResult)
Evaluate the mapping.void
AbstractMappingImpl. evaluateTimeValidity(Task task, OperationResult parentResult)
Evaluate the time validity.Constructors in com.evolveum.midpoint.model.common.mapping with parameters of type Task Constructor Description MappingEvaluationEnvironment(@NotNull String contextDescription, @NotNull XMLGregorianCalendar now, @NotNull Task task)
-
Uses of Task in com.evolveum.midpoint.model.common.mapping.metadata
Methods in com.evolveum.midpoint.model.common.mapping.metadata with parameters of type Task Modifier and Type Method Description void
ItemValueMetadataProcessingSpec. populateFromCurrentFocusTemplate(ModelContext<?> lensContext, ItemPath dataPath, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result)
void
ItemValueMetadataProcessingSpec. populateFromCurrentFocusTemplate(ItemPath dataPath, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result)
void
MetadataItemProcessingSpecImpl. populateFromObjectTemplate(ObjectReferenceType templateRef, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.common.stringpolicy
Methods in com.evolveum.midpoint.model.common.stringpolicy that return Task Modifier and Type Method Description Task
ObjectValuePolicyEvaluator. getTask()
Methods in com.evolveum.midpoint.model.common.stringpolicy with parameters of type Task Modifier and Type Method Description String
ValuePolicyProcessor. generate(ItemPath path, ValuePolicyType policy, int defaultLength, boolean generateMinimalSize, ObjectBasedValuePolicyOriginResolver<?> originResolver, String shortDesc, Task task, OperationResult parentResult)
<R extends ObjectType>
voidAbstractValuePolicyOriginResolver. resolve(ProhibitedValueItemType prohibitedValueItem, ResultHandler<R> handler, String contextDescription, Task task, OperationResult result)
<R extends ObjectType>
voidValuePolicyOriginResolver. resolve(ProhibitedValueItemType prohibitedValueItemType, ResultHandler<R> handler, String contextDescription, Task task, OperationResult result)
Resolves "origin object" in given prohibitedValueItem: calls handler for each origin object found.ObjectValuePolicyEvaluator.Builder
ObjectValuePolicyEvaluator.Builder. task(Task val)
List<StringLimitationResult>
ValuePolicyProcessor. validateValue(String newValue, ValuePolicyType pp, ObjectBasedValuePolicyOriginResolver<?> originResolver, String shortDesc, Task task, OperationResult parentResult)
List<StringLimitationResult>
ValuePolicyProcessor. validateValue(String newValue, ValuePolicyType pp, ObjectBasedValuePolicyOriginResolver<?> originResolver, List<LocalizableMessage> messages, String shortDesc, Task task, OperationResult parentResult)
-
Uses of Task in com.evolveum.midpoint.model.common.util
Methods in com.evolveum.midpoint.model.common.util with parameters of type Task Modifier and Type Method Description static <V extends PrismValue,D extends ItemDefinition,C extends Containerable>
List<ItemDelta<V,D>>PopulatorUtil. computePopulateItemDeltas(PopulateType fromPopulate, PrismContainerDefinition<C> targetContainerDefinition, VariablesMap variables, ExpressionEvaluationContext params, String contextDescription, Task task, OperationResult result)
static <IV extends PrismValue,ID extends ItemDefinition,C extends Containerable>
ItemDelta<IV,ID>PopulatorUtil. evaluatePopulateExpression(PopulateItemType populateItem, VariablesMap variables, ExpressionEvaluationContext context, PrismContainerDefinition<C> targetContainerDefinition, String contextDescription, Task task, OperationResult result)
void
ObjectTemplateIncludeProcessor. processThisAndIncludedTemplates(ObjectTemplateType objectTemplate, String contextDesc, Task task, OperationResult result, ObjectTemplateIncludeProcessor.TemplateProcessor processor)
-
Uses of Task in com.evolveum.midpoint.model.impl
Methods in com.evolveum.midpoint.model.impl with parameters of type Task Modifier and Type Method Description <T extends ObjectType>
StringModelCrudService. addObject(PrismObject<T> object, ModelExecuteOptions options, Task task, OperationResult parentResult)
Add new object.<O extends ObjectType>
IntegerModelObjectResolver. countObjects(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult result)
<T extends ObjectType>
voidModelCrudService. deleteObject(Class<T> clazz, String oid, ModelExecuteOptions options, Task task, OperationResult parentResult)
Deletes object with specified OID.<T extends ObjectType>
PrismObject<T>ModelCrudService. getObject(Class<T> clazz, String oid, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
<T extends ObjectType>
TModelObjectResolver. getObject(Class<T> clazz, String oid, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult result)
<T extends ObjectType>
TModelObjectResolver. getObjectSimple(Class<T> clazz, String oid, GetOperationOptions options, Task task, OperationResult result)
<T extends ObjectType>
voidModelCrudService. modifyObject(Class<T> type, String oid, Collection<? extends ItemDelta> modifications, ModelExecuteOptions options, Task task, OperationResult parentResult)
Modifies object using relative change description.<O extends ObjectType>
PrismObject<O>ModelObjectResolver. resolve(PrismReferenceValue refVal, String string, GetOperationOptions options, Task task, OperationResult result)
<O extends ObjectType>
PrismObject<O>ModelObjectResolver. resolve(PrismReferenceValue refVal, String string, Task task, OperationResult result)
<O extends ObjectType>
OModelObjectResolver. resolve(Referencable ref, Class<O> expectedType, Collection<SelectorOptions<GetOperationOptions>> options, String contextDescription, Task task, OperationResult result)
<O extends ObjectType>
voidModelObjectResolver. searchIterative(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, ResultHandler<O> handler, Task task, OperationResult result)
<T extends ObjectType>
List<PrismObject<T>>ModelCrudService. searchObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
<O extends ObjectType>
SearchResultList<PrismObject<O>>ModelObjectResolver. searchObjects(Class<O> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult result)
<R,O extends ObjectType>
RModelObjectResolver. searchOrgTreeWidthFirst(PrismObject<O> object, Function<PrismObject<OrgType>,R> function, Task task, OperationResult result)
<O extends ObjectType,R extends ObjectType>
PrismObject<R>ModelObjectResolver. searchOrgTreeWidthFirstReference(PrismObject<O> object, Function<PrismObject<OrgType>,ObjectReferenceType> function, String shortDesc, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.controller
Methods in com.evolveum.midpoint.model.impl.controller with parameters of type Task Modifier and Type Method Description <C extends Containerable,T extends ObjectType>
SearchResultList<C>SchemaTransformer. applySchemasAndSecurityToContainers(SearchResultList<C> originalResultList, Class<T> parentObjectType, ItemName childItemName, GetOperationOptions rootOptions, Collection<SelectorOptions<GetOperationOptions>> options, AuthorizationPhaseType phase, Task task, OperationResult result)
<T extends ObjectType>
voidSchemaTransformer. applySchemasAndSecurityToObjectTypes(List<T> objectTypes, GetOperationOptions rootOptions, Collection<SelectorOptions<GetOperationOptions>> options, AuthorizationPhaseType phase, Task task, OperationResult result)
MidPointPrincipal
ModelInteractionServiceImpl. assumePowerOfAttorney(PrismObject<? extends FocusType> donor, Task task, OperationResult result)
void
AuditController. audit(AuditEventRecord record, Task task, OperationResult result)
void
ModelController. cancelCase(String caseOid, Task task, OperationResult parentResult)
<T extends ObjectType,O extends ObjectType>
booleanModelInteractionServiceImpl. canSearch(Class<T> resultType, Class<O> objectType, String objectOid, boolean includeSpecial, ObjectQuery query, Task task, OperationResult result)
boolean
ModelInteractionServiceImpl. checkPassword(String userOid, ProtectedStringType password, Task task, OperationResult parentResult)
void
ModelController. claimWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult)
void
AuditController. cleanupAudit(CleanupPolicyType policy, Task task, OperationResult parentResult)
void
ModelController. cleanupCampaigns(@NotNull CleanupPolicyType policy, Task task, OperationResult result)
void
ModelController. closeCampaign(String campaignOid, Task task, OperationResult result)
void
ModelController. closeCurrentStage(String campaignOid, Task task, OperationResult parentResult)
<T extends ObjectType>
CompareResultTypeModelController. compareObject(PrismObject<T> provided, Collection<SelectorOptions<GetOperationOptions>> rawReadOptions, ModelCompareOptions compareOptions, @NotNull List<? extends ItemPath> ignoreItems, Task task, OperationResult parentResult)
void
CollectionProcessor. compileObjectCollectionView(CompiledObjectCollectionView existingView, CollectionRefSpecificationType collectionSpec, Class<? extends Containerable> targetTypeClass, Task task, OperationResult result)
CompiledObjectCollectionView
CollectionProcessor. compileObjectCollectionView(CollectionRefSpecificationType collectionRef, Class<? extends Containerable> targetTypeClass, Task task, OperationResult result)
@NotNull CompiledObjectCollectionView
ModelInteractionServiceImpl. compileObjectCollectionView(@NotNull CollectionRefSpecificationType collectionRef, @Nullable Class<? extends Containerable> targetTypeClass, @NotNull Task task, @NotNull OperationResult result)
void
CollectionProcessor. compileView(CompiledObjectCollectionView existingView, GuiObjectListViewType objectListViewType, Task task, OperationResult result)
void
ModelInteractionServiceImpl. compileView(CompiledObjectCollectionView existingView, GuiObjectListViewType objectListViewsType, Task task, OperationResult result)
void
ModelController. completeWorkItem(@NotNull WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, @NotNull Task task, @NotNull OperationResult parentResult)
void
ModelController. completeWorkItem(WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, ObjectDelta additionalDelta, Task task, OperationResult parentResult)
Integer
DashboardServiceImpl. countAuditEvents(CollectionRefSpecificationType collectionRef, ObjectCollectionType collection, Task task, OperationResult result)
<T extends Containerable>
IntegerModelController. countContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
int
AuditController. countObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
IntegerModelController. countObjects(Class<T> type, ObjectQuery origQuery, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
Integer
ModelInteractionServiceImpl. countObjectsFromCollection(CollectionRefSpecificationType collectionConfig, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, ObjectPaging usedPaging, VariablesMap variables, Task task, OperationResult result)
int
ModelController. countOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
AccessCertificationCampaignType
ModelController. createCampaign(String definitionOid, Task task, OperationResult parentResult)
@NotNull LocalizableMessageType
ModelInteractionServiceImpl. createLocalizableMessageType(LocalizableMessageTemplateType template, VariablesMap variables, Task task, OperationResult result)
DashboardWidget
DashboardServiceImpl. createWidgetData(DashboardWidgetType widget, boolean useDisplaySource, Task task, OperationResult result)
boolean
ModelController. deactivateServiceThreads(long timeToWait, Task operationTask, OperationResult parentResult)
void
ModelController. delegateWorkItem(WorkItemId workItemId, WorkItemDelegationRequestType delegationRequest, Task task, OperationResult parentResult)
void
ModelController. deleteActivityStateAndWorkers(String rootTaskOid, boolean deleteWorkers, long subtasksWaitTime, Task operationTask, OperationResult parentResult)
<O extends ObjectType>
CollectionStatsCollectionProcessor. determineCollectionStats(CompiledObjectCollectionView collectionView, Task task, OperationResult result)
<O extends ObjectType>
@NotNull CollectionStatsModelInteractionServiceImpl. determineCollectionStats(@NotNull CompiledObjectCollectionView collectionView, @NotNull Task task, @NotNull OperationResult result)
Set<ConnectorType>
ModelController. discoverConnectors(ConnectorHostType hostType, Task task, OperationResult parentResult)
MidPointPrincipal
ModelInteractionServiceImpl. dropPowerOfAttorney(Task task, OperationResult result)
@NotNull Collection<EvaluatedPolicyRule>
ModelInteractionServiceImpl. evaluateCollectionPolicyRules(@NotNull PrismObject<ObjectCollectionType> collection, @Nullable CompiledObjectCollectionView collectionView, @Nullable Class<? extends ObjectType> targetTypeClass, @NotNull Task task, @NotNull OperationResult result)
ScriptExecutionResult
ModelController. evaluateExpression(@NotNull ExecuteScriptType scriptExecutionCommand, @NotNull VariablesMap initialVariables, boolean recordProgressAndIterationStatistics, @NotNull Task task, @NotNull OperationResult result)
ScriptExecutionResult
ModelController. evaluateExpression(ScriptingExpressionType expression, Task task, OperationResult result)
void
ModelController. evaluateExpressionInBackground(ExecuteScriptType executeScriptCommand, Task task, OperationResult parentResult)
void
ModelController. evaluateExpressionInBackground(ScriptingExpressionType expression, Task task, OperationResult parentResult)
MappingEvaluationResponseType
MappingDiagEvaluator. evaluateMapping(@NotNull MappingEvaluationRequestType request, @NotNull Task task, @NotNull OperationResult result)
MappingEvaluationResponseType
ModelDiagController. evaluateMapping(MappingEvaluationRequestType request, Task task, OperationResult parentResult)
Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelController. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult parentResult)
Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelController. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> statusListeners, OperationResult parentResult)
ExecuteCredentialResetResponseType
ModelInteractionServiceImpl. executeCredentialsReset(PrismObject<UserType> user, ExecuteCredentialResetRequestType executeCredentialResetRequest, Task task, OperationResult parentResult)
<F extends ObjectType>
voidModelController. executeRecompute(@NotNull PrismObject<F> focus, @Nullable ModelExecuteOptions options, @NotNull Task task, @NotNull OperationResult result)
Generally useful convenience method.RepositoryQueryDiagResponse
ModelDiagController. executeRepositoryQuery(RepositoryQueryDiagRequest request, Task task, OperationResult parentResult)
String
ModelDiagController. exportDataModel(ResourceType resource, DataModelVisualizer.Target target, Task task, OperationResult parentResult)
String
ModelDiagController. exportDataModel(Collection<String> resourceOids, DataModelVisualizer.Target target, Task task, OperationResult parentResult)
<O extends ObjectType>
StringModelInteractionServiceImpl. generateNonce(NonceCredentialsPolicyType noncePolicy, Task task, OperationResult result)
<O extends ObjectType>
voidModelInteractionServiceImpl. generateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
StringModelInteractionServiceImpl. generateValue(ValuePolicyType policy, int defaultLength, boolean generateMinimalSize, PrismObject<O> object, String shortDesc, Task task, OperationResult parentResult)
<O extends ObjectType,R extends AbstractRoleType>
ItemSecurityConstraintsModelInteractionServiceImpl. getAllowedRequestAssignmentItems(PrismObject<O> object, PrismObject<R> target, Task task, OperationResult result)
<H extends AssignmentHolderType,R extends AbstractRoleType>
RoleSelectionSpecificationModelInteractionServiceImpl. getAssignableRoleSpecification(PrismObject<H> focus, Class<R> targetType, int assignmentOrder, Task task, OperationResult parentResult)
AuthenticationsPolicyType
ModelInteractionServiceImpl. getAuthenticationPolicy(PrismObject<UserType> user, Task task, OperationResult parentResult)
AccessCertificationCasesStatisticsType
ModelController. getCampaignStatistics(String campaignOid, boolean currentStageOnly, Task task, OperationResult parentResult)
CollectionRefSpecificationType
DashboardServiceImpl. getCollectionRefSpecificationType(DashboardWidgetType widget, Task task, OperationResult result)
@NotNull CompiledGuiProfile
ModelInteractionServiceImpl. getCompiledGuiProfile(Task task, OperationResult parentResult)
List<ConnectorOperationalStatus>
ModelInteractionServiceImpl. getConnectorOperationalStatus(String resourceOid, Task task, OperationResult parentResult)
CredentialsPolicyType
ModelInteractionServiceImpl. getCredentialsPolicy(PrismObject<? extends FocusType> focus, Task task, OperationResult parentResult)
@NotNull List<ObjectReferenceType>
ModelInteractionServiceImpl. getDeputyAssignees(AbstractWorkItemType workItem, Task task, OperationResult parentResult)
@NotNull List<ObjectReferenceType>
ModelInteractionServiceImpl. getDeputyAssignees(ObjectReferenceType assigneeRef, QName limitationItemName, Task task, OperationResult parentResult)
<T extends ObjectType>
ObjectFilterModelInteractionServiceImpl. getDonorFilter(Class<T> searchResultType, ObjectFilter origFilter, String targetAuthorizationAction, Task task, OperationResult parentResult)
RefinedObjectClassDefinition
ModelInteractionServiceImpl. getEditObjectClassDefinition(PrismObject<ShadowType> shadow, PrismObject<ResourceType> resource, AuthorizationPhaseType phase, Task task, OperationResult result)
<O extends ObjectType>
PrismObjectDefinition<O>ModelInteractionServiceImpl. getEditObjectDefinition(PrismObject<O> object, AuthorizationPhaseType phase, Task task, OperationResult parentResult)
PrismObjectDefinition<ShadowType>
ModelInteractionServiceImpl. getEditShadowDefinition(ResourceShadowDiscriminator discr, AuthorizationPhaseType phase, Task task, OperationResult parentResult)
RegistrationsPolicyType
ModelInteractionServiceImpl. getFlowPolicy(PrismObject<? extends FocusType> focus, Task task, OperationResult parentResult)
LogFileContentType
ModelDiagController. getLogFileContent(Long fromPosition, Long maxSize, Task task, OperationResult parentResult)
long
ModelDiagController. getLogFileSize(Task task, OperationResult parentResult)
List<UserSessionManagementType>
ModelInteractionServiceImpl. getLoggedInPrincipals(Task task, OperationResult result)
String
ModelDiagController. getMemoryInformation(Task task, OperationResult parentResult)
<O extends ObjectType>
MetadataItemProcessingSpecModelInteractionServiceImpl. getMetadataItemProcessingSpec(ItemPath metadataItemPath, PrismObject<O> object, Task task, OperationResult result)
<T extends ObjectType>
@NotNull PrismObject<T>ModelController. getObject(Class<T> clazz, String oid, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
ObjectCollectionType
DashboardServiceImpl. getObjectCollectionType(DashboardWidgetType widget, Task task, OperationResult result)
ProvisioningDiag
ModelDiagController. getProvisioningDiag(Task task, OperationResult parentResult)
RepositoryDiag
ModelDiagController. getRepositoryDiag(Task task, OperationResult parentResult)
String
ModelController. getRunningTasksThreadsDump(@NotNull Task task, @NotNull OperationResult parentResult)
<C extends Containerable>
ModelInteractionService.SearchSpec<C>ModelInteractionServiceImpl. getSearchSpecificationFromCollection(CompiledObjectCollectionView compiledCollection, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, VariablesMap variables, Task task, OperationResult result)
SecurityPolicyType
ModelInteractionServiceImpl. getSecurityPolicy(RefinedObjectClassDefinition rOCDef, Task task, OperationResult parentResult)
<F extends FocusType>
SecurityPolicyTypeModelInteractionServiceImpl. getSecurityPolicy(PrismObject<F> focus, Task task, OperationResult parentResult)
PrismObject<TaskType>
ModelController. getTaskByIdentifier(String identifier, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task operationTask, OperationResult parentResult)
String
ModelController. getTaskThreadsDump(@NotNull String taskOid, @NotNull Task task, @NotNull OperationResult parentResult)
String
ModelController. getThreadsDump(@NotNull Task task, @NotNull OperationResult parentResult)
void
ModelController. importFromResource(String shadowOid, Task task, OperationResult parentResult)
void
ModelController. importFromResource(String resourceOid, QName objectClass, Task task, OperationResult parentResult)
void
ModelController. importObject(PrismObject object, ImportOptionsType options, Task task, OperationResult parentResult)
void
ModelController. importObjectsFromFile(File input, ImportOptionsType options, Task task, OperationResult parentResult)
void
ModelController. importObjectsFromStream(InputStream input, String language, ImportOptionsType options, Task task, OperationResult parentResult)
<O extends ObjectType>
Collection<ObjectDeltaOperation<? extends ObjectType>>ModelController. mergeObjects(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult parentResult)
<O extends ObjectType>
Collection<ObjectDeltaOperation<? extends ObjectType>>ObjectMerger. mergeObjects(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult result)
<O extends ObjectType>
MergeDeltas<O>ModelInteractionServiceImpl. mergeObjectsPreviewDeltas(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult parentResult)
<O extends ObjectType>
PrismObject<O>ModelInteractionServiceImpl. mergeObjectsPreviewObject(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult parentResult)
void
ModelController. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription, Task task, OperationResult parentResult)
void
ModelController. openNextStage(String campaignOid, Task task, OperationResult parentResult)
<F extends ObjectType>
ModelContext<F>ModelInteractionServiceImpl. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult parentResult)
<F extends ObjectType>
ModelContext<F>ModelInteractionServiceImpl. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> listeners, OperationResult parentResult)
void
ModelInteractionServiceImpl. processObjectsFromCollection(CollectionRefSpecificationType collectionConfig, QName typeForFilter, Predicate<PrismContainer> handler, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, VariablesMap variables, Task task, OperationResult result, boolean recordProgress)
OperationResult
ModelDiagController. provisioningSelfTest(Task task)
void
ModelController. reactivateServiceThreads(Task operationTask, OperationResult parentResult)
<F extends ObjectType>
voidModelController. recompute(Class<F> type, String oid, ModelExecuteOptions options, Task task, OperationResult parentResult)
void
ModelController. reconcileWorkers(String oid, Task opTask, OperationResult result)
<O extends ObjectType>
PrismObject<O>AuditController. reconstructObject(Class<O> type, String oid, String eventIdentifier, Task task, OperationResult result)
void
ModelController. recordDecision(String campaignOid, long caseId, long workItemId, AccessCertificationResponseType response, String comment, Task task, OperationResult parentResult)
String
ModelController. recordRunningTasksThreadsDump(String cause, @NotNull Task task, @NotNull OperationResult parentResult)
void
ModelController. reiterateCampaign(String campaignOid, Task task, OperationResult result)
void
ModelController. releaseWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult)
OperationResult
ModelDiagController. repositorySelfTest(Task task)
void
ModelDiagController. repositoryTestOrgClosureConsistency(Task task, boolean repairIfNecessary, OperationResult parentResult)
void
ModelController. resumeTask(String taskOid, Task operationTask, OperationResult parentResult)
void
ModelController. resumeTasks(Collection<String> taskOids, Task operationTask, OperationResult parentResult)
void
ModelController. resumeTaskTree(String coordinatorOid, Task operationTask, OperationResult parentResult)
<T> T
ModelInteractionServiceImpl. runUnderPowerOfAttorney(Producer<T> producer, PrismObject<? extends FocusType> donor, Task task, OperationResult result)
void
ModelController. scheduleTaskNow(String taskOid, Task operationTask, OperationResult parentResult)
void
ModelController. scheduleTasksNow(Collection<String> taskOids, Task operationTask, OperationResult parentResult)
<T extends Containerable>
SearchResultList<T>ModelController. searchContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
@NotNull SearchResultList<AuditEventRecordType>
AuditController. searchObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
SearchResultList<PrismObject<T>>ModelController. searchObjects(Class<T> type, ObjectQuery origQuery, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
List<? extends Containerable>
ModelInteractionServiceImpl. searchObjectsFromCollection(CollectionRefSpecificationType collectionConfig, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, ObjectPaging usedPaging, VariablesMap variables, Task task, OperationResult result)
void
AuditController. searchObjectsIterative(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull AuditResultHandler handler, @NotNull Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
SearchResultMetadataModelController. searchObjectsIterative(Class<T> type, ObjectQuery origQuery, ResultHandler<T> handler, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
List<AccessCertificationWorkItemType>
ModelController. searchOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
PrismObject<? extends FocusType>
ModelController. searchShadowOwner(String shadowOid, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
void
ModelController. startRemediation(String campaignOid, Task task, OperationResult result)
void
ModelController. startSchedulers(Collection<String> nodeIdentifiers, Task operationTask, OperationResult parentResult)
void
ModelController. stopSchedulers(Collection<String> nodeIdentifiers, Task operationTask, OperationResult parentResult)
boolean
ModelController. stopSchedulersAndTasks(Collection<String> nodeIdentifiers, long waitTime, Task operationTask, OperationResult parentResult)
@NotNull TaskType
ModelInteractionServiceImpl. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems, Task opTask, OperationResult parentResult)
@NotNull TaskType
ModelInteractionServiceImpl. submitTaskFromTemplate(String templateTaskOid, Map<QName,Object> extensionValues, Task opTask, OperationResult parentResult)
void
ModelController. suspendAndDeleteTask(String taskOid, long waitForStop, boolean alsoSubtasks, Task operationTask, OperationResult parentResult)
void
ModelController. suspendAndDeleteTasks(Collection<String> taskOids, long waitForStop, boolean alsoSubtasks, Task operationTask, OperationResult parentResult)
boolean
ModelController. suspendTask(String taskOid, long waitForStop, Task operationTask, OperationResult parentResult)
boolean
ModelController. suspendTasks(Collection<String> taskOids, long waitForStop, Task operationTask, OperationResult parentResult)
boolean
ModelController. suspendTaskTree(String taskOid, long waitForStop, Task operationTask, OperationResult parentResult)
void
ModelController. synchronizeTasks(Task operationTask, OperationResult parentResult)
void
ModelInteractionServiceImpl. terminateSessions(TerminateSessionEvent terminateSessionEvent, Task task, OperationResult result)
OperationResult
ModelController. testResource(String resourceOid, Task task)
<F extends ObjectType>
ModelContext<F>ModelInteractionServiceImpl. unwrapModelContext(LensContextType wrappedContext, Task task, OperationResult result)
<O extends ObjectType>
voidModelInteractionServiceImpl. validateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
List<StringLimitationResult>ModelInteractionServiceImpl. validateValue(ProtectedStringType protectedStringValue, ValuePolicyType pp, PrismObject<O> object, Task task, OperationResult parentResult)
@NotNull Scene
ModelInteractionServiceImpl. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, boolean includeOriginalObject, Task task, OperationResult result)
@NotNull Scene
ModelInteractionServiceImpl. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, Task task, OperationResult result)
@NotNull Scene
ModelInteractionServiceImpl. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, ObjectReferenceType objectRef, Task task, OperationResult result)
@NotNull Scene
ModelInteractionServiceImpl. visualizeDelta(ObjectDelta<? extends ObjectType> delta, Task task, OperationResult result)
List<? extends Scene>
ModelInteractionServiceImpl. visualizeDeltas(List<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.dataModel
Methods in com.evolveum.midpoint.model.impl.dataModel with parameters of type Task Modifier and Type Method Description String
DataModelVisualizerImpl. visualize(ResourceType resource, DataModelVisualizer.Target target, Task task, OperationResult result)
String
DataModelVisualizerImpl. visualize(Collection<String> resourceOids, DataModelVisualizer.Target target, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.expr
Methods in com.evolveum.midpoint.model.impl.expr that return Task Modifier and Type Method Description Task
MidpointFunctionsImpl. getCurrentTask()
Methods in com.evolveum.midpoint.model.impl.expr with parameters of type Task Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>SequentialValueExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
boolean
ExpressionHandler. evaluateConfirmationExpression(UserType user, ShadowType shadow, ExpressionType expressionType, Task task, OperationResult result)
String
ExpressionHandler. evaluateExpression(ShadowType shadow, ExpressionType expressionType, String shortDesc, Task task, OperationResult result)
TaskType
MidpointFunctionsImpl. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid, Task opTask, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.importer
Methods in com.evolveum.midpoint.model.impl.importer with parameters of type Task Modifier and Type Method Description void
ObjectImporter. importObject(PrismObject object, ImportOptionsType options, Task task, OperationResult result)
void
ObjectImporter. importObjects(InputStream input, String language, ImportOptionsType options, Task task, OperationResult parentResult)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens
Methods in com.evolveum.midpoint.model.impl.lens with parameters of type Task Modifier and Type Method Description <T extends ObjectType,F extends ObjectType>
voidOperationalDataManager. applyMetadataAdd(LensContext<F> context, PrismObject<T> objectToAdd, XMLGregorianCalendar now, Task task)
Sets object and assignment metadata on object ADD operation.<T extends ObjectType,F extends ObjectType>
voidOperationalDataManager. applyMetadataModify(ObjectDelta<T> objectDelta, Class objectTypeClass, LensElementContext<T> elementContext, XMLGregorianCalendar now, Task task, LensContext<F> context)
void
ClockworkAuditHelper. auditRequestDenied(@NotNull LensContext<? extends ObjectType> context, @NotNull Task task, @NotNull OperationResult opResult, @NotNull OperationResult execResult)
The request was denied before its execution was even started.<F extends ObjectType>
voidClockworkAuthorizationHelper. authorizeContextRequest(LensContext<F> context, boolean fullInformationAvailable, Task task, OperationResult parentResult)
<F extends ObjectType>
@NotNull HookOperationModeClockwork. click(@NotNull LensContext<F> context, @NotNull Task task, @NotNull OperationResult parentResult)
<AH extends AssignmentHolderType>
Collection<EvaluatedAssignment<AH>>AssignmentCollector. collect(PrismObject<AH> focus, boolean loginMode, Task task, OperationResult result)
<AH extends AssignmentHolderType>
voidEvaluatedPolicyRuleImpl. computeEnabledActions(@Nullable PolicyRuleEvaluationContext<AH> rctx, PrismObject<AH> object, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result)
<F extends ObjectType>
LensContext<F>ContextFactory. createContext(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult result)
<F extends ObjectType>
MetadataTypeOperationalDataManager. createCreateMetadata(LensContext<F> context, XMLGregorianCalendar now, Task task)
<F extends ObjectType,T extends ObjectType>
Collection<ItemDelta<?,?>>OperationalDataManager. createModifyMetadataDeltas(LensContext<F> context, MetadataType existingMetadata, ItemPath metadataPath, Class<T> objectType, XMLGregorianCalendar now, Task task)
Creates deltas for modification-related metadata (except for modification approval metadata).<F extends ObjectType,O extends ObjectType>
LensContext<F>ContextFactory. createRecomputeContext(@NotNull PrismObject<O> object, ModelExecuteOptions options, @NotNull Task task, @NotNull OperationResult result)
<F extends ObjectType>
LensContext<F>ContextFactory. createRecomputeProjectionContext(@NotNull PrismObject<ShadowType> shadow, ModelExecuteOptions options, Task task, OperationResult result)
static boolean
LensUtil. evaluateBoolean(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result)
static <T> T
LensUtil. evaluateExpressionSingle(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result, QName typeName, T defaultValue, Function<Object,Object> additionalConvertor)
static <F extends ObjectType>
booleanLensUtil. evaluateIterationCondition(LensContext<F> context, LensElementContext<?> accountContext, IterationSpecificationType iterationSpecification, int iteration, String iterationToken, boolean beforeIteration, ExpressionFactory expressionFactory, VariablesMap variables, Task task, OperationResult result)
static LocalizableMessageType
LensUtil. evaluateLocalizableMessageType(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result)
static String
LensUtil. evaluateString(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result)
<O extends ObjectType>
booleanChangeExecutor. executeChanges(LensContext<O> context, Task task, OperationResult parentResult)
Returns true if current wave has to be restarted, seeObjectAlreadyExistsException
handling.static <F extends ObjectType>
StringLensUtil. formatIterationToken(LensContext<F> context, LensElementContext<?> accountContext, IterationSpecificationType iterationType, int iteration, ExpressionFactory expressionFactory, VariablesMap variables, Task task, OperationResult result)
static <T extends ObjectType>
LensContext<T>LensContext. fromLensContextBean(LensContextType bean, Task task, OperationResult parentResult)
static <F extends ObjectType>
StringLensUtil. getChannel(LensContext<F> context, Task task)
static <R extends AbstractRoleType>
@NotNull Collection<AssignmentType>LensUtil. getForcedAssignments(LifecycleStateModelType lifecycleModel, String targetLifecycle, ObjectResolver objectResolver, PrismContext prismContext, Task task, OperationResult result)
static <F extends FocusType>
LensProjectionContextLensUtil. getProjectionContext(LensContext<F> context, PrismObject<ShadowType> equivalentAccount, ProvisioningService provisioningService, PrismContext prismContext, Task task, OperationResult result)
static <F extends ObjectType>
ResourceTypeLensUtil. getResourceReadOnly(LensContext<F> context, String resourceOid, ProvisioningService provisioningService, Task task, OperationResult result)
static <F extends ObjectType>
@NotNull ResourceTypeLensUtil. getResourceReadOnly(LensContext<F> context, String resourceOid, ObjectResolver objectResolver, Task task, OperationResult result)
String
LensContext. getTaskTreeOid(Task task, OperationResult result)
static @NotNull SingleLocalizableMessageType
LensUtil. interpretLocalizableMessageTemplate(LocalizableMessageTemplateType template, VariablesMap var, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result)
boolean
ClockworkMedic. partialExecute(String componentName, ProjectorProcessor processor, ProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, @NotNull String activityDescription, XMLGregorianCalendar now, Task task, OperationResult parentResult)
boolean
ClockworkMedic. partialExecute(String componentName, ProjectorProcessor processor, ProjectionAwareProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult parentResult)
boolean
ClockworkMedic. partialExecute(String componentName, ProjectorProcessor processor, SimplifiedProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, XMLGregorianCalendar now, Task task, OperationResult parentResult)
<F extends ObjectType>
LensContext<F>Clockwork. previewChanges(LensContext<F> context, Collection<ProgressListener> listeners, Task task, OperationResult result)
static <F extends ObjectType>
voidLensUtil. reclaimSequences(LensContext<F> context, RepositoryService repositoryService, Task task, OperationResult result)
<F extends ObjectType>
HookOperationModeClockwork. run(LensContext<F> context, Task task, OperationResult parentResult)
void
LensProjectionContext. updateCoordinates(Task task, OperationResult result)
Updates basic "coordinates": resource shadow discriminator, resource OID (and resource itself), and shadow OID.Constructors in com.evolveum.midpoint.model.impl.lens with parameters of type Task Constructor Description LensOwnerResolver(LensContext<F> context, ObjectResolver objectResolver, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.assignments
Methods in com.evolveum.midpoint.model.impl.lens.assignments with parameters of type Task Modifier and Type Method Description EvaluatedAssignmentImpl<AH>
AssignmentEvaluator. evaluate(ItemDeltaItem<PrismContainerValue<AssignmentType>,PrismContainerDefinition<AssignmentType>> assignmentIdi, PlusMinusZero primaryAssignmentMode, boolean evaluateOld, AssignmentHolderType source, String sourceDescription, AssignmentOrigin origin, Task task, OperationResult parentResult)
Main entry point: evaluates a given focus-attached (direct) assignment.void
EvaluatedAssignmentImpl. evaluateConstructions(ObjectDeltaObject<AH> focusOdoAbsolute, Consumer<ResourceType> resourceConsumer, Task task, OperationResult result)
Evaluates constructions in this assignment.@NotNull DeltaSetTriple<EvaluatedResourceObjectConstruction>
EvaluatedAssignmentImpl. getEvaluatedConstructions(@NotNull Task task, @NotNull OperationResult result)
Construction is not a part of model-api. -
Uses of Task in com.evolveum.midpoint.model.impl.lens.construction
Methods in com.evolveum.midpoint.model.impl.lens.construction with parameters of type Task Modifier and Type Method Description NextRecompute
EvaluatedResourceObjectConstructionImpl. evaluate(Task task, OperationResult parentResult)
NextRecompute
ResourceObjectConstruction. evaluate(Task task, OperationResult parentResult)
Evaluates this construction.protected NextRecompute
ResourceObjectConstruction. evaluateConstructions(Task task, OperationResult result)
protected void
ResourceObjectConstruction. loadFullShadow(LensProjectionContext projectionContext, String desc, Task task, OperationResult result)
protected void
AssignedResourceObjectConstruction. resolveResource(Task task, OperationResult result)
protected void
PlainResourceObjectConstruction. resolveResource(Task task, OperationResult result)
protected abstract void
ResourceObjectConstruction. resolveResource(Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.executor
Constructors in com.evolveum.midpoint.model.impl.lens.executor with parameters of type Task Constructor Description FocusChangeExecution(@NotNull LensContext<O> context, @NotNull LensFocusContext<O> focusContext, @NotNull Task task, @NotNull ModelBeans modelBeans)
ProjectionChangeExecution(@NotNull LensContext<O> context, @NotNull LensProjectionContext projCtx, @NotNull Task task, @NotNull ModelBeans modelBeans)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.projector
Methods in com.evolveum.midpoint.model.impl.lens.projector with parameters of type Task Modifier and Type Method Description void
ShadowConstraintsChecker. check(Task task, OperationResult result)
<O extends ObjectType>
voidContextLoader. loadFocusContext(LensContext<O> context, Task task, OperationResult parentResult)
void
ContextLoader. loadFullShadow(@NotNull LensProjectionContext projCtx, String reason, Task task, OperationResult parentResult)
<F extends ObjectType>
voidContextLoader. loadSecurityPolicy(LensContext<F> context, Task task, OperationResult result)
<F extends FocusType>
voidProjectionValuesProcessor. process(LensContext<F> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
<F extends ObjectType>
voidProjector. project(@NotNull LensContext<F> context, @NotNull String activityDescription, @NotNull Task task, @NotNull OperationResult parentResult)
Runs one projection wave, starting at current execution wave.<F extends ObjectType>
voidProjector. projectAllWaves(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult)
Executes projector from current execution wave to the last computed wave.<F extends FocusType>
voidContextLoader. reloadSecurityPolicyIfNeeded(@NotNull LensContext<F> context, @NotNull LensFocusContext<F> focusContext, Task task, OperationResult result)
<F extends ObjectType>
voidProjector. resume(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult)
Resumes projection at current projection wave.<F extends AssignmentHolderType>
voidContextLoader. updateArchetype(LensContext<F> context, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.projector.credentials
Methods in com.evolveum.midpoint.model.impl.lens.projector.credentials with parameters of type Task Modifier and Type Method Description <F extends FocusType>
voidCredentialsProcessor. processFocusCredentials(LensContext<F> context, XMLGregorianCalendar now, Task task, OperationResult result)
<F extends FocusType>
voidProjectionCredentialsProcessor. processProjectionCredentials(LensContext<F> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
CredentialPolicyEvaluator.Builder<F>
CredentialPolicyEvaluator.Builder. task(Task val)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.projector.focus
Methods in com.evolveum.midpoint.model.impl.lens.projector.focus with parameters of type Task Modifier and Type Method Description static <F extends AssignmentHolderType,T extends AssignmentHolderType>
TemplateMappingsEvaluation<F,T>TemplateMappingsEvaluation. createForPersonaTemplate(ModelBeans beans, LensContext<F> context, ObjectDeltaObject<F> focusOdoAbsolute, ObjectTemplateType template, @NotNull PrismObject<T> targetObject, ObjectDelta<T> targetAPrioriDelta, String contextDescription, XMLGregorianCalendar now, Task task, OperationResult result)
<F extends AssignmentHolderType>
voidFocusLifecycleProcessor. process(LensContext<F> context, XMLGregorianCalendar now, Task task, OperationResult result)
<O extends ObjectType,AH extends AssignmentHolderType>
voidAssignmentProcessor. processAssignments(LensContext<O> context, XMLGregorianCalendar now, Task task, OperationResult parentResult)
Processing all the assignments.<AH extends AssignmentHolderType>
voidAssignmentHolderProcessor. processFocus(LensContext<AH> context, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
<AH extends AssignmentHolderType>
voidObjectTemplateProcessor. processTemplateAfterProjections(LensContext<AH> context, XMLGregorianCalendar now, Task task, OperationResult result)
AssignmentTripleEvaluator.Builder<AH>
AssignmentTripleEvaluator.Builder. task(Task val)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.projector.loader
Constructors in com.evolveum.midpoint.model.impl.lens.projector.loader with parameters of type Task Constructor Description ContextLoadOperation(@NotNull LensContext<F> context, @NotNull String activityDescription, @NotNull Task task)
FocusLoadOperation(@NotNull LensContext<F> context, @NotNull Task task)
ProjectionFullLoadOperation(@NotNull LensContext<F> context, @NotNull LensProjectionContext projCtx, @NotNull String reason, boolean noDiscovery, @NotNull Task task)
ProjectionsLoadOperation(@NotNull LensContext<F> context, @NotNull Task task)
ProjectionUpdateOperation(@NotNull LensContext<F> context, @NotNull LensProjectionContext projectionContext, @NotNull Task task)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.projector.mappings
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.projector.policy
Fields in com.evolveum.midpoint.model.impl.lens.projector.policy declared as Task Modifier and Type Field Description @NotNull Task
PolicyRuleEvaluationContext. task
Methods in com.evolveum.midpoint.model.impl.lens.projector.policy with parameters of type Task Modifier and Type Method Description <F extends AssignmentHolderType>
voidPolicyRuleProcessor. addGlobalPolicyRulesToAssignments(LensContext<F> context, DeltaSetTriple<EvaluatedAssignmentImpl<F>> evaluatedAssignmentTriple, Task task, OperationResult result)
<F extends AssignmentHolderType>
voidPolicyRuleProcessor. evaluateAssignmentPolicyRules(LensContext<F> context, DeltaSetTriple<EvaluatedAssignmentImpl<F>> evaluatedAssignmentTriple, Task task, OperationResult result)
Evaluates the policies (policy rules, but also legacy policies).<AH extends AssignmentHolderType>
voidPolicyRuleProcessor. evaluateObjectPolicyRules(LensContext<AH> context, XMLGregorianCalendar now, Task task, OperationResult result)
<O extends ObjectType>
voidPolicyRuleSuspendTaskExecutor. execute(@NotNull ModelContext<O> context, Task task, OperationResult result)
<AH extends AssignmentHolderType>
voidPolicyRuleCounterUpdater. updateCounters(LensContext<AH> context, XMLGregorianCalendar now, Task task, OperationResult result)
Constructors in com.evolveum.midpoint.model.impl.lens.projector.policy with parameters of type Task Constructor Description PolicyRuleEvaluationContext(@NotNull EvaluatedPolicyRule policyRule, @NotNull LensContext<AH> context, @NotNull Task task, @NotNull RulesEvaluationContext globalCtx, @NotNull ObjectState state)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.projector.policy.evaluators
Methods in com.evolveum.midpoint.model.impl.lens.projector.policy.evaluators with parameters of type Task Modifier and Type Method Description boolean
ConstraintEvaluatorHelper. evaluateBoolean(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, Task task, OperationResult result)
LocalizableMessageType
ConstraintEvaluatorHelper. evaluateLocalizableMessageType(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, Task task, OperationResult result)
String
ConstraintEvaluatorHelper. evaluateString(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.projector.policy.scriptExecutor
Methods in com.evolveum.midpoint.model.impl.lens.projector.policy.scriptExecutor with parameters of type Task Modifier and Type Method Description void
PolicyRuleScriptExecutor. execute(@NotNull LensContext<?> context, Task task, OperationResult parentResult)
-
Uses of Task in com.evolveum.midpoint.model.impl.lens.projector.util
Methods in com.evolveum.midpoint.model.impl.lens.projector.util with parameters of type Task Modifier and Type Method Description void
ProcessorMethodRef. run(@NotNull LensContext<X> lensContext, @NotNull String activityDescription, @NotNull XMLGregorianCalendar now, @NotNull Task task, @NotNull OperationResult result)
void
ProjectionAwareProcessorMethodRef. run(LensContext<X> lensContext, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
void
SimplifiedProcessorMethodRef. run(LensContext<X> lensContext, XMLGregorianCalendar now, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.scripting
Methods in com.evolveum.midpoint.model.impl.scripting that return Task Modifier and Type Method Description Task
ExecutionContext. getTask()
Methods in com.evolveum.midpoint.model.impl.scripting with parameters of type Task Modifier and Type Method Description ExecutionContext
ScriptingExpressionEvaluator. evaluateExpression(@NotNull ExecuteScriptType executeScript, VariablesMap initialVariables, boolean recordProgressAndIterationStatistics, Task task, OperationResult result)
Main entry point.ExecutionContext
ScriptingExpressionEvaluator. evaluateExpression(ScriptingExpressionType expression, Task task, OperationResult result)
Convenience method (if we don't have full ExecuteScriptType).void
ScriptingExpressionEvaluator. evaluateExpressionInBackground(ExecuteScriptType executeScriptCommand, Task task, OperationResult parentResult)
void
ScriptingExpressionEvaluator. evaluateExpressionInBackground(ScriptingExpressionType expression, Task task, OperationResult parentResult)
Asynchronously executes any scripting expression.ExecutionContext
ScriptingExpressionEvaluator. evaluateExpressionPrivileged(@NotNull ExecuteScriptType executeScript, @NotNull VariablesMap initialVariables, Task task, OperationResult result)
Entry point for privileged execution.Constructors in com.evolveum.midpoint.model.impl.scripting with parameters of type Task Constructor Description ExecutionContext(ScriptingExpressionEvaluationOptionsType options, Task task, ScriptingExpressionEvaluator scriptingExpressionEvaluator, boolean privileged, boolean recordProgressAndIterationStatistics, VariablesMap initialVariables, boolean root)
-
Uses of Task in com.evolveum.midpoint.model.impl.security
-
Uses of Task in com.evolveum.midpoint.model.impl.sync
Methods in com.evolveum.midpoint.model.impl.sync that return Task Modifier and Type Method Description Task
SynchronizationContext. getTask()
Methods in com.evolveum.midpoint.model.impl.sync with parameters of type Task Modifier and Type Method Description @NotNull ResourceObjectClassifier.Classification
ResourceObjectClassifierImpl. classify(@NotNull PrismObject<ShadowType> combinedObject, @NotNull PrismObject<ResourceType> resource, @NotNull Task task, @NotNull OperationResult parentResult)
<F extends FocusType>
@NotNull List<PrismObject<F>>SynchronizationExpressionsEvaluator. findFocusesByCorrelationRule(Class<F> focusType, ShadowType currentShadow, List<ConditionalSearchFilterType> conditionalFilters, ResourceType resourceType, SystemConfigurationType configurationType, Task task, OperationResult result)
String
SynchronizationExpressionsEvaluator. generateTag(ResourceObjectMultiplicityType multiplicity, PrismObject<ShadowType> shadow, PrismObject<ResourceType> resource, PrismObject<SystemConfigurationType> configuration, String shortDesc, Task task, OperationResult parentResult)
<F extends FocusType>
voidAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
SynchronizationContext<F>SynchronizationService. loadSynchronizationContext(PrismObject<ShadowType> shadowedResourceObject, ObjectDelta<ShadowType> resourceObjectDelta, PrismObject<ResourceType> resource, String sourceChanel, String itemProcessingIdentifier, PrismObject<SystemConfigurationType> explicitSystemConfiguration, Task task, OperationResult result)
<F extends FocusType>
SynchronizationContext<F>SynchronizationServiceImpl. loadSynchronizationContext(@NotNull PrismObject<ShadowType> shadowedResourceObject, ObjectDelta<ShadowType> resourceObjectDelta, PrismObject<ResourceType> resource, String sourceChanel, String itemProcessingIdentifier, PrismObject<SystemConfigurationType> explicitSystemConfiguration, Task task, OperationResult result)
<F extends FocusType>
booleanSynchronizationService. matchUserCorrelationRule(PrismObject<ShadowType> shadowedResourceObject, PrismObject<F> focus, ResourceType resourceType, PrismObject<SystemConfigurationType> configuration, Task task, OperationResult result)
<F extends FocusType>
booleanSynchronizationServiceImpl. matchUserCorrelationRule(PrismObject<ShadowType> shadowedResourceObject, PrismObject<F> focus, ResourceType resourceType, PrismObject<SystemConfigurationType> configuration, Task task, OperationResult result)
Tries to match specified focus and shadow.void
ProjectionLinkUpdater. notify(ShadowDeathEvent event, Task task, OperationResult result)
void
SynchronizationServiceImpl. notifyChange(@NotNull ResourceObjectShadowChangeDescription change, Task task, OperationResult parentResult)
Constructors in com.evolveum.midpoint.model.impl.sync with parameters of type Task Constructor Description SynchronizationContext(@NotNull PrismObject<ShadowType> shadowedResourceObject, ObjectDelta<ShadowType> resourceObjectDelta, PrismObject<ResourceType> resource, String channel, ModelBeans beans, Task task, String itemProcessingIdentifier)
-
Uses of Task in com.evolveum.midpoint.model.impl.sync.action
Methods in com.evolveum.midpoint.model.impl.sync.action with parameters of type Task Modifier and Type Method Description <F extends FocusType>
voidAddFocusAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidDeleteFocusAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidDeleteShadowAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidEmptyAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidInactivateFocusAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidInactivateShadowAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidLinkAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidUnlinkAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
-
Uses of Task in com.evolveum.midpoint.model.impl.sync.tasks
Methods in com.evolveum.midpoint.model.impl.sync.tasks with parameters of type Task Modifier and Type Method Description @NotNull ResourceObjectClassSpecification
SyncTaskHelper. createObjectClassSpec(@NotNull ResourceObjectSetType resourceObjectSet, Task task, OperationResult opResult)
@NotNull ResourceObjectClassSpecification
SyncTaskHelper. createObjectClassSpecForShadow(ShadowType shadow, Task task, OperationResult opResult)
ResourceSearchSpecification
SyncTaskHelper. createSearchSpecification(@NotNull ResourceObjectSetType set, Task task, OperationResult opResult)
void
Synchronizer. synchronize(PrismObject<ShadowType> shadowObject, String itemProcessingIdentifier, Task workerTask, OperationResult result)
This methods will be called for each search result. -
Uses of Task in com.evolveum.midpoint.model.impl.sync.tasks.imp
Methods in com.evolveum.midpoint.model.impl.sync.tasks.imp with parameters of type Task Modifier and Type Method Description boolean
ImportFromResourceLauncher. importSingleShadow(String shadowOid, Task task, OperationResult parentResult)
void
ImportFromResourceLauncher. launch(ResourceType resource, QName objectclass, Task task, OperationResult parentResult)
Launch an import. -
Uses of Task in com.evolveum.midpoint.model.impl.sync.tasks.recon
Methods in com.evolveum.midpoint.model.impl.sync.tasks.recon with parameters of type Task Modifier and Type Method Description void
ReconciliationLauncher. launch(ResourceType resource, QName objectclass, Task task, OperationResult parentResult)
Launch an import. -
Uses of Task in com.evolveum.midpoint.model.impl.tasks
Methods in com.evolveum.midpoint.model.impl.tasks with parameters of type Task Modifier and Type Method Description void
AdvancedActivityRunSupportImpl. applyDefinitionsToQuery(@NotNull SearchSpecification<?> searchSpecification, @NotNull Task task, OperationResult result)
void
AdvancedActivityRunSupportImpl. checkRawAuthorization(Task task, OperationResult result)
ShadowType
ShadowFetchingPreprocessor. preprocess(ShadowType originalShadow, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.util
Methods in com.evolveum.midpoint.model.impl.util with parameters of type Task Modifier and Type Method Description void
AuditHelper. audit(AuditEventRecord record, ObjectDeltaSchemaLevelUtil.NameResolver externalNameResolver, Task task, OperationResult parentResult)
static void
ModelImplUtils. clearRequestee(Task task)
static ObjectClassComplexTypeDefinition
ModelImplUtils. determineObjectClass(RefinedResourceSchema refinedSchema, Task task)
<F extends ObjectType>
AuditEventRecordAuditHelper. evaluateRecordingExpression(ExpressionType expression, AuditEventRecord auditRecord, PrismObject<? extends ObjectType> primaryObject, LensContext<F> context, Task task, OperationResult parentResult)
static <V extends PrismValue,F extends ObjectType>
@NotNull List<V>ModelImplUtils. evaluateScript(ScriptExpression scriptExpression, LensContext<F> lensContext, VariablesMap variables, boolean useNew, String shortDesc, Task task, OperationResult parentResult)
List<PrismObject<? extends ObjectType>>
ReferenceResolverImpl. resolve(@NotNull ObjectReferenceType reference, Collection<SelectorOptions<GetOperationOptions>> options, @NotNull ReferenceResolver.Source source, ReferenceResolver.FilterEvaluator filterEvaluator, Task task, OperationResult result)
static void
ModelImplUtils. setRequestee(Task task, LensContext context)
static <F extends ObjectType>
voidModelImplUtils. setRequestee(Task task, LensFocusContext<F> context)
static void
ModelImplUtils. setRequestee(Task task, PrismObject object)
-
Uses of Task in com.evolveum.midpoint.model.impl.validator
Methods in com.evolveum.midpoint.model.impl.validator with parameters of type Task Modifier and Type Method Description @NotNull ValidationResult
ResourceValidatorImpl. validate(@NotNull PrismObject<ResourceType> resourceObject, @NotNull Scope scope, @Nullable Locale locale, @NotNull Task task, @NotNull OperationResult result)
-
Uses of Task in com.evolveum.midpoint.model.impl.visualizer
Methods in com.evolveum.midpoint.model.impl.visualizer with parameters of type Task Modifier and Type Method Description <O extends ObjectType>
voidResolver. resolve(ObjectDelta<O> objectDelta, boolean includeOriginalObject, Task task, OperationResult result)
<O extends ObjectType>
voidResolver. resolve(PrismObject<O> object, Task task, OperationResult result)
void
Resolver. resolve(List<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult result)
SceneImpl
Visualizer. visualize(PrismObject<? extends ObjectType> object, VisualizationContext context, Task task, OperationResult parentResult)
SceneImpl
Visualizer. visualize(PrismObject<? extends ObjectType> object, Task task, OperationResult parentResult)
@NotNull SceneImpl
Visualizer. visualizeDelta(ObjectDelta<? extends ObjectType> objectDelta, Task task, OperationResult parentResult)
@NotNull SceneImpl
Visualizer. visualizeDelta(ObjectDelta<? extends ObjectType> objectDelta, ObjectReferenceType objectRef, boolean includeOperationalItems, boolean includeOriginalObject, Task task, OperationResult parentResult)
@NotNull SceneImpl
Visualizer. visualizeDelta(ObjectDelta<? extends ObjectType> objectDelta, ObjectReferenceType objectRef, Task task, OperationResult parentResult)
List<? extends SceneImpl>
Visualizer. visualizeDeltas(List<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult parentResult)
-
Uses of Task in com.evolveum.midpoint.notifications.api
Methods in com.evolveum.midpoint.notifications.api with parameters of type Task Modifier and Type Method Description boolean
EventHandler. processEvent(E event, C eventHandlerType, Task task, OperationResult result)
void
NotificationManager. processEvent(@NotNull Event event, Task task, OperationResult result)
boolean
NotificationManager. processEvent(@NotNull Event event, EventHandlerType eventHandlerBean, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.notifications.api.events
Methods in com.evolveum.midpoint.notifications.api.events that return Task Modifier and Type Method Description @NotNull Task
TaskEvent. getTask()
-
Uses of Task in com.evolveum.midpoint.notifications.api.transports
Methods in com.evolveum.midpoint.notifications.api.transports with parameters of type Task Modifier and Type Method Description void
Transport. send(Message message, String transportName, Event event, Task task, OperationResult parentResult)
-
Uses of Task in com.evolveum.midpoint.provisioning.api
Methods in com.evolveum.midpoint.provisioning.api with parameters of type Task Modifier and Type Method Description <T extends ObjectType>
StringProvisioningService. addObject(PrismObject<T> object, OperationProvisioningScriptsType scripts, ProvisioningOperationOptions options, Task task, OperationResult parentResult)
Add new object.<T extends ObjectType>
voidProvisioningService. applyDefinition(ObjectDelta<T> delta, Objectable object, Task task, OperationResult parentResult)
Applies appropriate definition to the shadow/resource delta.<T extends ObjectType>
voidProvisioningService. applyDefinition(ObjectDelta<T> delta, Task task, OperationResult parentResult)
Applies appropriate definition to the shadow/resource delta.<T extends ObjectType>
voidProvisioningService. applyDefinition(PrismObject<T> object, Task task, OperationResult parentResult)
Applies appropriate definition to the shadow.<T extends ObjectType>
voidProvisioningService. applyDefinition(Class<T> type, ObjectQuery query, Task task, OperationResult parentResult)
Applies appropriate definition to the query.ConstraintsCheckingResult
ProvisioningService. checkConstraints(RefinedObjectClassDefinition shadowDefinition, PrismObject<ShadowType> shadowObject, PrismObject<ShadowType> shadowObjectOld, ResourceType resourceType, String shadowOid, ResourceShadowDiscriminator resourceShadowDiscriminator, ConstraintViolationConfirmer constraintViolationConfirmer, ConstraintsCheckingStrategyType strategy, Task task, OperationResult parentResult)
@NotNull ResourceObjectClassifier.Classification
ResourceObjectClassifier. classify(@NotNull PrismObject<ShadowType> combinedObject, @NotNull PrismObject<ResourceType> resource, @NotNull Task task, @NotNull OperationResult result)
Classifies the shadowed resource object.<O extends ObjectType,T>
ItemComparisonResultProvisioningService. compare(Class<O> type, String oid, ItemPath path, T expectedValue, Task task, OperationResult result)
Compare value on the resource with the provided value.<T extends ObjectType>
IntegerProvisioningService. countObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Options: if noFetch or raw, we count only shadows from the repository.<T extends ObjectType>
PrismObject<T>ProvisioningService. deleteObject(Class<T> type, String oid, ProvisioningOperationOptions option, OperationProvisioningScriptsType scripts, Task task, OperationResult parentResult)
Deletes object with specified OID.void
ProvisioningService. determineShadowState(PrismObject<ShadowType> shadow, Task task, OperationResult parentResult)
Determines shadow lifecycle state (shadow state for short), updating the shadow object.Object
ProvisioningService. executeScript(String resourceOid, ProvisioningScriptType script, Task task, OperationResult parentResult)
Executes a single provisioning script.List<ConnectorOperationalStatus>
ProvisioningService. getConnectorOperationalStatus(String resourceOid, Task task, OperationResult parentResult)
<T extends ObjectType>
PrismObject<T>ProvisioningService. getObject(Class<T> type, String oid, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Returns object for provided OID.<T extends ObjectType>
StringProvisioningService. modifyObject(Class<T> type, String oid, Collection<? extends ItemDelta<?,?>> modifications, OperationProvisioningScriptsType scripts, ProvisioningOperationOptions options, Task task, OperationResult parentResult)
Modifies object using relative change description.void
ShadowDeathListener. notify(ShadowDeathEvent event, Task task, OperationResult result)
The caller is notified about particular shadow death event.void
ResourceObjectChangeListener. notifyChange(@NotNull ResourceObjectShadowChangeDescription change, Task task, OperationResult parentResult)
Submits notification about a specific change that happened on the resource.void
ExternalResourceEventListener. notifyEvent(ExternalResourceEvent event, Task task, OperationResult parentResult)
void
ResourceOperationListener. notifyFailure(@NotNull ResourceOperationDescription operationDescription, Task task, OperationResult parentResult)
Submits notification about a failure of provisioning operation.void
ResourceOperationListener. notifyInProgress(@NotNull ResourceOperationDescription operationDescription, Task task, OperationResult parentResult)
Submits notification about provisioning operation that is in progress.void
ResourceOperationListener. notifySuccess(@NotNull ResourceOperationDescription operationDescription, Task task, OperationResult parentResult)
Submits notification about a success of a provisioning operation.void
ProvisioningService. processAsynchronousUpdates(@NotNull ResourceShadowDiscriminator shadowCoordinates, @NotNull AsyncUpdateEventHandler handler, @NotNull Task task, @NotNull OperationResult parentResult)
Processes asynchronous updates for a given resource.void
ProvisioningService. provisioningSelfTest(OperationResult parentTestResult, Task task)
Runs a short, non-destructive internal provisioning test.void
ProvisioningService. refreshShadow(PrismObject<ShadowType> shadow, ProvisioningOperationOptions options, Task task, OperationResult parentResult)
Makes sure that the shadow is in accord with the reality.<T extends ObjectType>
@NotNull SearchResultList<PrismObject<T>>ProvisioningService. searchObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Search for objects.<T extends ObjectType>
SearchResultMetadataProvisioningService. searchObjectsIterative(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, ResultHandler<T> handler, Task task, OperationResult parentResult)
Search for objects iteratively.@NotNull SynchronizationResult
ProvisioningService. synchronize(@NotNull ResourceShadowDiscriminator shadowCoordinates, LiveSyncOptions options, @NotNull LiveSyncTokenStorage tokenStorage, @NotNull LiveSyncEventHandler handler, @NotNull Task task, @NotNull OperationResult parentResult)
Collect external changes on a resource and call the business logic with the accumulated change data.OperationResult
ProvisioningService. testResource(String resourceOid, Task task)
Test the resource connection and basic resource connector functionality. -
Uses of Task in com.evolveum.midpoint.repo.common
-
Uses of Task in com.evolveum.midpoint.repo.common.activity
Methods in com.evolveum.midpoint.repo.common.activity with parameters of type Task Modifier and Type Method Description static ActivityTree
ActivityTree. create(Task rootTask, CommonTaskBeans beans)
boolean
Activity. doesTaskExecuteTreeRootActivity(Task activityTask)
@NotNull Activity<?,?>
TaskActivityManager. getActivity(Task rootTask, ActivityPath activityPath)
void
ActivityTreeStateOverview. recordTaskDead(@NotNull Task task, @NotNull OperationResult result)
Called when a task was found dead.Constructors in com.evolveum.midpoint.repo.common.activity with parameters of type Task Constructor Description ActivityTreeStateOverview(@NotNull Task rootTask, @NotNull CommonTaskBeans beans)
-
Uses of Task in com.evolveum.midpoint.repo.common.activity.definition
Methods in com.evolveum.midpoint.repo.common.activity.definition with parameters of type Task Modifier and Type Method Description static @NotNull ActivityReportingDefinition
ActivityReportingDefinition. create(@Nullable ActivityDefinitionType definitionBean, @Nullable Task task)
The task can be null for children of custom composite activities.static <WD extends AbstractWorkDefinition>
ActivityDefinition<WD>ActivityDefinition. createRoot(Task rootTask, CommonTaskBeans beans)
Creates a definition for the root activity in the task. -
Uses of Task in com.evolveum.midpoint.repo.common.activity.run
Methods in com.evolveum.midpoint.repo.common.activity.run that return Task Modifier and Type Method Description protected @NotNull Task
IterativeActivityRun. getRootTask(OperationResult result)
Methods in com.evolveum.midpoint.repo.common.activity.run with parameters of type Task Modifier and Type Method Description void
AdvancedActivityRunSupport. applyDefinitionsToQuery(@NotNull SearchSpecification<?> searchSpecification, @NotNull Task task, OperationResult result)
Applies definitions to query.void
AdvancedActivityRunSupport. checkRawAuthorization(Task task, OperationResult result)
Checks if the principal has an authorization to issue direct repo calls even if they are not required by the activity implementation. -
Uses of Task in com.evolveum.midpoint.repo.common.activity.run.distribution
Methods in com.evolveum.midpoint.repo.common.activity.run.distribution that return types with arguments of type Task Modifier and Type Method Description @NotNull List<Task>
WorkersReconciliation. getCurrentWorkers(OperationResult result)
Constructors in com.evolveum.midpoint.repo.common.activity.run.distribution with parameters of type Task Constructor Description WorkersReconciliation(@NotNull Task rootTask, @NotNull Task coordinatorTask, @NotNull ActivityPath activityPath, WorkersReconciliationOptions options, @NotNull CommonTaskBeans beans)
-
Uses of Task in com.evolveum.midpoint.repo.common.activity.run.processing
Methods in com.evolveum.midpoint.repo.common.activity.run.processing with parameters of type Task Modifier and Type Method Description C
ItemPreprocessor. preprocess(C originalItem, Task task, OperationResult result)
Pre-processes the item. -
Uses of Task in com.evolveum.midpoint.repo.common.activity.run.state
Methods in com.evolveum.midpoint.repo.common.activity.run.state that return Task Modifier and Type Method Description protected abstract @NotNull Task
ActivityState. getTask()
protected @NotNull Task
CurrentActivityState. getTask()
@NotNull Task
OtherActivityState. getTask()
Methods in com.evolveum.midpoint.repo.common.activity.run.state with parameters of type Task Modifier and Type Method Description static @NotNull ActivityState
ActivityState. getActivityStateDownwards(@NotNull ActivityPath activityPath, @NotNull Task task, @NotNull QName workStateTypeName, @NotNull CommonTaskBeans beans, OperationResult result)
Gets the state of the given activity, starting from the `task` and going downwards.static @NotNull ActivityState
ActivityState. getActivityStateUpwards(@NotNull ActivityPath activityPath, @NotNull Task task, @NotNull QName workStateTypeName, @NotNull CommonTaskBeans beans, OperationResult result)
Returns activity state for given path, crawling from the current task upwards.void
ActivityStatistics. startCollectingActionsExecuted(@NotNull Task task)
void
ActivityStatistics. startCollectingSynchronizationStatistics(@NotNull Task task, @NotNull String processingIdentifier, SynchronizationSituationType situationOnStart)
void
ActivityStatistics. stopCollectingActionsExecuted(@NotNull Task task)
void
ActivityStatistics. stopCollectingSynchronizationStatistics(@NotNull Task task, @NotNull QualifiedItemProcessingOutcomeType outcome)
Constructors in com.evolveum.midpoint.repo.common.activity.run.state with parameters of type Task Constructor Description OtherActivityState(@NotNull Task task, @NotNull TaskActivityStateType taskActivityState, @NotNull ActivityPath activityPath, @NotNull QName workStateTypeName, @NotNull CommonTaskBeans beans)
-
Uses of Task in com.evolveum.midpoint.repo.common.activity.run.state.counters
Constructors in com.evolveum.midpoint.repo.common.activity.run.state.counters with parameters of type Task Constructor Description CountersIncrementOperation(@NotNull Task task, @NotNull ItemPath counterGroupItemPath, @NotNull Collection<String> countersIdentifiers, @NotNull CommonTaskBeans beans)
-
Uses of Task in com.evolveum.midpoint.repo.common.activity.run.task
Methods in com.evolveum.midpoint.repo.common.activity.run.task that return Task Modifier and Type Method Description default Task
TaskRun. getRootTask()
Methods in com.evolveum.midpoint.repo.common.activity.run.task with parameters of type Task Modifier and Type Method Description Long
ActivityBasedTaskHandler. heartbeat(Task task)
TODO decide what to do with this method.void
ActivityBasedTaskHandler. refreshStatus(Task task)
TODO decide what to do with this method. -
Uses of Task in com.evolveum.midpoint.repo.common.commandline
Methods in com.evolveum.midpoint.repo.common.commandline with parameters of type Task Modifier and Type Method Description void
CommandLineScriptExecutor. executeScript(CommandLineScriptType scriptType, VariablesMap variables, String shortDesc, Task task, OperationResult parentResult)
-
Uses of Task in com.evolveum.midpoint.repo.common.expression
Methods in com.evolveum.midpoint.repo.common.expression that return Task Modifier and Type Method Description Task
ExpressionEvaluationContext. getTask()
Methods in com.evolveum.midpoint.repo.common.expression with parameters of type Task Modifier and Type Method Description static <V extends PrismValue,F extends FocusType>
Collection<V>ExpressionUtil. computeTargetValues(VariableBindingDefinitionType target, TypedValue defaultTargetContext, VariablesMap variables, ObjectResolver objectResolver, String contextDesc, PrismContext prismContext, Task task, OperationResult result)
static TypedValue<?>
ExpressionUtil. convertVariableValue(TypedValue<?> originalTypedValue, String variableName, ObjectResolver objectResolver, String contextDescription, ObjectVariableModeType objectVariableMode, @NotNull ValueVariableModeType valueVariableMode, PrismContext prismContext, Task task, OperationResult result)
static Expression<PrismPropertyValue<Boolean>,PrismPropertyDefinition<Boolean>>
ExpressionUtil. createCondition(ExpressionType conditionExpressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>ExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
Creates an evaluator.static PrismPropertyValue<Boolean>
ExpressionUtil. evaluateCondition(VariablesMap variables, ExpressionType expressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static boolean
ExpressionUtil. evaluateConditionDefaultFalse(VariablesMap variables, ExpressionType expressionBean, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static boolean
ExpressionUtil. evaluateConditionDefaultTrue(VariablesMap variables, ExpressionType expressionBean, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static <V extends PrismValue,D extends ItemDefinition>
VExpressionUtil. evaluateExpression(VariablesMap variables, D outputDefinition, ExpressionType expressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static <V extends PrismValue,D extends ItemDefinition>
VExpressionUtil. evaluateExpression(Collection<Source<?,?>> sources, VariablesMap variables, D outputDefinition, ExpressionType expressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static <V extends PrismValue,D extends ItemDefinition>
Collection<V>ExpressionUtil. evaluateExpressionNative(Collection<Source<?,?>> sources, VariablesMap variables, D outputDefinition, ExpressionType expressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static ObjectFilter
ExpressionUtil. evaluateFilterExpressions(ObjectFilter origFilter, VariablesMap variables, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, PrismContext prismContext, String shortDesc, Task task, OperationResult result)
static ObjectQuery
ExpressionUtil. evaluateQueryExpressions(ObjectQuery origQuery, VariablesMap variables, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, PrismContext prismContext, String shortDesc, Task task, OperationResult result)
static Collection<String>
ExpressionUtil. evaluateStringExpression(VariablesMap variables, PrismContext prismContext, ExpressionType expressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
<V extends PrismValue,D extends ItemDefinition>
Expression<V,D>ExpressionFactory. makeExpression(ExpressionType expressionType, D outputDefinition, ExpressionProfile expressionProfile, String shortDesc, Task task, OperationResult result)
<T> Expression<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
ExpressionFactory. makePropertyExpression(ExpressionType expressionType, QName outputPropertyName, ExpressionProfile expressionProfile, String shortDesc, Task task, OperationResult result)
void
Expression. parse(ExpressionFactory factory, String contextDescription, Task task, OperationResult result)
static TypedValue<?>
ExpressionUtil. resolvePathGetTypedValue(ItemPath path, VariablesMap variables, boolean normalizeValuesToDelete, TypedValue<?> defaultContext, ObjectResolver objectResolver, PrismContext prismContext, String shortDesc, Task task, OperationResult result)
static Object
ExpressionUtil. resolvePathGetValue(ItemPath path, VariablesMap variables, boolean normalizeValuesToDelete, TypedValue defaultContext, ObjectResolver objectResolver, PrismContext prismContext, String shortDesc, Task task, OperationResult result)
Constructors in com.evolveum.midpoint.repo.common.expression with parameters of type Task Constructor Description ExpressionEvaluationContext(Collection<Source<?,?>> sources, VariablesMap variables, String contextDescription, Task task)
ValueSetDefinition(ValueSetDefinitionType setDefinitionBean, D itemDefinition, PrismContainerDefinition<ValueMetadataType> valueMetadataDefinition, ExpressionProfile expressionProfile, String additionalVariableName, MappingSpecificationType mappingSpecification, String localContextDescription, String shortDesc, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.repo.common.expression.evaluator
Methods in com.evolveum.midpoint.repo.common.expression.evaluator with parameters of type Task Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>AsIsExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>LiteralExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.repo.common.query
Constructors in com.evolveum.midpoint.repo.common.query with parameters of type Task Constructor Description LinkedSelectorToFilterTranslator(@Nullable LinkedObjectSelectorType selector, @NotNull PrismReferenceValue targetObjectRef, @NotNull String contextDescription, @NotNull PrismContext prismContext, @NotNull ExpressionFactory expressionFactory, @NotNull Task task, @NotNull OperationResult result)
SelectorToFilterTranslator(@NotNull ObjectSelectorType selector, @NotNull Class<? extends ObjectType> targetType, @NotNull String contextDescription, @NotNull PrismContext prismContext, @NotNull ExpressionFactory expressionFactory, @NotNull Task task, @NotNull OperationResult result)
-
Uses of Task in com.evolveum.midpoint.repo.sqale.audit
Methods in com.evolveum.midpoint.repo.sqale.audit with parameters of type Task Modifier and Type Method Description void
SqaleAuditService. audit(AuditEventRecord record, Task task, OperationResult parentResult)
-
Uses of Task in com.evolveum.midpoint.report.api
-
Uses of Task in com.evolveum.midpoint.security.enforcer.api
Methods in com.evolveum.midpoint.security.enforcer.api with parameters of type Task Modifier and Type Method Description <O extends ObjectType,T extends ObjectType>
voidSecurityEnforcer. authorize(String operationUrl, AuthorizationPhaseType phase, AuthorizationParameters<O,T> params, OwnerResolver ownerResolver, Task task, OperationResult result)
Evaluates authorization: simply returns if the currently logged it user is authorized for a specified action.default void
SecurityEnforcer. authorizeAll(Task task, OperationResult result)
<T extends ObjectType,O extends ObjectType>
booleanSecurityEnforcer. canSearch(String[] operationUrls, AuthorizationPhaseType phase, Class<T> searchResultType, PrismObject<O> object, boolean includeSpecial, ObjectFilter filter, Task task, OperationResult result)
Question: does object make any sense here? E.g.<O extends ObjectType>
ObjectSecurityConstraintsSecurityEnforcer. compileSecurityConstraints(PrismObject<O> object, boolean fullInformationAvailable, OwnerResolver ownerResolver, Task task, OperationResult result)
<T extends ObjectType,O extends ObjectType,F>
FSecurityEnforcer. computeSecurityFilter(MidPointPrincipal principal, String[] operationUrls, AuthorizationPhaseType phase, Class<T> searchResultType, PrismObject<O> object, ObjectFilter origFilter, String limitAuthorizationAction, List<OrderConstraintsType> paramOrderConstraints, FilterGizmo<F> gizmo, Task task, OperationResult result)
<F extends FocusType>
MidPointPrincipalSecurityEnforcer. createDonorPrincipal(MidPointPrincipal attorneyPrincipal, String attorneyAuthorizationAction, PrismObject<F> donor, Task task, OperationResult result)
<O extends ObjectType,T extends ObjectType>
AccessDecisionSecurityEnforcer. decideAccess(MidPointPrincipal principal, Collection<String> requiredActions, AuthorizationParameters<O,T> params, Task task, OperationResult result)
Simple access control decision similar to that used by spring security.AccessDecision
SecurityEnforcer. decideAccess(MidPointPrincipal principal, Collection<String> requiredActions, Task task, OperationResult result)
Simple access control decision similar to that used by spring security.<O extends ObjectType,R extends AbstractRoleType>
ItemSecurityConstraintsSecurityEnforcer. getAllowedRequestAssignmentItems(MidPointPrincipal midPointPrincipal, String operationUrl, PrismObject<O> object, PrismObject<R> target, OwnerResolver ownerResolver, Task task, OperationResult result)
Returns decisions for individual items for "assign" authorization.<O extends ObjectType,T extends ObjectType>
booleanSecurityEnforcer. isAuthorized(String operationUrl, AuthorizationPhaseType phase, AuthorizationParameters<O,T> params, OwnerResolver ownerResolver, Task task, OperationResult result)
Returns true if the currently logged-in user is authorized for specified action, returns false otherwise.<T extends ObjectType,O extends ObjectType>
ObjectFilterSecurityEnforcer. preProcessObjectFilter(String[] operationUrls, AuthorizationPhaseType phase, Class<T> searchResultType, PrismObject<O> object, ObjectFilter origFilter, String limitAuthorizationAction, List<OrderConstraintsType> paramOrderConstraints, Task task, OperationResult result)
Returns a filter that applies to all the objects/targets for which the principal is authorized. -
Uses of Task in com.evolveum.midpoint.task.api
Subinterfaces of Task in com.evolveum.midpoint.task.api Modifier and Type Interface Description interface
RunningLightweightTask
Running lightweight asynchronous task.interface
RunningTask
A task that is directly used to execute the handler code.Fields in com.evolveum.midpoint.task.api declared as Task Modifier and Type Field Description @Nullable Task
ParentAndRoot. parent
@NotNull Task
ParentAndRoot. root
Methods in com.evolveum.midpoint.task.api that return Task Modifier and Type Method Description Task
Task. createSubtask()
Creates a transient subtask.default Task
TaskManager. createTaskInstance()
Creates new transient, running task instance.@NotNull Task
TaskManager. createTaskInstance(PrismObject<TaskType> taskPrism, OperationResult parentResult)
Creates task instance from the XML task representation.@NotNull Task
TaskManager. createTaskInstance(PrismObject<TaskType> taskPrism, String operationName, OperationResult parentResult)
Creates task instance from the XML task representation.Task
TaskManager. createTaskInstance(String operationName)
Creates new transient, running task instance.static Task
TaskUtil. findByIdentifier(@NotNull String identifier, @NotNull Collection<Task> tasks)
@Nullable Task
RunningTask. getParentTask()
Task
Task. getParentTask(OperationResult result)
Returns the parent task, if any.default @NotNull Task
Task. getRoot(OperationResult result)
Returns the root of the task tree for this task.@NotNull Task
RunningTask. getRootTask()
TODO EXPERIMENTALTask
StateReporter. getTask()
@NotNull Task
TaskManager. getTask(String taskOid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
TODO@NotNull Task
TaskManager. getTaskByIdentifier(String identifier, OperationResult parentResult)
Returns a task with a given identifier.@NotNull Task
TaskManager. getTaskPlain(String taskOid, OperationResult parentResult)
Returns a task with specified OID.@NotNull Task
TaskManager. getTaskPlain(String taskOid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
Gets the task simply by fetching it from repository.default Task
TaskManager. getTaskTree(String rootTaskOid, OperationResult parentResult)
@NotNull Task
TaskManager. getTaskWithResult(String taskOid, OperationResult parentResult)
Gets the task (as in getTaskPlain) but with its operation result.Methods in com.evolveum.midpoint.task.api that return types with arguments of type Task Modifier and Type Method Description static List<? extends Task>
TaskUtil. getLeafTasks(List<? extends Task> allSubtasksInTree)
List<Task>
Task. getPathToRootTask(OperationResult result)
Returns the path from this task to the task tree root.List<Task>
Task. listDependents(OperationResult result)
Lists all explicit dependents, i.e.List<? extends Task>
Task. listPrerequisiteTasks(OperationResult parentResult)
List all prerequisite tasks for the current tasks, i.e.@NotNull List<? extends Task>
Task. listSubtasks(boolean persistentOnly, OperationResult parentResult)
default @NotNull List<? extends Task>
Task. listSubtasks(OperationResult parentResult)
Lists the (direct) subtasks of a given task.List<? extends Task>
Task. listSubtasksDeeply(boolean persistentOnly, OperationResult result)
Lists all tasks in subtasks tree.List<? extends Task>
Task. listSubtasksDeeply(OperationResult result)
List all the subtasks of a given task, i.e.static Consumer<Task>
TaskDebugUtil. suspendedWithErrorCollector(List<Task> suspended)
Methods in com.evolveum.midpoint.task.api with parameters of type Task Modifier and Type Method Description RunningTask
TaskManager. createFakeRunningTask(Task task)
Use only for tests.static void
TaskDebugUtil. dumpTask(StringBuilder sb, Task task)
static String
TaskDebugUtil. dumpTaskTree(Task rootTask, OperationResult result)
static String
TaskDebugUtil. dumpTaskTree(Task rootTask, Consumer<Task> consumer, OperationResult result)
static boolean
TaskUtil. findExtensionItemValueInThisOrParent(Task task, QName path, boolean defaultValue)
static String
TaskDebugUtil. getDebugInfo(Task task)
static @NotNull ExecutionModeType
TaskUtil. getExecutionMode(Task task)
default Long
TaskHandler. heartbeat(Task task)
static boolean
TaskUtil. isDryRun(Task task)
static boolean
TaskUtil. isExecute(Task task)
static boolean
TaskUtil. isPreview(Task task)
void
TaskDeletionListener. onTaskDelete(Task task, OperationResult result)
Called when a given task is to be deleted.void
TaskListener. onTaskFinish(Task task, TaskRunResult runResult, OperationResult result)
Called when a task execution routine (i.e.void
TaskListener. onTaskStart(Task task, OperationResult result)
Called when a task execution routine (i.e.void
TaskUpdatedListener. onTaskStatusUpdated(Task task, OperationResult result)
void
TaskListener. onTaskThreadFinish(Task task, OperationResult result)
Called when task's execution thread is finishingvoid
TaskListener. onTaskThreadStart(Task task, boolean isRecovering, OperationResult result)
Called when a task's execution thread is started.default void
TaskHandler. refreshStatus(Task task)
void
TaskManager. resumeTask(Task task, OperationResult parentResult)
Resume suspended task.void
TaskManager. scheduleTaskNow(Task task, OperationResult parentResult)
Schedules a RUNNABLE task or CLOSED single-run task to be run immediately.void
StateReporter. setTask(Task task)
void
Tracer. storeTrace(Task task, OperationResult result, @Nullable OperationResult parentResult)
Stores trace to persistent storage (usually a file in "trace" directory).void
TaskManager. suspendAndCloseTaskNoException(Task task, long suspendTimeout, OperationResult parentResult)
TODOboolean
TaskManager. suspendTask(Task task, long waitTime, OperationResult parentResult)
Suspends a task.void
TaskManager. switchToBackground(Task task, OperationResult parentResult)
Switches the provided task to background, making it asynchronous.void
TaskManager. unpauseTask(Task task, OperationResult parentResult)
Puts a WAITING task back into RUNNABLE state.Method parameters in com.evolveum.midpoint.task.api with type arguments of type Task Modifier and Type Method Description static String
TaskDebugUtil. dumpTaskTree(Task rootTask, Consumer<Task> consumer, OperationResult result)
static Task
TaskUtil. findByIdentifier(@NotNull String identifier, @NotNull Collection<Task> tasks)
static ParentAndRoot
ParentAndRoot. fromPath(List<Task> pathToRoot)
static List<? extends Task>
TaskUtil. getLeafTasks(List<? extends Task> allSubtasksInTree)
static Consumer<Task>
TaskDebugUtil. suspendedWithErrorCollector(List<Task> suspended)
static List<String>
TaskUtil. tasksToOids(List<? extends Task> tasks)
Constructors in com.evolveum.midpoint.task.api with parameters of type Task Constructor Description ParentAndRoot(@Nullable Task parent, @NotNull Task root)
StateReporter(@NotNull LightweightIdentifierGenerator lightweightIdentifierGenerator, String resourceOid, Task task)
-
Uses of Task in com.evolveum.midpoint.task.api.test
Classes in com.evolveum.midpoint.task.api.test that implement Task Modifier and Type Class Description class
NullTaskImpl
DO NOT USE in production code.Fields in com.evolveum.midpoint.task.api.test declared as Task Modifier and Type Field Description static Task
NullTaskImpl. INSTANCE
Methods in com.evolveum.midpoint.task.api.test that return Task Modifier and Type Method Description Task
NullTaskImpl. createSubtask()
Task
NullTaskImpl. getParentTask(OperationResult result)
Methods in com.evolveum.midpoint.task.api.test that return types with arguments of type Task Modifier and Type Method Description List<Task>
NullTaskImpl. getPathToRootTask(OperationResult result)
List<Task>
NullTaskImpl. listDependents(OperationResult result)
List<Task>
NullTaskImpl. listPrerequisiteTasks(OperationResult parentResult)
@NotNull List<Task>
NullTaskImpl. listSubtasks(boolean persistentOnly, OperationResult parentResult)
List<Task>
NullTaskImpl. listSubtasksDeeply(boolean persistentOnly, OperationResult result)
List<? extends Task>
NullTaskImpl. listSubtasksDeeply(OperationResult result)
-
Uses of Task in com.evolveum.midpoint.wf.api
Methods in com.evolveum.midpoint.wf.api with parameters of type Task Modifier and Type Method Description void
WorkflowManager. cancelCase(String caseOid, Task task, OperationResult parentResult)
Cancels a case and its subcases.void
WorkflowManager. claimWorkItem(WorkItemId workItemId, Task task, OperationResult result)
void
WorkflowManager. completeWorkItem(WorkItemId workItemId, AbstractWorkItemOutputType output, WorkItemEventCauseInformationType causeInformation, Task task, OperationResult parentResult)
Approves or rejects a work itemvoid
WorkflowManager. delegateWorkItem(WorkItemId workItemId, WorkItemDelegationRequestType delegationRequest, Task task, OperationResult parentResult)
void
WorkflowManager. deleteCase(String caseOid, Task task, OperationResult parentResult)
Cancels and deletes a case and its subcases.ApprovalSchemaExecutionInformationType
WorkflowManager. getApprovalSchemaExecutionInformation(String caseOid, Task opTask, OperationResult parentResult)
Retrieves information about actual or expected execution of an approval schema.List<ApprovalSchemaExecutionInformationType>
WorkflowManager. getApprovalSchemaPreview(ModelContext<?> modelContext, Task opTask, OperationResult parentResult)
Retrieves information about expected approval schema and its execution.ChangesByState
WorkflowManager. getChangesByState(CaseType rootCase, ModelInteractionService modelInteractionService, PrismContext prismContext, Task task, OperationResult result)
boolean
WorkflowManager. isCurrentUserAuthorizedToDelegate(CaseWorkItemType workItem, Task task, OperationResult result)
boolean
WorkflowManager. isCurrentUserAuthorizedToSubmit(CaseWorkItemType workItem, Task task, OperationResult result)
void
WorkflowListener. onProcessInstanceEnd(CaseType aCase, Task task, OperationResult result)
This method is called by wf module when a process instance ends.void
WorkflowListener. onProcessInstanceStart(CaseType aCase, Task task, OperationResult result)
This method is called by wf module when a process instance successfully starts.void
WorkflowListener. onWorkItemAllocationChangeCurrentActors(@NotNull CaseWorkItemType workItem, @NotNull WorkItemAllocationChangeOperationInfo operationInfo, @Nullable WorkItemOperationSourceInfo sourceInfo, Duration timeBefore, CaseType aCase, Task task, OperationResult result)
EXPERIMENTALvoid
WorkflowListener. onWorkItemAllocationChangeNewActors(@NotNull CaseWorkItemType workItem, @NotNull WorkItemAllocationChangeOperationInfo operationInfo, @Nullable WorkItemOperationSourceInfo sourceInfo, CaseType aCase, Task task, OperationResult result)
void
WorkflowListener. onWorkItemCreation(ObjectReferenceType assignee, @NotNull CaseWorkItemType workItem, CaseType aCase, Task task, OperationResult result)
This method is called by wf module when a work item is created.void
WorkflowListener. onWorkItemCustomEvent(ObjectReferenceType assignee, @NotNull CaseWorkItemType workItem, @NotNull WorkItemNotificationActionType notificationAction, @Nullable WorkItemEventCauseInformationType cause, CaseType aCase, Task task, OperationResult result)
void
WorkflowListener. onWorkItemDeletion(ObjectReferenceType assignee, @NotNull CaseWorkItemType workItem, @Nullable WorkItemOperationInfo operationInfo, @Nullable WorkItemOperationSourceInfo sourceInfo, CaseType aCase, Task task, OperationResult result)
This method is called by wf module when a work item is completed.void
WorkflowManager. releaseWorkItem(WorkItemId workItemId, Task task, OperationResult result)
-
Uses of Task in com.evolveum.midpoint.wf.util
Methods in com.evolveum.midpoint.wf.util with parameters of type Task Modifier and Type Method Description String
PerformerCommentsFormatter. formatComment(@NotNull AbstractWorkItemType workItem, Task task, OperationResult result)
String
PerformerCommentsFormatter. formatComment(@NotNull WorkItemCompletionEventType event, Task task, OperationResult result)
-